xsl-list
[Top] [All Lists]

Re: Document function with Sablotron and timestamp conversion

2005-02-28 12:45:40
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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>