SaveMapData: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
This converts a set of elements in the element tree into XML. This is a format that can then be loaded as a map file. Each element represents a single XML node. | |||
==Syntax== | ==Syntax== | ||
Line 7: | Line 7: | ||
===Required Arguments=== | ===Required Arguments=== | ||
* '''node''': An existing node that should contain the contents of baseElement | * '''node''': An existing node that should contain the contents of baseElement | ||
* '''baseElement''': The first element to output to the xml tree. This element and all it's children will be output. | * '''baseElement''': The first element to output to the xml tree. This element and all it's children (and their children, etc) will be output. | ||
===Returns=== | ===Returns=== |
Revision as of 01:30, 30 May 2007
This converts a set of elements in the element tree into XML. This is a format that can then be loaded as a map file. Each element represents a single XML node.
Syntax
bool saveMapData(xmlnode node, element baseElement)
Required Arguments
- node: An existing node that should contain the contents of baseElement
- baseElement: The first element to output to the xml tree. This element and all it's children (and their children, etc) will be output.