Ignore commented out tags when read xml file using tinyxml library in c++

120 Views Asked by At

When i read xml file using c++, the commented out tags read also and i want to ignore it i.e:

<tag>-------</tag>
<tag>-------</tag>
<!--<tag>-------</tag> -->
<!--
<tag>-------</tag>
<tag>-------</tag>
<tag>-------</tag>
 -->
<tag>-------</tag>
0

There are 0 best solutions below