[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Stylesheet accessing dynamically generated XML doc

Subject: RE: Stylesheet accessing dynamically generated XML documents?
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 9 May 2002 14:10:18 +0100
servlet generates xml
Yes, if the XSLT processor supports http URLs at all (most do but it's not
mandatory), then any http URL should work. It's probably best to avoid
fragment identifiers (uri#fragment), however.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Roger L.
> Costello
> Sent: 09 May 2002 13:39
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Cc: paul@xxxxxxxxxxx; costello@xxxxxxxxx
> Subject:  Stylesheet accessing dynamically generated XML
> documents?
>
>
> 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
>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.