A
Amendra
Hi,
I am using the document.replacechild method to replace some values. But when
used, it removes the previous indentation that was in the document for that
node. Actually looks like the CRLF is being removed for some reason, any
luck.
Eg...
The original doc
<locationAdd>
<friendlyName>
<ColumnNo>2</ColumnNo>
</friendlyName>
<ColumnNo>2</ColumnNo>
<currencyCode>
<ColumnNo>2</ColumnNo>
< /currencyCode>
</locationAdd>
The replaced doc...
<locationAdd>
<friendlyName>will</friendlyName>will<currencyCode>will</currencyCode></loca
tionAdd>
I am using the document.replacechild method to replace some values. But when
used, it removes the previous indentation that was in the document for that
node. Actually looks like the CRLF is being removed for some reason, any
luck.
Eg...
The original doc
<locationAdd>
<friendlyName>
<ColumnNo>2</ColumnNo>
</friendlyName>
<ColumnNo>2</ColumnNo>
<currencyCode>
<ColumnNo>2</ColumnNo>
< /currencyCode>
</locationAdd>
The replaced doc...
<locationAdd>
<friendlyName>will</friendlyName>will<currencyCode>will</currencyCode></loca
tionAdd>