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

RE: XSLT and URI processing


resolve uri xslt
> Michael Kay wrote:
> > Between them, I think the XPath 2.0 functions base-URI() [1] and
> > resolve-URI() [2] should meet your needs. If not, please raise a 
> > comment on the document.
> > 
> > [1] http://www.w3.org/TR/xquery-operators/#func-base-uri
> > [2] http://www.w3.org/TR/xquery-operators/#func-resolve-URI
> 
> On base-URI, it says that it returns the "base URI property" 
> I'm guessing that this includes xml:base - does it?
> 
> The resolve-URI specification claims it returns "relative" on 
> an absolute URI when I think it means "$relative".

Thanks, I'll pass this correction to the editors.
> 
> I know these are rough specs, but this is pretty tricky to 
> connect to xml:base overall.

Yes, you have to be prepared to follow a few indirections:

The XPath data model [3] defines the base URI property in terms of the
[base URI] property of the InfoSet.

The InfoSet [4] says that certain information items have a base URI
property, and says that they are computed as defined in XML Base.

XML Base [5] defines how the base URI property depends on xml:base. 

[3] http://www.w3.org/TR/query-datamodel/
[4] http://www.w3.org/TR/xml-infoset/
[5] http://www.w3.org/TR/xmlbase/

Michael Kay
Software AG
home: Michael.H.Kay@n...
work: Michael.Kay@s... 


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.