|
[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 snippetDavid Lee dlee at calldei.comThu Feb 4 09:05:22 PST 2010
In your case you might want instead http://www.xqueryfunctions.com/xq/functx_path-to-node-with-pos.html ---------------------------------------------------- David A. Lee http://x-query.com/mailman/listinfo/talk http://www.calldei.com http://www.xmlsh.org -------------------------------------------------- From: "William Candillon" <http://x-query.com/mailman/listinfo/talk> Sent: Thursday, February 04, 2010 8:42 AM To: "Ricardo Queirós" <http://x-query.com/mailman/listinfo/talk> Cc: <http://x-query.com/mailman/listinfo/talk> Subject: Re: 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 >> > > _______________________________________________ > 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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








