This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Stylesheet accessing dynamically generated XML documents?
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