This method can be used to easily create fully encoded XML element strings. The method returns a string for adding an element such as:
including the trailing carriage return. You pass in a name and value and the value is encoded into the appropriate XML string.
Optionally pass in an indent for the element.
o.AddElement(lcTag, lvValue, lnIndent)
Tag to be created.
The value for the element. Value can be of any type.
Optional - Indent for thte tag.
One or more attributes that are to be added. For example: key="id1" count="10"
Allows you to override the type that is generated. A special value of 'B' can be used to specify a binary value that will be base64 Encoded (requires VFP7 or later).
See also:Class wwXML (High Level Methods)
Comment or report problem with topic