XML Schema Definition


Overview

Use a   XML Schema Definition (XSD) to define the rules, constraints and structure an XML document should adhere to.   XML Schema Definition can be used by   XML Validate actions in Actionflows to verify that each element, attribute or data type in an XML document is compliant. See XML Validate Node Properties

 Properties Tab

Basic Settings

FieldDescriptionExample Value
NameName given to the XML Schema Definition. MyXDS
NamespaceThe URI used to reference it. This should be unique within the application.http://www.w3.org/TR/html4/
Schema Definition Body

The contents of the XSD in text.

 Show example
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="
schemaLocation="atom.xsd"/>
<xs:import namespace="
schemaLocation="test2.xsd"/>
 
<xs:element name="url" type="xs:string"/>
<xs:element name="title" type="xs:string"/>
<xs:element name="link" type="xs:string"/>
<xs:element name="description" type="xs:string"/>
<xs:element name="guid">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" name="isPermaLink" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="pubDate" type="xs:string"/>
<xs:element name="image">
<xs:complexType>
<xs:sequence>
<xs:element ref="url"/>
<xs:element ref="title"/>
<xs:element ref="link"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="generator" type="xs:string"/>
<xs:element name="lastBuildDate" type="xs:string"/>
<xs:element name="copyright" type="xs:string"/>
<xs:element name="language" type="xs:string"/>
<xs:element name="ttl" type="xs:byte"/>
<xs:element name="item">
<xs:complexType>
<xs:sequence>
<xs:element ref="title"/>
<xs:element ref="description"/>
<xs:element ref="link"/>
<xs:element ref="guid"/>
<xs:element ref="pubDate"/>
<xs:element ref="mrss:thumbnail" xmlns:mrss="http://search.yahoo.com/mrss/"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="channel">
<xs:complexType>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="title"/>
<xs:element ref="description"/>
<xs:element ref="link"/>
<xs:element ref="image"/>
<xs:element ref="generator"/>
<xs:element ref="lastBuildDate"/>
<xs:element ref="atom:link" xmlns:atom="http://www.w3.org/2005/Atom"/>
<xs:element ref="copyright"/>
<xs:element ref="language"/>
<xs:element ref="ttl"/>
<xs:element ref="item"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="rss">
<xs:complexType>
<xs:sequence>
<xs:element ref="channel"/>
</xs:sequence>
<xs:attribute type="xs:float" name="version"/>
</xs:complexType>
</xs:element>
</xs:schema>


Description

We recommend that you always enter a description to explain the purpose of this item.