How can i find find position of a particular node (may be Leaf or having child tree) with respect to file start pos using with TinyXML.
For example.
<xml>
<A>uuuukkkkk</A>
<B>
adv </B>
<C>
<D> ddd d d </D>
</C>
</xml>
Here, i can find the Row/Column of the Node, ie, start position of the Node with TinyXML.
But i want "End" position(can be in row/col or text pos format) for ex. Node <C>, and it should take the count of newline and spaces and child tree etc.
Thanks
Jadeja.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
How can i find find position of a particular node (may be Leaf or having child tree) with respect to file start pos using with TinyXML.
For example.
<xml>
<A>uuuukkkkk</A>
<B>
adv </B>
<C>
<D> ddd d d </D>
</C>
</xml>
Here, i can find the Row/Column of the Node, ie, start position of the Node with TinyXML.
But i want "End" position(can be in row/col or text pos format) for ex. Node <C>, and it should take the count of newline and spaces and child tree etc.
Thanks
Jadeja.