Re: [xsl] Document function with Sablotron and timestamp conversion

Subject: Re: [xsl] Document function with Sablotron and timestamp conversion
From: "Mihir" <riffola@xxxxxxxxxxx>
Date: Mon, 28 Feb 2005 14:45:40 -0500
Turns out Sablotron the way it is enabled on my host's server doesn't
understand urls, it spits out errors when it sees the slashes in urls, I
looked at the gingerall.com archives too and read that the only way to fix
it is to use newer XSLT modules, and so I guess I will just use regex to
modify it post parsing.

Thanks for your help

-- Mihir

-----Original Message-----

Exactly: it's a CGI script, not merely a file name, and it takes a
parameter.  And the document function takes a URI.  So you need
something like

<xsl:value-of
select="document(concat('http://localhost/timeconvert.php?hex=',
                                      tivo:Details/tivo:CaptureDate)/time)"
/>

-- 
Kevin Rodgers

Current Thread