Guest_imported
New member
- Jan 1, 1970
- 0
I build an element for retrieving error information generated trying to load an XML document:
<ERROR>
<DESCRIPTION>data retireved from XML parser</DESCRIPTION>
<LINE>line number retireved from XML parser</LINE>
<TEXT>text containing XML reserved chars that represent the line that has generated the error</TEXT>
</ERROR>
The element TEXT obviously contains some reserved char present in the XML document line that has generated the error, it invalidate my full element ERROR.
The only way is to filter the text for sobstitute all the reserved XML chars?
Help me.
Many thanks.
<ERROR>
<DESCRIPTION>data retireved from XML parser</DESCRIPTION>
<LINE>line number retireved from XML parser</LINE>
<TEXT>text containing XML reserved chars that represent the line that has generated the error</TEXT>
</ERROR>
The element TEXT obviously contains some reserved char present in the XML document line that has generated the error, it invalidate my full element ERROR.
The only way is to filter the text for sobstitute all the reserved XML chars?
Help me.
Many thanks.