Hello DFDL community, My input file is a binary file.
It consists of a single byte. The byte represents an unsigned integer. The integer is an encoding of a traffic light color: 0 means red, 1 means yellow, and 2 means green. Any other value is an error. If the input is this hex byte: 00 Then the output should be this XML: <?xml version="1.0"?> <traffic-light>red</traffic-light> I just realized that this is impossible to do in DFDL. Why? Because it requires the use of a hidden group, which requires the use of <xs:sequence>. Do you agree that what I want to do cannot be done with DFDL? /Roger
