XML Encoding Rules

The least compact of the encoding rules, the XML Encoding Rules (XER), uses a textual XML format for its encodings of the form <start-tag> value <end-tag>. The XER and E-XER (Extended XER) differ in that the default encodings produced by E-XER are more suitable for exchanging information with XML Schema Definition (XSD) engines. Note that the same ASN.1 specification can be used with multiple encoding rules, which means that a PER message from a cell phone could be converted to E-XER for display and manipulation in a web browser.


Age ::= INTEGER (0..7)
firstGrade Age ::= 6
   -- <Age>6</Age>

Related Topics