xml_CommitNode
Commits (closes) current xml node with the xml tag value of the parameter.
Syntax
bool xml_CommitNode (StrParam)Parameters
String value of the xml Tag. Smart parameters are supported.Returns
Always True.Level
All.Details
This action closes the specified node, which allows a new node with the same tag to be created at the same hierarchical level in the output xml. This action can use Smart Parameters.Remember: Use of this action can change the expected order of
xml nodes as they appear in the final xml, since this action commits
the current xml to the parent xml node when it is called. Sibling
xml nodes that were not committed using this action are later committed
to the parent node when the xml_SaveFile action
is called, so those xml nodes will appear after nodes previously committed
using the xml_CommitNode action.
- Example
xml_CommitNode("LineTotal")
Line Total.