Re: xpath question

2008-12-10 Thread Shah Asrani
Thanks for the guidance. I tried walking though the built DOM tree and I can now create xpath expressions. Shah Asrani On Tue, Dec 9, 2008 at 1:37 PM, Michael Glavassevich <[EMAIL PROTECTED]> wrote: > There's no method in the API that returns an XPath, if that's what you're > asking. You would n

Re: xpath question

2008-12-09 Thread Dave Brosius
t;[EMAIL PROTECTED]> To: Sent: Tuesday, December 09, 2008 12:56 PM Subject: xpath question If I have a DOM tree available, is it possible to return the xpath string required for selected node. Shah Asrani - To unsubs

Re: xpath question

2008-12-09 Thread Michael Glavassevich
There's no method in the API that returns an XPath, if that's what you're asking. You would need to construct it yourself by walking the tree. Should be fairly simple. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] "Shah Asrani" <[E

xpath question

2008-12-09 Thread Shah Asrani
If I have a DOM tree available, is it possible to return the xpath string required for selected node. Shah Asrani - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]