I want to parse texts that appear in XML file but outside XML tags. in the attached example I would like to parse only the texts that is outside of p
tag, such as "FIELD OF THE TECHNOLOGY"
and "DETAILED DESCRIPTION OF THE TECHNOLOGY"
.
An example of my XML file is:
<description>
FIELD OF THE TECHNOLOGY
<p>The present technology is directed ....</p>
<p>The present invention is.....</p>
<p>One promising approach has ...,</p>
DETAILED DESCRIPTION OF THE TECHNOLOGY
<p>The present tech provides, ....</p>
<p>A report by Kearse et al.,...</p>
</description>