Hello DFDL community,

My input contains a field that is 32 bits. The last bit indicates the type of 
the field. If the last bit is 1, then the prior 31 bits represents an address. 
I could declare that 31-bit field like this:

<xs:element name="Hint_Name_Table_RVA" type="unsignedint31" />

The will produce XML such as this:

<Hint_Name_Table_RVA>58222</Hint_Name_Table_RVA>

Ugh!

I don't like showing an address as an unsigned integer. I prefer showing 
addresses as hex. Is there anyway to show a 31-bit field as a hex value?

/Roger

Reply via email to