2.2.2.1 ShortAttribute Record (0x04)

This structure represents an attribute without a prefix.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Name (variable)

...

Value (variable)

...

Name (variable): The name of the attribute encoded using String. The length of this String MUST be nonzero. The name MUST NOT be "xmlns".

Value (variable): The value of the attribute encoded using a text record.

For example, if name refers to the string "attr" and value refers to the text "value", this record is interpreted as the following characters.

 _attr="value"

Note that the underscore is intended to represent a single ASCII white-space character (32).