This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Including an external xml source via http


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]