The XML Schema Definition file of the configuration XML can be downloaded from this link.
With the help of the XSD file, you can validate your configuration before applying it to the MarvinSketch application. You can also find information about the usable elements and attributes in the documentation sections of the definition file.
The default configuration becomes active when no user configuration is found. If a user configuration file is in the [.]chemaxon directory inside the home directory of the user with the name "AttachDataDialog.xml" can be found, then the configuration defined in the file will be used, and the default configuration will not take effect.
Contents of the default configuration:
<?xml version="1.0" encoding="UTF-8"?>
<AttachDataDialogConfig
xmlns="AttachDataDialogConfig"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="AttachDataDialogConfig AttachDataDialogConfig.xsd ">
<context name="Atom"></context>
<context name="Bond"></context>
<context name="Single Bond"></context>
<context name="Double Bond"></context>
<context name="Fragment"></context>
<context name="Group" displayName="Group (Selection)">
<dataname textRepresentation="COEFF"/>
<dataname textRepresentation="Stoichiometry"/>
<dataname textRepresentation="[DUP]"/>
<dataname textRepresentation="REAGENT"/>
</context>
</AttachDataDialogConfig>
<?xml version="1.0" encoding="UTF-8"?>
<AttachDataDialogConfig
xmlns="AttachDataDialogConfig"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="AttachDataDialogConfig AttachDataDialogConfig.xsd ">
<context name="Atom">
<dataname textRepresentation="foo" defaultTag="f" multipleValuesEnabled="false" valueFieldEditable="false">
<value>bar1</value>
<value>bar2</value>
<value>bar3</value>
<unit>u1</unit>
<unit>u2</unit>
</dataname>
<dataname textRepresentation="foo2" multipleValuesEnabled="true">
<value>bar2</value>
<value>bar4</value>
<unit>u1</unit>
<unit>u3</unit>
</dataname>
</context>
<context name="Group" displayName="Group (Selection)" nameFieldEditable="false">
<dataname textRepresentation="foo">
<value>bar3</value>
<value>bar4</value>
<value>bar5</value>
<unit>u1</unit>
<unit>u3</unit>
<unit>u4</unit>
</dataname>
</context>
<context name="Bond"/>
<context name="Single Bond">
<dataname textRepresentation="foooo"/>
</context>
</AttachDataDialogConfig>
The result of this configuration can be seen in the dialog. With this file, the following have been configured:
foooo
name set.namedata
element is set to true, then the user can select more than one value in the Values field, otherwise, only one value can be selected.defaultTag
attribute is set for the dataname
element, and the name is selected, then the Tag field will be filled with its defaultTag. (Tag can be of a single character length, this is only checked by the GUI).