I could imagine an application which uses an XPath as a guide to generate a
document containing content which matches that XPath. Might be useful for
generating data to test an XPath evaluator.

Such capability is not available in any API or XML tool I know of.

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrgla...@ca.ibm.com
E-mail: mrgla...@apache.org

"Mukul Gandhi" <gandhi.mu...@gmail.com> wrote on 12/15/2008 10:42:36 PM:

> 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

Reply via email to