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

modifying mapping when source schema changes

Status
Not open for further replies.

ddiamond

Programmer
Apr 22, 2005
918
US
I'm using biztalk to map a source xml file to a destination xml file. It appears that whenever my source schema changes (i.e. adding an additional field), I have to delete my map and then recreate it from scratch. Is this really the case or am I missing something?
 
You could probably edit the XSLT behind the map, but the "correct" method is to apply the changed schema to the left or right side. The map engine should retain any existing mappings (provided the schema hasn't changed totally) and leave the new elements open for you to add a mapping.

I'm not at my BT machine right now but to the best of my knowledge that's the way it works. YMMV so try it on a throwaway map.

Phil Hegedusich
Senior Programmer/Analyst
IIMAK
-----------
I'll have the roast duck with the mango salsa.
 
I didn't realize Biztalk uses xslt files to create their maps. Is that the case?
 
Sorry about that. I use XSLT in some of my custom transformations. The trick is to draw it out of the test engine in Mapper. The actual XSLT is internal to the Biztalk process; I couldn't find any on the server other than what's in the SDK.

Phil Hegedusich
Senior Programmer/Analyst
IIMAK
-----------
I'll have the roast duck with the mango salsa.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top