...

View Full Version : linefeeds and tabs in XML



glenngv
06-24-2002, 11:08 AM
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!

Alex Vincent
06-25-2002, 12:23 AM
Hm. I'm not familiar with XMLDOM: can you tell me what company sponsors it?

glenngv
06-25-2002, 03:48 AM
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?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum