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

Re: most efficient way to get XML source's parent dir

Subject: Re: most efficient way to get XML source's parent dir path
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Wed, 11 Feb 2009 11:23:17 -0500
Re:  most efficient way to get XML source's parent dir
On Feb 11, 2009, at 11:02 AM, Michael Kay wrote:


Well, I tried to simplify the example. In reality, I am using the unparsed-text function which has no base-uri argument () and the resolver is provided with a full java.net.URI so I needed a way to create the correct path in the XPath. I should have been more clear.

Am I still missing something?


You should definitely be using functions like base-uri() and resolve- uri()
rather than trying to manipulate the URI "by hand".

OK - Owen, thanks for questioning what I was doing. And thanks to both you and Mike for showing me the correct way to deal with it.


best,
-Rob

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.