[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-j-dev
Subject:    Re: xpath question
From:       "Shah Asrani" <shahasrani () gmail ! com>
Date:       2008-12-10 15:31:01
Message-ID: becbfb890812100731m4f7ac06cw68d34eefd874983 () mail ! gmail ! com
[Download RAW message or body]

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
<mrglavas@ca.ibm.com> wrote:
> 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: mrglavas@ca.ibm.com
> E-mail: mrglavas@apache.org
>
> "Shah Asrani" <shahasrani@gmail.com> wrote on 12/09/2008 12:56:52 PM:
>
>
>> 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: j-users-unsubscribe@xerces.apache.org
>> For additional commands, e-mail: j-users-help@xerces.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic