EDN Admin
Well-known member
Hi,
Im reading an XML file using XmlTextReader , for each node Im querying the IXmlLineInfo for Line number and position.
When my XML file only contain spaces all reported well ,BUT when my XML file contain also tab character then the XmlTextReader reports different result from the line that only contain spaces
Any idea how to solve this issue ?
Thanks,
Oren.
e.g :
<Xml>
<xs:element name="oren"/> ------------------------------------------> This report as line position 8
<span style="white-spacere <xs:element name="oren"/> ------------------------------------------> This report as line position 2
</Xml> <hr class="sig Oren
View the full article
Im reading an XML file using XmlTextReader , for each node Im querying the IXmlLineInfo for Line number and position.
When my XML file only contain spaces all reported well ,BUT when my XML file contain also tab character then the XmlTextReader reports different result from the line that only contain spaces
Any idea how to solve this issue ?
Thanks,
Oren.
e.g :
<Xml>
<xs:element name="oren"/> ------------------------------------------> This report as line position 8
<span style="white-spacere <xs:element name="oren"/> ------------------------------------------> This report as line position 2
</Xml> <hr class="sig Oren
View the full article