I have a 4-byte, little endian integer.

Each integer denotes a shape.

For example, the integer 31 denotes the shape MultiPatch.

So, if the input file contains this value (hex for integer 31):

        1F000000

Then I want the XML to be this:

        <shapetype>MultiPatch</shapetype>

Of course, this input (lowercase F):

        1f000000

should produce the same result:

        <shapetype>MultiPatch</shapetype>

What is the best way to express this in DFDL?

/Roger

Reply via email to