Replace node value with multiple line text???
-
I need replace node value with multiple line text in a Word XML Document with ASP.net 2.0 application. I tried to use InnerText method in XMLNode object but it failed: oNode.InnerText = “Address line 1 “ & chr(13) & “ Address Line 2 “ & chr(13) & “ City, State: 12345” Output on the document: “Address line 1 Address Line 2 City, State: 12345”. I also tried the following: oNode.InnerText = “Address line 1 Address Line 2 City, State: 12345” Output on the document: “Address line 1 Address Line 2 City, State: 12345” Any help is appreciated.
-
I need replace node value with multiple line text in a Word XML Document with ASP.net 2.0 application. I tried to use InnerText method in XMLNode object but it failed: oNode.InnerText = “Address line 1 “ & chr(13) & “ Address Line 2 “ & chr(13) & “ City, State: 12345” Output on the document: “Address line 1 Address Line 2 City, State: 12345”. I also tried the following: oNode.InnerText = “Address line 1 Address Line 2 City, State: 12345” Output on the document: “Address line 1 Address Line 2 City, State: 12345” Any help is appreciated.