Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forceing creation of Empty Nodes in output.. (flat file - positional)

Status
Not open for further replies.

Nebse

Programmer
May 7, 2002
18
DK
Hello everyone ...

I have a problem: I'm trying to map an xml file to a flat positional file...

The flat file consists og 3 different positional record types and one of them - the header - contains 6 repeating fields WHO ALL NEED TO BE THERE REGARDLESS OF WETHER THERE IS INPUT FOR THEM ...

My problem is that I create a looping functoid from the input-element to each of the 6 fields ... and they are all written out fine if there happens to be 5 input elements ... if there eg. 3 they'll be output 3 times ... I need them repeated 5 times and allways 5 times ...

How do I accomplish this?? ...

I have tried setting MinOccurs="5" ... but that doesn't make BizTalk output empty elements it only generates a validation error ...

Please please HELP ... I'm VERY stuck here

Nebse, programmer

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top