[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Absolute path of a selected xml snippet

William Candillon wcandillon at gmail.com
Thu Feb 4 14:42:39 PST 2010


  Absolute path of a selected xml snippet
Hi Ricardo,

You can use the functx library that contains such functions:
http://www.xqueryfunctions.com/xq/functx_path-to-node.html.
Functx is very easy to deploy in your XQuery app since it is not bound
to a specific XQuery engine or library.

Best regards,

William

2010/2/4 Ricardo Queirós <http://x-query.com/mailman/listinfo/talk>:
> Hi to all,
> I have the following XML document in a text box:
>
> <A>
> <B> 1 </ B>
> <B> 2 </ B>
> </ A>
>
> By selecting "<B> 1 </ B>"
>
> I want to get your absolute path XPath, ie, "/A/B [1]"
> You can do this using XQuery?
> What do you advise?
> Best regards!
>
> --
> Ricardo Queirós
>
> _______________________________________________
> http://x-query.com/mailman/listinfo/talk
> http://x-query.com/mailman/listinfo/talk
>



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.