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: [email protected]
E-mail: [email protected]

"Mukul Gandhi" <[email protected]> wrote on 12/15/2008 10:42:36 PM:

> On Tue, Dec 16, 2008 at 4:15 AM, Shah Asrani <[email protected]>
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: [email protected]
> For additional commands, e-mail: [email protected]

Reply via email to