[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xml-dev] XSLT document()
- To: xml-dev@...
- Subject: RE: [xml-dev] XSLT document()
- From: "Fraser Goffin" <goffinf@...>
- Date: Sat, 29 Oct 2005 16:31:03 +0100
- Bcc:
- In-reply-to: <MC2-F26yGiP5rrgJGER000637cf@...>
Thanks, I will re-send to the xsl-list
Fraser.
>From: "Michael Kay" <mike@...>
>To: "'Fraser Goffin'" <goffinf@...>,<xml-dev@...>
>Subject: RE: [xml-dev] XSLT document()
>Date: Sat, 29 Oct 2005 15:46:31 +0100
>
> >
> > I see that in XSLT I can use the document() function BUT it
> > APPEARS that it
> > must retrieve the XML from the file system or a resolvable URI ??
> >
>
>XSLT questions are better asked on the xsl-list at mulberrytech.com.
>
>You need to supply a resolvable URI but it's implementation-defined how
>it's
>resolved, and it doesn't need to be resolved to a file in a file system.
>Java-based processors, for example, typically implement the JAXP interface
>which allows you to supply your own URI resolver, which can resolve a URI
>to
>any Source object recognized by the XSLT processor in question, for example
>a DOM or a SAX stream. It can also, of course, be a URI that requests data
>from a servlet or CGI script.
>
>Michael Kay
>http://www.saxonica.com/
>
>
|