GeekArticles
Programming
Delphi
Programming
DelphiFormat XML Data using Delphi - Properly Indent TXMLDocument XML Tags Without doNodeAutoIndent
<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>
Sponsored Links
Related Topics
Subscribe via RSS
Delphi
- A load of ASP.NET related tutorials, articles, tips and tricks!
- How to move PageControl's tabs using drag'n'drop
- Charts in database applications
- Creating Components Dynamically (at Run-Time)
- The role of the "AOwner" parameter in the Create constructor
- Creating a roll up form (with animation)
- Poll: Do you already have some experience with Delphi?
- Creating a database from Delphi code
- TMemoBar - T(Custom)Memo extender
- How to click-and-select a line in TMemo
