OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Line Breaks and formatting

[ Lists Home | Date Index | Thread Index ]

MSXML2 is actually XML3.0
Is everyone using XML4.0 these days?


-----Original Message-----
From: Eric Bohlman [mailto:ebohlman@earthlink.net]
Sent: Wednesday, July 10, 2002 7:18 PM
To: Xml-Dev; Karl Stubsjoen
Subject: Re: [xml-dev] Line Breaks and formatting

7/10/02 12:35:04 PM, "Karl Stubsjoen" <karl@excelbus.com> wrote:

>I'm using vb and the MSXML2 object model to create XML documents in code.
>I've noticed that the XML is constructed all on one line... I'd like to
>somehow insert line breaks (and possibly add other formating like tabs),
>into my XML while creating with MSXML2.  Is this possible?

You have to explicitly insert them as text nodes.  Remember that in XML, all
whitespace outside
markup is significant.

MSXML2?  Isn't that a bit old?

The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS