InlineSchema Property

Version: Available or changed with runtime version 1.0.

Specifies whether an XML schema definition should be included inside an XML document.

Applies to

  • Xml Port

Property Value

True if the XML schema definition should be included in the XML document; otherwise, false.

Syntax

InlineSchema = true;

Remarks

Inline schemas are XML schema definitions that can be included inside XML instance documents instead of importing it from an external source. Like an external schema, an inline schema can be used to verify that the XML document instance matches the schema constraints.

Inline schemas can be useful in many situations. You can use inline schemas in the following situations:

  • When the architecture uses internal DTDs, and the developers wants to preserve that design pattern.

  • When it is difficult to access external files or URLs. For example, when there are security or platform restrictions.

  • When there is so much diversity in the XML document and the schema. The document is easier to process if the schema is inside the XML document.

Properties
XMLport Data Type