xml editing with exact formatting

rajkiranjeet

New Member
I need to add atribute in some specific cases to large xml. But i must preserve exact formatting -> even if the is some inconsistency in it
e.g. \[code\]name="one"/> name = "one" /> \[/code\]or (length of indentation):\[code\] <newtag .../> <newtag ... /> <netag .../>\[/code\]Can anyone have idea how to do this? Setting preservewhitespaces in XMLDocument cause that reading some XMLNode fails (beacuse there is whitespace instead of < opening tag and the nullreferenceexception is thrown
 
Back
Top