Helpful Information
 
 
Category: XML
linefeeds and tabs in XML

I've posted this in the old forum and I found no answer so I'm posting it here...

Im appending XML elements using XMLDOM. My current code appends the elements in a single line. I want the added elements to have linefeeds and tabs. Of course when you view the XML file in IE, it will be rendered in tree view. What I want is when you open it in a text editor, the elements have linefeeds and tabs.

Is this possible?

Thanks!

Hm. I'm not familiar with XMLDOM: can you tell me what company sponsors it?

it's from Microsoft and Im using ASP.

Set objDom = server.CreateObject("Microsoft.XMLDOM")

all the properties and methods are the same with standard DOM, only slight differences.


Originally posted by Alex Vincent
Hm. I'm not familiar with XMLDOM: can you tell me what company sponsors it?










privacy (GDPR)