Subject: Stylesheet accessing dynamically generated XML documents?
From: "Roger L. Costello" <costello@xxxxxxxxx>
Date: Thu, 09 May 2002 08:39:02 -0400
|
Hi Folks,
As we know the document() function may be used to access additional XML
documents.
On the internet there are documents that are static and we may access them
by giving the URL plus filename, e.g.,
http://www.xfront.com/foo.xml
The XSLT document() function can easily access such documents:
document('http://www.xfront.com/foo.xml')
Oftentimes on the internet documents are dynamically generate (by a GCG
script, a Java servlet, etc). For example, this invocation may result in
serving up an XML document:
http://www.xfront.com/servlet/getXML
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')
This would be most cool if this could be done, and would be in line with
the stuff that Paul Prescod is talking about in the REST discussions.
/Roger
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: Identifying two tags that share some attribute names and values - XPATH 2.0 SOLUTION, (continued)
- Zack Brown - Mon, 6 May 2002 09:24:40 -0400 (EDT)
- Evan Lenz - Mon, 6 May 2002 13:49:07 -0400 (EDT)
- Wendell Piez - Wed, 8 May 2002 16:41:37 -0400 (EDT)
- Jeni Tennison - Thu, 9 May 2002 05:29:45 -0400 (EDT)
- Roger L. Costello - Thu, 9 May 2002 08:31:44 -0400 (EDT) <=
- David Carlisle - Thu, 9 May 2002 08:43:36 -0400 (EDT)
- Jeni Tennison - Thu, 9 May 2002 08:53:19 -0400 (EDT)
- Michael Kay - Thu, 9 May 2002 09:02:50 -0400 (EDT)
- Dan Holmsand - Thu, 9 May 2002 10:05:45 -0400 (EDT)
|
|