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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

More n00b questions: attribs with default values in unmapped siblings

Status
Not open for further replies.

BobDuckworth62

Programmer
Feb 15, 2005
12
GB
Hi again guys

another one that is probably very simple:

I have a simple flat structure that I am mapping to a complex structure (that is generated by the company I work for). The map populates one (and only one) record structure from a number of choices at a particular level in the schema. All other choices (siblings of that record) should not appear at all.

The map is working in that it is populating the structure that I want.

However, it is also creating one instance of each of the sibling structures... however the only data that appears in those structures are all of the required attributes that have a default value (everything else is empty).

It looks like I need an option to globally "ignore unmapped defaults" or something.

There could of course be something wrong with the XSD, but the guy who provides it denies such a possibility ;-)

Many thx again

Bob
 
OK thx again

I don't think that was exactly the problem but I was able to use a similar technique to prevent the unwanted nodes being created.

Thanks for your help!

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top