Using Document Type Definition (DTD)

Using Document Type Definition (DTD)

  • XML Element for Account – user

  • XML Element for Account Group – group

Important Notes

  • Identifying the XML Element for Account or Account Group mapping to the XML Schema:

    • It must be an XML Element

    • The XML Element type must be complexType

    • Elements of this element should not be complexType

  • Multi-valued attributes for DTD:

    • An asterisk (*) or plus sign (+) can be used to define a multi-valued attribute.

      For example:

      <attribute name>*

      Or

      <attribute name>+

      This is the same as DTD syntax to allow one or more and zero or more occurrences of an element.

  • Multi-valued attributes for XML Schema:

    • Add an Element’s attribute maxOccurs with a value greater than 1 or unbounded to make an attribute a multi-valued attribute. This is also an XML Schema Syntax to allow more than one occurrence.

  • Turning off XML validation:

    • Set the application configuration attribute xmlValidation to false.