06-27-05 12:49 PM
Hi
I'm having trouble creating an XML shema for the following delimited flat
file layout:
BOF=
MHD=1+ORDHDR
TYP=
SDT=
CDT=
FIL=
MTR=6
MHD=2+ORDER
CLO=
ORD=
DIN=
OLD=
OTR=
MTR=7
MHD=3+ORDER
CLO=
ORD=
DIN=
OLD=
OTR=
MTR=7
MHD=4+ORDTLR
OFT=
MTR=3
EOF=
I have created a schema with BOF (occurs once), ORDHDR (occurs once), ORDER
(occurs multiple), ORDTLR (occurs once) and EOF (occurs once) nodes. I am
using Tag Identifiers of XYZ= to identify records in the text file
The problem I have is that when I Validate Instance in BizTalk it gets down
to the OFT= line in the last group and fails, saying it can't find CLO= in
the ORDER node i.e. it hasn't moved onto the ORDTLR node from the ORDER node
(I think this may be because each group begins with MHD=....)
Is there any way to use the element field in the MHD= record to determine
the node in the schema? (or is there any other way to achieve this?)
Many thanks
Matt
[ Post a follow-up to this message ]
|