V
Ve
Hi,
I have two XmlDocument object. In fact this is one xml, but one is from
internet, other from data base.
I would like to compare this xml’s. I would like to check if this two
xml’s in fact is the same.
But this xml’s hava some differences like:
-empty tags can be written in two forms <tag></tag> or <tag />,
-xml’s could be created on two different strings, where ends of the line
could be written like: „\n†or „\r\nâ€,
-in tags can be html, characters like '<' and '>' can be like written
like '<' and '>',
or characters '<' and '>' can be inside the block of <![CDATA[ something
]]>
But I know, that in fact this is the same xml, with the same content.
I have this problem for a long time and I’m not able to resolve it.
Thanks for help
I have two XmlDocument object. In fact this is one xml, but one is from
internet, other from data base.
I would like to compare this xml’s. I would like to check if this two
xml’s in fact is the same.
But this xml’s hava some differences like:
-empty tags can be written in two forms <tag></tag> or <tag />,
-xml’s could be created on two different strings, where ends of the line
could be written like: „\n†or „\r\nâ€,
-in tags can be html, characters like '<' and '>' can be like written
like '<' and '>',
or characters '<' and '>' can be inside the block of <![CDATA[ something
]]>
But I know, that in fact this is the same xml, with the same content.
I have this problem for a long time and I’m not able to resolve it.
Thanks for help