Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,042
    Thanks
    0
    Thanked 250 Times in 246 Posts

    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!

  • #2
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,460
    Thanks
    1
    Thanked 23 Times in 21 Posts
    Hm. I'm not familiar with XMLDOM: can you tell me what company sponsors it?
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #3
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,042
    Thanks
    0
    Thanked 250 Times in 246 Posts
    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?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •