Name
xml.SetSerializeOptions -- set serialization options (V2.0)
Synopsis
xml.SetSerializeOptions(t)
Function
This can be used to set certain options when using the plugin through its serialization interface. The sole argument taken by this function is a table that can contain one or more of the following items:

RootNode
This can be used to set the name of the XML's root node. This is only used if the serialization mode is #XML_SERIALIZEMODE_HOLLYWOOD. It defaults to "root".

ForceLowerCase
When using the list or named serialization modes, the XML plugin will always convert all node names to lower case. If you don't want that, set this table item to False. The default value is True. This tag is ignored for the Hollywood serialization mode.

IgnoreWhiteSpace
When using the list or named serialization modes, the XML plugin will set the Text field of nodes that contain nothing but whitespace characters (e.g. space, tab, line breaks...) to an empty string. If you don't want that, set this item to False. The default value is True. This tag is ignored for the Hollywood serialization mode.

Inputs
t
table containing desired serialization options

Show TOC