Thanks to everyone involved in this disucssion.  Yes, I agree  that it
will be very difficult to handle all possible xpath expressions.  For
my case, I am looking for a solutions for simple expressions, that
will only involve elements, so expressions may look like;

/a/b/c
/a/b/d
/a/b/d

I have found one such library that seems to work for my need, may be
it can help others too.
Here is the link

http://translet.sourceforge.net/

I have no idea if this library is supporting all xpath expression, but
it definitely seems to do what is required in my case.

Shah Asrani


On Mon, Dec 15, 2008 at 10:42 PM, Mukul Gandhi <gandhi.mu...@gmail.com> wrote:
> On Tue, Dec 16, 2008 at 4:15 AM, Shah Asrani <shahasr...@gmail.com> wrote:
>> I need to create a DOM from scratch using XPath expression.
>
> I think this is not possible. A XPath expression selects a particular
> nodeset from the XML tree. It does not represent the complete tree.
>
>
> --
> Regards,
> Mukul Gandhi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
> For additional commands, e-mail: j-users-h...@xerces.apache.org
>
>

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

Reply via email to