RE: [xsl] Including an external xml source via http

Subject: RE: [xsl] Including an external xml source via http
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 18 Jul 2002 08:18:50 +0300
Hi,

> document() function.  What I am trying to do is to include an 
> external xml
> file via http.
> 
> ie, document('http://www.example.com/something.xml')
> 
> Is this at all possible?  I'm using sablotron 0.95 (via PHP) 
> and have not
> had any luck so far.  I'm telling a bit of a lie actually.  
> The external xml
> file is on the same filesystem as the xslt file and in the 
> same directory,
> but I need it to include via apache because its dynamically 
> generated by
> PHP.

That should work, if the XSLT around is ok. Have you check that Sablotron/PHP has rights to access external documents via HTTP? Can you include local files?

J

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread