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

RE: Using document()

Subject: RE: Using document()
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 9 Oct 2002 11:30:19 +0100
RE:  Using document()
> From http://www.w3.org/TR/xslt#function-document:
> If the URI reference does not contain a fragment identifier, 
> then a node-set containing just the root node of the document 
> is returned. If the URI reference does contain a fragment 
> identifier, the function returns a node-set containing the 
> nodes in the tree identified by the fragment identifier of 
> the URI reference.
> 
And it goes on to say:

* The semantics of the fragment identifier depend on the media type of
the [resource]

* The XSLT processor is not required to support any particular media
types

Which taken together, means that the XSLT processor is not required to
support fragment identifiers.

(Indeed, the XSLT processor is not required to support any particular
URI schemes, so a processor could still be conformant if it rejected all
conceivable URIs...)

However, a conformant XSLT processor is required to state in its
documentation which URI schemes and media types it supports.

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


 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.