I am reading an XML document using JavaScript and jQuery, and you need to extract some text from node to save to an array. The XML structure is as follows:
<C>
<I>
<TEXTFORMAT>
<P>
<FONT>Here the text I want</FONT>
</P>
</TEXTFORMAT>
</I>
</C>
Everything I've tried so far returns nothing, so I must not correctly reference the contents of the FONT tag.
Which XML path should I use?
source
share