Using VTD-XML to modify element text only
- by Algorist
Hi,
I want to achieve below thing in vtd-xml xml modifier class.
Original xml
<xml>
<element attr1='1' attr2='2' attr3='3'>text</element>
</xml>
int p = vn.getText()
xm.updateToken(p, "new text");
But the code here is not modifying the text to new text. Any idea how to achieve this?
Other option is to call…