platform: vb.net 1.1 (its pretty much the same for c# that's why posting it here)
input: an xml document in one line...
output: need to insert a newline after each element..
problem: try to serialize it using xmldocument.serialize (although dont' even need to call it reading the document in to it and saving does it just as well)...but get this weird string "[]"
<!DOCTYPE BatchResponse004 SYSTEM 'BatchResponse004.dtd'> is changed to
<!DOCTYPE BatchResponse004 SYSTEM "BatchResponse004.dtd"[]>
can't figure out where did this [] came from?
would appreciate any help!!!