OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] XSLT document()

[ Lists Home | Date Index | Thread Index ]

> 
> 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/






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS