|
[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 snippetRicardo Queirós ricardo.queiros at gmail.comThu Feb 4 14:16:46 PST 2010
Thanks to all! I'm using JAVA. The best approach is use XQuery API for Java (XQJ)? Thanks! On 4 February 2010 14:05, David Lee <http://x-query.com/mailman/listinfo/talk> wrote: > 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 >> >> -- Ricardo Queirós -------------- next part -------------- An HTML attachment was scrubbed... URL: http://x-query.com/pipermail/talk/attachments/20100204/d950aa14/attachment.htm
|
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








