KitchenDraw SDK 2
Show / Hide Table of Contents

Property XmlString

XmlString

The character string listing all additional key/value pairs provided for the object either via the @XmlString(...) Mobiscript keyword, or via the XmlString/XmlStringItems members of the Scene.Object class.

Declaration
public string XmlString { get; }
Property Value
Type Description
string
Remarks

This function reads the character string listing all the XmlString variables of the object.

The XmlString variables of an object may come from the catalog. They are declared in the block script while editing the catalog in MobiScript using the "@XmlString" keyword.

The XmlString variables of an object may also be set by a plugin.

Here is a block script extract that illustrates the declaration of production variables: @XmlString("Key1:=Value1|Key2:=Value2") On this example, you can see that two XmlString variables are declared: Key1 and Key2.

The content of an object @XmlString section is taken into account by the KitchenDraw software when generating the XML file.

This property could be used for example in a plugin running at the manufacturer and that would analyse the scenes received from the points of sales for production preparation.

Use XmlStringItems property to manipulate individual XmlString variables of the object. It supports modification and creation of variables along with reading.

In this article
Back to top Generated by DocFX