You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@commons.apache.org by Ross Bleakney <ro...@internationalcontent.com> on 2003/07/01 21:04:01 UTC

[JXPath] Creating New Elements with JXPath

I would like to create a new element with JXPath (even if an element
with the same name exists). If I try to use JXPathContext.createPath(),
it returns an existing element. For example, if I have the following
XML:

<form>
   <input type="text" id="existing" />
</form>

and I want to add another <input> element, how can I do this?
Thanks,
Ross




Re: [JXPath] Creating New Elements with JXPath

Posted by Stephen Colebourne <sc...@btopenworld.com>.
Try emailing
 commons-user@jakarta.apache.org
as they own jxpath.

Stephen

----- Original Message ----- 
From: "Ross Bleakney" <ro...@internationalcontent.com>
To: <ge...@commons.apache.org>
Sent: Tuesday, July 01, 2003 8:04 PM
Subject: [JXPath] Creating New Elements with JXPath


> I would like to create a new element with JXPath (even if an element
> with the same name exists). If I try to use JXPathContext.createPath(),
> it returns an existing element. For example, if I have the following
> XML:
> 
> <form>
>    <input type="text" id="existing" />
> </form>
> 
> and I want to add another <input> element, how can I do this?
> Thanks,
> Ross
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@commons.apache.org
> For additional commands, e-mail: general-help@commons.apache.org
>