Data Model
Nodes:
- element
- attribute
- text
- namespace
- processing instruction
- comment
Atomic values: single values corresponding to a XML Schema simple type:
- string
- boolean
- decimal
- integer
- double
- float
- date
- etc.
A sequence of items is also defined.
Comments are delimited by smiley faces.
(: This is a comment :)
Literals:
- integer: +/- and digits
- decimal: +/-, digits and a decimal point
- double: +/-, digits, e or E, optional decimal point
- string: delimited by ' or "
Input functions:
- doc(): reads an XML document, returning the document node
- collection(): not clear, something about a sequence