| Daniel Gelinas 2006-06-29, 7:18 pm |
| Hi all,
I have an XML file with a specific sequence that I would like to keep. I've
tried different combinasions of maps, with sequence groups and not, and I
still never get the sequence as a result. It groups all my segments together
by type, which of course messes up the result.
My schemas (both input and output are the same for that part):
....
<OBR>
<NTE>
<OBX>
<NTE>
....
Each segment can be repeated multiple times. This comes from a flat-file
schema, where a sequence might be :
OBR...
NTE...
OBX...
NTE...
NTE...
OBX...
NTE...
OBR..
OBX..
So an OBR is made up of optional notes (NTE) and OBXs, which can have their
own optional notes. Any mapping I try, I get something like :
OBR..
OBR..
NTE...
NTE...
NTE...
OBX..
OBX...
OBX..
and so on. I have yet to find a Sequence group property or arrangement that
would keep the sequence. Any hints would be most welcome !!
Thanks
Daniel
|