<p> Normal text <b> bolded </b> finish normal text </p>
Im processing that xml (example reduced) with OmniXML (but I believe the solution will apply to other XML parsers). Im traversing the xml and everytime I process a p or b tag I change some font settings etc.
The problem is that when I have a Node var pointing to the p tag and I do
Node.TextNode
it returns "Normal text bolded finish normal text" the complete text, but I want to return only the part up to the first tag (and also latter the last part); This way when y process the tag thereafter I can change the font settings, and print the bolded text..
How I can do that?