Substituting <Loop> element names from custom xsd

Sep 26, 2013 at 9:02 PM

I'm trying to create an xsd schema based on the xml output of the parser. The problem is the xml can have multiple Loop elements of different types on the same level, which is common in a lot of X12 EDI transaction sets. An xsd won't allow two elements of the same name with different types.

Is there anyway to make the outputted xml adopt different names for the <Loop> element when using a custom xsd?