Tech Tutorials Database
GeekArticles Programming Delphi
 

Format XML Data using Delphi - Properly Indent TXMLDocument XML Tags Without doNodeAutoIndent

 
Author: delphi.about.com
Category: Delphi
Comments (0)

<p>in <a :: When using the TXMLDocument to create XML documents you might receive a nasty EOleException: This operation can not be performed with a Node of type PCDATA. </p> <p>If you want the resulting XML to look - so that each element node appears on its own line, indented appropriately to reflect its nesting in the node hierarchy, you might be adding the doNodeAutoIndent flag in the Options property of the TXMLDocument instance. <p>Read the <b>full article</b> to learn how to <b><a the operation can not be performed with a Node of type when using doNodeAutoIndent</a></b></p> <p><b>Related:</b></p> <ul to Create the !DocType and ?XML Elements using TXmlDocument Delphi component</a></li> <li><a Does XML: Creating, Parsing and Manipulating XML Documents with Delphi</a></li> <li><a an XML Against a DTD Using TXMLDocument and Delphi</a></li> </ul>

Read More...




Sponsored Links




Read Next: No Access Violation For Me - Return a Property Value From a Nil Delphi Object



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe