Adds a linebreak at the end of the node content followed by optional indentation on the next line. Use this if you add nodes to a document and you want to maintain formatting.
o.AddComLineBreak(loNode,lnIndent)
Parameters
loNode
The node into which to add the line break. The line break is inserted at the end of the node's content.
lnIndent
The indent to apply to the line following the indent. If not passed the default is 0.
Remarks
Requires that the .oXml property is set with a DOM instance. Either load with Load, LoadXml, LoadUrl or assign the DOM instance to .oXml prior to calling this method.
See also:
Class wwXML© West Wind Technologies, 1996-2024 • Updated: 11/08/18
Comment or report problem with topic