This example file, a modified fragment of the survey meter/PRD example
(PRD/Survey Meter), shows the use of an element
not defined in this Standard. In this example, the instrument's HV setting is
recorded. Two changes have been made in the <N42InstrumentData> element:
- A custom namespace, "PRDsRUs" is defined; this namespace is used
to denote the "HV" element, which is not defined in the
Standard.
- An XML Schema file, "PRDSchema.xsd," is associated with that
namespace for use in file validation. This is optional.
The custom <PRDsRUs:HV> element is then included at the end of the
<InstrumentInformation> child elements. Note that within a parent
element, elements not defined in this Standard appear after all elements
defined by this Standard; for example, placing the <PRDsRUs:HV> element
before the <InstrumentID> element would be invalid.
PRD file with custom data
The following XML Schema file ("PRDSchema.xsd"), could be used to
validate the custom element.
XML Schema defining custom data
|