Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


IXMLDOMDocument::Save() with line breaks and indenting?

From: Boris Bovduy
To: NULL
Date: 10/21/2009 7:09:00 AM
Hello!

I had same problem with IXMLDOMDocument. It saves xml in huge line.
I found sample that it creates and saves xml document correctly with line breaks and indents.
http://msdn.microsoft.com/en-us/library/ms766497(VS.85).aspx
I used this code and that solved my problem.

Hope, it will helpful for you.



Cartoper wrote:

IXMLDOMDocument::Save() with line breaks and indenting?
30-???-08

How do you use MSXML2::IXMLDOMDocument::save() to include line break
and indents?

Previous Posts In This Thread:

On 29 ???? 2008 ?. 7:20
Martin Honnen wrote:

Re: IXMLDOMDocument::Save() with line breaks and indenting?
Cartoper wrote

I do not think you can get the save method to indent. What you can d
however is run an XSLT transformation to create an indentend document
then save that
The XSLT stylesheet to do

On 30 ???? 2008 ?. 20:31
Cartoper wrote:

IXMLDOMDocument::Save() with line breaks and indenting?
How do you use MSXML2::IXMLDOMDocument::save() to include line break
and indents?

On 2 ???? 2008 ?. 6:50
Sam Hobbs wrote:

A few months ago I asked a similar question and got a similar answer.
A few months ago I asked a similar question and got a similar answer. 
do not remember if there was more information in that thread but I kno
someone suggested use of a separate utility to reformat

EggHeadCafe - Software Developer Portal of Choice 
How To Create a Custom IE8 Accelerator
http://www.eggheadcafe.com/tutorials/aspnet/8ae07577-f1c5-498b-a7da-11c3e7cc2a61/how-to-create-a-custom-ie.aspx


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent