Re: [xsl] Stylesheet accessing dynamically generated XML documents?

Subject: Re: [xsl] Stylesheet accessing dynamically generated XML documents?
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Thu, 9 May 2002 13:59:38 +0100
Hi Roger,

> I have two questions:
>
> 1. Can I pass to the document() function a URL of a web site that
> dynamically generates XML, e.g.,
>
>     document('http://www.xfront.com/servlet/getXML')
>
> 2. Extending upon 1, can I additionally pass arguments to the Web site,
> e.g.,
>
>      document('http://www.xfront.com/servlet/getXML?arg1=a&arg2=b')

Of course. The first argument to the document function is a URI -- not
a filename, not even a URL. If you use the HTTP scheme in your URI
then the processor should use the HTTP protocol to retrieve the
resource. Whatever resource is retrieved using that URI will be
interpreted as an XML document.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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


Current Thread