Primitives
This describes the primitives that are allowed in RegsML.
RegText
Regulation text is a mixed element that can contain:
- Regular text,
- references, and
- definitions.
View schema code
<complexType name="RegText" mixed="true">
<choice minOccurs="0" maxOccurs="unbounded">
<element ref="tns:ref"></element>
<element ref="tns:def"></element>
</choice>
</complexType>
paragraph
The paragraph element can contain the following:
- At most 1 paragraph title.
- One content tag that contains regtext.
- Possibly any number of subparagraphs.
In addition, the paragraph element contains the following attributes:
marker
, which defines the marker that is placed in the beginning of the paragraphlabel
, which defines the unique tag that identifies the paragraph.
<paragraph marker="a">
<title>Mortgages with adjustable rates or finance charges and home equity lines of credit.</title>
<content>
...
</content>
</paragraph>
View schema code
<complexType name="Paragraph">
<sequence>
<choice minOccurs="0" maxOccurs="1">
<element name="title" type="string"></element>
</choice>
<element name="content" type="tns:RegText"></element>
<element ref="tns:paragraph" minOccurs="0" maxOccurs="unbounded"></element>
</sequence>
<attribute name="marker" type="string" use="required"></attribute>
<attribute name="label" type="string"></attribute>
</complexType>
reference
The reference
element supports referencing any other element with a label attribute. The reference
element has the following attributes:
target
, the element being referenced.reftype
, the type of reference (internal or external)
View schema code
<complexType name="Reference">
<simpleContent>
<extension base="string">
<attribute name="target" type="string"></attribute>
<attribute name="reftype" type="string"></attribute>
</extension>
</simpleContent>
</complexType>
definition
The definition
element supports defined terms within the text. The definition
has the following attributes:
id
, a unique idterm
, the actual term being defined within this tag
<complexType name="Definition">
<simpleContent>
<extension base="string">
<attribute name="id" type="string" use="optional"></attribute>
<attribute name="term" type="string" use="required"></attribute>
</extension>
</simpleContent>
</complexType>