xerces-c-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RitikaP <ritika.pa...@gmail.com>
Subject Need to Filter out white Spaces using isEqualNode API
Date Thu, 08 Sep 2011 06:12:56 GMT


I am new to xerces and am struggling with this problem since a day but no
help found anywhere so far.
I require to compare two DOM nodes and check whether their contents are same
or not.
I used the isEqualNode function but it works fine only if the two nodes are
same in terms of content and also white space but for difference in only
white spaces it returns unequal.

Node1->isEqualNode(Node2) : Returns False for Nodes as below


<BBB>Content of B</BBB>


         <BBB>Content of B</BBB>

Please could anyone aan anyone help me with this as it is extremely urgent
for me.


View this message in context: http://old.nabble.com/Need-to-Filter-out-white-Spaces-using-isEqualNode-API-tp32421264p32421264.html
Sent from the Xerces - C - Users mailing list archive at Nabble.com.

View raw message