Is there a way to seek a specific location in an xml by knowing the index relative to the text nodes

Posted by Rachel on Stack Overflow See other posts from Stack Overflow or by Rachel
Published on 2010-04-03T18:29:51Z Indexed on 2010/04/03 18:33 UTC
Read the original article Hit count: 372

Filed under:
|
|

I have a xml document. I know the index where i need to insert the new node. The index that i have is the position considering only the text nodes and ignoring the element tags. Is there a java api to seek the index in a xml knowing the position relative to the text nodes alone and insert a new node in that position?

© Stack Overflow or respective owner

Related posts about Xml

Related posts about xslt