[studxml-users] Escape sequences support

Ramisés Martins da Silva ramises.silva at kryptus.com
Fri Jun 2 12:14:20 EDT 2017


Hi,

I'm currently trying to parse a xml file that has a nested xml file with
tag delimiters written as escape sequences, to be more clear:

<root>
  <camp1>..</camp1>
  <camp2>..</camp2>
  ....
  <xmlcamp>
    &lt; ncamp1 &gt; data1 &lt; /ncamp1 &gt;
    &lt; ncamp2 &gt; data2 &lt; /ncamp2 &gt;
    ...
  </xmlcamp>
  ...
</>

I'm parsing this by passing the whole xmlcamp element into another file so
the compiler transforms &lt; and &gt; into < and >, so I can actually
extract the data I need by creating another parser. My question is:
is there a way to parse the original xml by telling the parser to interpret
the escape sequences as delimiters?

-- 
*Ramisés Martins*


More information about the studxml-users mailing list