2,732
edits
Red Leader (talk | contribs) (→write_properties(): Finish doc) |
Red Leader (talk | contribs) (→Functions: Start writexml() doc) |
||
Line 390: | Line 390: | ||
=== writexml() === | === writexml() === | ||
Writes a property tree as returned by readxml() to a file. Children | {{Nasal doc | ||
with name starting with <prefix> are again turned into attributes of | |syntax = io.basename(path, node[, indent[, prefix]]); | ||
their parent. <node> must contain exactly one child, which will | |text = Writes a property tree as returned by readxml() to a file. Children with name starting with <prefix> are again turned into attributes of | ||
become the XML file's outermost element. | their parent. <node> must contain exactly one child, which will become the XML file's outermost element. | ||
|param1 = path | |||
|param1text = Path to the file as a string. | |||
|param2 = node | |||
|param2text = | |||
|param3 = indent | |||
|param3text = | |||
|param4 = prefix | |||
|param4text = | |||
|example1 = | |||
}} | |||
== Variables == | == Variables == |