Element |
Also known as a "tag", which is
anything inside a XML file encapsulated by <
and >
characters. For example a processor element in XML would appear
as <processor>. Whatever data is contained
within the
processor element would be encapsulated by the start tag <processor> and end tag </processor>. Elements that
contain no data can be written as <processor></processor>
or in short hand <processor/>. |
|
|
Attribute |
Defines the property of an
element. Continuing with the example of the processor element, a
processor could have a name of "p1" and a multiplicity of 3. This
would be shown in XML by: <processor name="p1" multiplicity="3">
where name and multiplicity are attributes of the element processor. |
|
|
XML schema |
Is a standard which defines
rules by which an XML file must follow in order to be VALID. When
a XML parser reads in a XML file, it may have the ability to validate
the XML file against the XML schema. More information about XML schemas
can be found in [1] or other books and/or sources on the WWW. |
|
|
Constraint
checking |
Part of the XML schema standard
to allow powerful error checking on a XML file. The two
constraints defined in the XML schema standard are to ensure uniqueness
across a specified element and/or attributes, and ensure references
made to other parts of an XML file exist. |