commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Bleakney <ro...@internationalcontent.com>
Subject Creating new element with JXPath
Date Tue, 01 Jul 2003 18:29:33 GMT
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




Mime
View raw message