[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Stylesheet accessing dynamically generated XML doc
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|