<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>BizTalk Messages &#187; Uncategorized</title>
	<atom:link href="http://biztalkmessages.vansplunteren.net/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://biztalkmessages.vansplunteren.net</link>
	<description>Randal van Splunteren&#039;s experiences with BizTalk Server and other MS technologies.</description>
	<lastBuildDate>Tue, 07 Feb 2012 08:01:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='biztalkmessages.vansplunteren.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>BizTalk Messages &#187; Uncategorized</title>
		<link>http://biztalkmessages.vansplunteren.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://biztalkmessages.vansplunteren.net/osd.xml" title="BizTalk Messages" />
	<atom:link rel='hub' href='http://biztalkmessages.vansplunteren.net/?pushpress=hub'/>
		<item>
		<title>BizTalk Server MVP 2012</title>
		<link>http://biztalkmessages.vansplunteren.net/2012/01/02/biztalk-server-mvp-2012/</link>
		<comments>http://biztalkmessages.vansplunteren.net/2012/01/02/biztalk-server-mvp-2012/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 11:03:22 +0000</pubDate>
		<dc:creator>Randal van Splunteren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://biztalkmessages.vansplunteren.net/?p=917</guid>
		<description><![CDATA[Great news for me. Yesterday I received an e-mail from Microsoft telling me that I’ve been re-awarded the MVP title. I would like to thank: &#8211; my MVP leads William Jansen and Jacqueline de Jong  &#8211; other Microsoft employees involved &#8211; people at Aviva Solutions &#8211; and finally many thanks to Ivanka for her support [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=917&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Great news for me. Yesterday I received an e-mail from Microsoft telling me that I’ve been re-awarded the MVP title.</p>
<p>I would like to thank: &#8211; my MVP leads William Jansen and Jacqueline de Jong  &#8211; other Microsoft employees involved &#8211; people at Aviva Solutions &#8211; and finally many thanks to Ivanka for her support and patience</p>
<p>I’m looking forward to another great year!</p>
<p>Happy new year everyone!</p>
<p><a href="http://biztalkmessages.files.wordpress.com/2012/01/mvp_horizontal_fullcolor.png"><img class="alignnone size-medium wp-image-918" title="MVP_Horizontal_FullColor" src="http://biztalkmessages.files.wordpress.com/2012/01/mvp_horizontal_fullcolor.png?w=300&#038;h=121" alt="" width="300" height="121" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalkmessages.wordpress.com/917/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalkmessages.wordpress.com/917/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalkmessages.wordpress.com/917/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalkmessages.wordpress.com/917/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/biztalkmessages.wordpress.com/917/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/biztalkmessages.wordpress.com/917/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/biztalkmessages.wordpress.com/917/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/biztalkmessages.wordpress.com/917/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalkmessages.wordpress.com/917/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalkmessages.wordpress.com/917/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalkmessages.wordpress.com/917/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalkmessages.wordpress.com/917/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalkmessages.wordpress.com/917/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalkmessages.wordpress.com/917/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=917&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biztalkmessages.vansplunteren.net/2012/01/02/biztalk-server-mvp-2012/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">biztalkmessages</media:title>
		</media:content>

		<media:content url="http://biztalkmessages.files.wordpress.com/2012/01/mvp_horizontal_fullcolor.png?w=300" medium="image">
			<media:title type="html">MVP_Horizontal_FullColor</media:title>
		</media:content>
	</item>
		<item>
		<title>BizTalk Host Manager (nothing new :-()</title>
		<link>http://biztalkmessages.vansplunteren.net/2008/08/07/biztalk-host-manager-nothing-new/</link>
		<comments>http://biztalkmessages.vansplunteren.net/2008/08/07/biztalk-host-manager-nothing-new/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 06:37:43 +0000</pubDate>
		<dc:creator>Randal van Splunteren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[BizTalk tools]]></category>

		<guid isPermaLink="false">http://biztalkmessages.wordpress.com/?p=37</guid>
		<description><![CDATA[In 2005 I wrote a small tool called BizTalk Host Manager. This tool lets you quickly restart a host instance from the system tray. It is useful in scenarios where you have do to a lot of host restarts like developing (GAC newly build BTS assembly and restart host), debugging or performance testing. Although it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=37&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In 2005 I wrote a small tool called BizTalk Host Manager. This tool lets you quickly restart a host instance from the system tray. It is useful in scenarios where you have do to a lot of host restarts like developing (GAC newly build BTS assembly and restart host), debugging or performance testing.</p>
<p>Although it was written for BizTalk Server 2004 (.Net v1.1) it also works for BizTalk Server 2006 R1 and R2.</p>
<p>Apparently some people still use it because now and than I receive questions from people asking where it can be downloaded. Because I am not sure if it is still available from the old location, I&#8217;ll put it on my skydrive <a href="http://cid-2b880e94db699632.skydrive.live.com/self.aspx/BTSHostManager2004/BTSHostManager2004.msi">here</a>.</p>
<p>I&#8217;m currently working on a new version of the tool. I hope to have it finished soon.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/biztalkmessages.wordpress.com/37/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/biztalkmessages.wordpress.com/37/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalkmessages.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalkmessages.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalkmessages.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalkmessages.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/biztalkmessages.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/biztalkmessages.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/biztalkmessages.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/biztalkmessages.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalkmessages.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalkmessages.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalkmessages.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalkmessages.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalkmessages.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalkmessages.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=37&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biztalkmessages.vansplunteren.net/2008/08/07/biztalk-host-manager-nothing-new/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">biztalkmessages</media:title>
		</media:content>
	</item>
		<item>
		<title>Debugging the disappearing SQL Add Adapter metadata wizard</title>
		<link>http://biztalkmessages.vansplunteren.net/2008/07/28/debugging-the-disappearing-sql-add-adapter-metadata-wizard/</link>
		<comments>http://biztalkmessages.vansplunteren.net/2008/07/28/debugging-the-disappearing-sql-add-adapter-metadata-wizard/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 13:57:59 +0000</pubDate>
		<dc:creator>Randal van Splunteren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[SQL Adapter]]></category>

		<guid isPermaLink="false">http://biztalkmessages.wordpress.com/?p=24</guid>
		<description><![CDATA[This afternoon I encountered a very annoying problem. I wanted to generate a schema with the add adapter metadata wizard to use with the SQL adapter. Normally the wizard shows a couple of screens in which you have to enter information and at the end (after pressing finish button) you&#8217;ll get a generated XSD. On my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=24&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This afternoon I encountered a very annoying problem. I wanted to generate a schema with the add adapter metadata wizard to use with the SQL adapter. Normally the wizard shows a couple of screens in which you have to enter information and at the end (after pressing finish button) you&#8217;ll get a generated XSD. On my dev box when I was half way in the wizard I pressed next and &#8230;&#8230; nothing &#8230;&#8230; the Wizard just disappeared. No error in the eventlog, no error in Visual Studio.</p>
<p>While googling for a solution to this problem I found a number of people having exactly the same problem. Besides re-installing the entire machine there is no real solution mentioned. Because I didn&#8217;t want to reinstall my machine and because I think there are different causes for this problem I decided to take the hard way. Below is a description of the steps I took to save myself a lot of time:</p>
<p>I started by looking for the SQL Adapter binaries. No rocket science is needed to find out that those are located inside the &#8216;Microsoft.BizTalk.Adapter.SQLAdmin.dll&#8217; assembly. This assembly can be found in the BizTalk installation folder.<br />
The next step is to use <a href="http://www.aisto.com/roeder/dotnet">Reflector</a> together with <a href="http://www.denisbauer.com/NETTools/FileDisassembler.aspx">Reflector FileDisassembler AddIn</a> to &#8216;extract&#8217; the source code of the wizard.<br />
After fixing some references and other minor things I was able to recompile the .dll.<br />
Next thing is to tell Visual Studio debugger to break on all exceptions instead of having the code handle them.  (You can do this in the dialog which appears by pressing CTRL-ALT-E in Visual Studio).<br />
By starting a new Visual Studio instance and attaching the other one (with the extraced source) to it I was able to debug the wizard.<br />
When I reached the point where the wizard was disappearing before I now got an exception telling me exactly what was wrong (see picture below). </p>
<div class="mceTemp">
<div id="attachment_30" class="wp-caption alignnone" style="width: 460px"><a href="http://biztalkmessages.files.wordpress.com/2008/07/capture.jpg"><img class="size-full wp-image-30" src="http://biztalkmessages.files.wordpress.com/2008/07/capture.jpg?w=450&#038;h=358" alt="SQL Adapter FileNotFoundException" width="450" height="358" /></a><p class="wp-caption-text">SQL Adapter FileNotFoundException</p></div>
</div>
<p>It turned out the installation of MSXML on my box was wrong/corrupted. I got a FileNotFoundException which basically told me that I had to (re)install MSXML. After reinstalling MSXML and throwing away the decompiled source (to keep MS people happy <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> ) the wizard was working OK.</p>
<p>I was very happy that I reduced completely reinstalling the BTS box to just reinstalling MSXML.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/biztalkmessages.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/biztalkmessages.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalkmessages.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalkmessages.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalkmessages.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalkmessages.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/biztalkmessages.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/biztalkmessages.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/biztalkmessages.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/biztalkmessages.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalkmessages.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalkmessages.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalkmessages.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalkmessages.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalkmessages.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalkmessages.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=24&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biztalkmessages.vansplunteren.net/2008/07/28/debugging-the-disappearing-sql-add-adapter-metadata-wizard/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">biztalkmessages</media:title>
		</media:content>

		<media:content url="http://biztalkmessages.files.wordpress.com/2008/07/capture.jpg" medium="image">
			<media:title type="html">SQL Adapter FileNotFoundException</media:title>
		</media:content>
	</item>
		<item>
		<title>Create message instance from multiroot XSD using DocumentSpec</title>
		<link>http://biztalkmessages.vansplunteren.net/2008/06/19/create-message-instance-from-multiroot-xsd-using-documentspec/</link>
		<comments>http://biztalkmessages.vansplunteren.net/2008/06/19/create-message-instance-from-multiroot-xsd-using-documentspec/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 08:48:31 +0000</pubDate>
		<dc:creator>Randal van Splunteren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BizTalk]]></category>

		<guid isPermaLink="false">http://biztalkmessages.wordpress.com/?p=22</guid>
		<description><![CDATA[Sometimes you&#8217;re in a situation where you need to create a message from scratch. Yossi Dahan wrote an excellent blog post on this topic. As shown by this post there are a number of options to achieve this.     One option is to use the undocumented BizTalk Document Specification (DocumentSpec) API. Although this way of creating [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=22&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:#000000;"><span style="font-family:Verdana;"><a href="http://biztalkmessages.files.wordpress.com/2008/06/docspecexception.png"></a>Sometimes you&#8217;re in a situation where you need to create a message from scratch. Yossi Dahan wrote an excellent blog post on this </span><a href="http://www.sabratech.co.uk/blogs/yossidahan/2008/03/creating-message-from-scratch.html" target="_blank"><span style="font-family:Verdana;">topic</span></a><span style="font-family:Verdana;">. As shown by this post there are a number of options to achieve this.</span></span></p>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:#000000;"><span style="font-family:Verdana;">One option is to use the undocumented BizTalk Document Specification (DocumentSpec) API. Although this way of creating a message has some obvious disadvantages (see also comments to Yossi&#8217;s blogpost) it can be the best option in certain specific situations.</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:#000000;"><span style="font-family:Verdana;">On of the things you need to do to create a message instance is to create a new instance of the DocSpec class. The constructor of the DocumentSpec class takes the .Net/BizTalk schema type name and the assembly display name that contains the schema as parameters. The code should look something like this:</span></span></p>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"> </p>
<div style="border:windowtext 1pt solid;padding:1pt 4pt;">
<p class="MsoNormal" style="margin:0;padding:0;"><span style="font-family:Verdana;"><span style="font-size:10pt;color:#0000ff;">string</span><span style="font-size:10pt;color:#000000;"> assemblyDisplayName = </span><span style="font-size:10pt;color:#a31515;">&#8220;TestSchema, Version=1.0.0.0, Culture=neutral, publicKeyToken=xxxxxxxxxxxxxxxx&#8221;</span><span style="font-size:10pt;color:#000000;">;  </span></span></p>
<p class="MsoNormal" style="margin:0;padding:0;"><span style="font-family:Verdana;"><span style="font-size:10pt;color:#0000ff;">string</span><span style="font-size:10pt;color:#000000;"> schemaName = </span><span style="font-size:10pt;color:#a31515;">&#8220;TestSchema.MyTestSchema&#8221;</span><span style="font-size:10pt;color:#000000;">; </span></span></p>
<p class="MsoNormal" style="margin:0;padding:0;"><span style="font-family:Verdana;"><span style="font-size:10pt;color:#2b91af;">DocumentSpec </span><span style="font-size:10pt;color:#000000;">docSpec</span><span style="font-size:7.5pt;color:#000000;"> = </span><span style="font-size:10pt;color:#0000ff;">new </span><span style="font-size:10pt;color:#2b91af;">DocumentSpec</span><span style="font-size:10pt;color:#000000;">(schemaName, assemblyDisplayName);</span></span></p>
</div>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:#000000;"><span style="font-family:Verdana;">This code works fine for single root schemas but you&#8217;ll get an error of you try this for a multiroot schema (an xsd that has multiple root nodes):</span></span></p>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:7.5pt;color:#000000;"> <span style="font-size:10pt;color:#000000;"><span style="font-family:Verdana;"><a href="http://biztalkmessages.files.wordpress.com/2008/06/docspecexception.png"><img class="alignnone size-full wp-image-23" src="http://biztalkmessages.files.wordpress.com/2008/06/docspecexception.png?w=450" alt=""   /></a></span></span></span></p>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:#000000;"><span style="font-family:Verdana;">So how can I make this code work for multi root schemas? It took me a while to find out but the solution is simple. Just add the name of the root node of the message you want to create preceeded by a &#8216;+&#8217; sign:</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:7.5pt;color:#000000;"><span style="font-family:Verdana;"> </span></span></p>
<div style="border:windowtext 1pt solid;padding:1pt 4pt;">
<p class="MsoNormal" style="margin:0;padding:0;"><span style="font-family:Verdana;"><span style="font-size:10pt;color:#0000ff;">string </span><span style="font-size:10pt;color:#000000;">assemblyDisplayName =</span><span style="font-size:10pt;color:#0000ff;"> </span><span style="font-size:10pt;color:#a31515;">&#8220;TestSchema, Version=1.0.0.0, Culture=neutral, publicKeyToken=xxxxxxxxxxxxxxxx&#8221;</span><span style="font-size:10pt;color:#0000ff;">;  </span></span></p>
<p class="MsoNormal" style="margin:0;padding:0;"><span style="font-size:7.5pt;color:#000000;"><span style="font-family:Verdana;"> </span></span></p>
<p class="MsoNormal" style="margin:0;padding:0;"><span style="font-family:Verdana;"><span style="font-size:10pt;color:#0000ff;">string </span><span style="font-size:10pt;color:#000000;">schemaName =</span><span style="font-size:10pt;color:#0000ff;"> </span><span style="font-size:10pt;color:#a31515;">&#8220;TestSchema.MyTestSchema</span><strong><span style="font-size:10pt;color:#a31515;">+myRootNode1</span></strong><span style="font-size:10pt;color:#a31515;">&#8220;</span><span style="font-size:10pt;color:#0000ff;">; </span></span></p>
<p class="MsoNormal" style="margin:0;padding:0;"><span style="font-size:10pt;color:#0000ff;"><span style="font-family:Verdana;"> </span></span></p>
<p class="MsoNormal" style="margin:0;padding:0;"><span style="font-family:Verdana;"><span style="font-size:10pt;color:#2b91af;">DocumentSpec </span><span style="font-size:10pt;">docSpec<span style="color:#0000ff;"> = new </span><span style="color:#2b91af;">DocumentSpec</span><span style="color:#000000;">(schemaName, assemblyDisplayName);</span><span style="color:#0000ff;"> </span></span></span></p>
</div>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Verdana;"><span style="font-size:10pt;color:#000000;">This will provide the DocumentSpec class with all the information needed to create a message instance.</span><span style="font-size:10pt;color:#0000ff;"> </span></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/biztalkmessages.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/biztalkmessages.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalkmessages.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalkmessages.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalkmessages.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalkmessages.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/biztalkmessages.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/biztalkmessages.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/biztalkmessages.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/biztalkmessages.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalkmessages.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalkmessages.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalkmessages.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalkmessages.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalkmessages.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalkmessages.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=22&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biztalkmessages.vansplunteren.net/2008/06/19/create-message-instance-from-multiroot-xsd-using-documentspec/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">biztalkmessages</media:title>
		</media:content>

		<media:content url="http://biztalkmessages.files.wordpress.com/2008/06/docspecexception.png" medium="image" />
	</item>
		<item>
		<title>Call Rules Shape, Atomic Transactions and the Orchestration Designer</title>
		<link>http://biztalkmessages.vansplunteren.net/2008/06/13/call-rules-shape-atomic-transactions-and-the-orchestration-designer/</link>
		<comments>http://biztalkmessages.vansplunteren.net/2008/06/13/call-rules-shape-atomic-transactions-and-the-orchestration-designer/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 06:25:08 +0000</pubDate>
		<dc:creator>Randal van Splunteren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[Orchestrations]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://biztalkmessages.wordpress.com/?p=16</guid>
		<description><![CDATA[One of the nice improvements in BizTalk 2006 R1 (BTS2k6R1) and higher is that you don’t need to use an atomic transaction scope around the “Call Rules” shape. I guess the reason for this is that classes used internally by the Business Rules Engine are now serializable while they were not in previous release.   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=16&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div><a href="http://biztalkmessages.files.wordpress.com/2008/06/orchestration-designer-context-menu.jpg"></a>One of the nice improvements in BizTalk 2006 R1 (BTS2k6R1) and higher is that you don’t need to use an atomic transaction scope around the “Call Rules” shape. I guess the reason for this is that classes used internally by the Business Rules Engine are now serializable while they were not in previous release.</div>
<div> </div>
<div>Recently the orchestration designer in Visual Studio almost got me. I wanted to use a “Call Rules” shape en saw to my surprise that the shape was grayed out in the shape context menu. This is menu you get when you right click somewhere in the orchestration designer surface.</div>
<div><img class="aligncenter size-full wp-image-17" src="http://biztalkmessages.files.wordpress.com/2008/06/orchestration-designer-context-menu.jpg?w=450" alt=""   /></div>
<div>What was going on here? Was I wrong? Was it wishful thinking? Did this new feature only exist in my head? Do I still have to use the atomic transaction scope in my orchestrations? Because Visual Studio is always right and I’m always wrong I was about to add the scope to my orchestration.</div>
<div> </div>
<div>Because I still felt a little bit disappointed I decided to have a quick look in the BTS2k6r1 help file. Nothing special was mentioned in the topic “How to Use the Call Rules Shape” however. Still curious I also looked at the same topic in the BTS2k6r2 help file. To my surprise the topic is updated and contains the following note:  </div>
<div> </div>
<div><em>In BizTalk Server 2004, you can insert a Call Rules shape within an orchestration or a Scope shape with Transaction Type set to Atomic. In BizTalk Server 2006, you do not need to have an atomic scope to insert a Call Rules shape. You can drag a Call Rules shape into the Orchestration Design Surface from the Toolbox. However, in BizTalk Server 2006, the Call Rules menu item is disabled in the context menu if you try to insert a Call Rules shape inside an orchestration that does not have an atomic scope. This is a limitation with the BizTalk Server 2006 product.</em></div>
<div><em></em> </div>
<div>So I was right! You don’t have to use an atomic transaction scope anymore. Apparently there is a bug in the orchestration designer. You can only drag a call rules shape from the toolbox to the orchestration designer surface. The same option can only be used from the context menu if you are inside a scope.</div>
<div> </div>
<div>I really wonder what the reason for this is? Is it just a bug? And why didn’t they solve this in BTS2k6r2? And also will it be solved in the coming R3.</div>
<div> </div>
<div>Anyway what point do I want to make here? </div>
<ul>
<li>Visual Studio is not always right. In rare cases you’re right and Visual Studio is not! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li>You don’t have to use an atomic transaction scope anymore when you want to use the “Call Rules” shape.</li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/biztalkmessages.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/biztalkmessages.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalkmessages.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalkmessages.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalkmessages.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalkmessages.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/biztalkmessages.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/biztalkmessages.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/biztalkmessages.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/biztalkmessages.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalkmessages.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalkmessages.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalkmessages.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalkmessages.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalkmessages.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalkmessages.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=16&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biztalkmessages.vansplunteren.net/2008/06/13/call-rules-shape-atomic-transactions-and-the-orchestration-designer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">biztalkmessages</media:title>
		</media:content>

		<media:content url="http://biztalkmessages.files.wordpress.com/2008/06/orchestration-designer-context-menu.jpg" medium="image" />
	</item>
		<item>
		<title>My article on WCF and BizTalk online</title>
		<link>http://biztalkmessages.vansplunteren.net/2008/06/13/my-article-on-wcf-and-biztalk-online/</link>
		<comments>http://biztalkmessages.vansplunteren.net/2008/06/13/my-article-on-wcf-and-biztalk-online/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 06:21:16 +0000</pubDate>
		<dc:creator>Randal van Splunteren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://biztalkmessages.wordpress.com/?p=15</guid>
		<description><![CDATA[Last October I wrote an article for the dutch .Net Magazine. It is about the WCF adapters in BizTalk 2006 R2. Initially the article was planned for the December 2007 issue but the editors decided for some reason to publish it in the March 2008 issue. Besides a paper version, a digital version is now also made available [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=15&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last October I wrote an article for the dutch <a href="http://www.microsoft.com/netherlands/msdn/netmagazine/default.aspx">.Net Magazine</a>. It is about the WCF adapters in BizTalk 2006 R2. Initially the article was planned for the December 2007 issue but the editors decided for some reason to publish it in the March 2008 issue.</p>
<p>Besides a paper version, a digital version is now also made available by Microsoft NL. It can be downloaded from <a href="http://download.microsoft.com/download/0/3/2/0329df9d-70df-44fc-b421-a32bf5fab2c3/dnm20_p21-23_1.27.pdf">here</a>.</p>
<p>Since .Net Magazine is local the article is only available in dutch.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/biztalkmessages.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/biztalkmessages.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalkmessages.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalkmessages.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalkmessages.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalkmessages.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/biztalkmessages.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/biztalkmessages.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/biztalkmessages.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/biztalkmessages.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalkmessages.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalkmessages.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalkmessages.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalkmessages.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalkmessages.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalkmessages.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=15&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biztalkmessages.vansplunteren.net/2008/06/13/my-article-on-wcf-and-biztalk-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">biztalkmessages</media:title>
		</media:content>
	</item>
		<item>
		<title>BizTalk Server version number overview</title>
		<link>http://biztalkmessages.vansplunteren.net/2008/06/13/biztalk-server-version-number-overview/</link>
		<comments>http://biztalkmessages.vansplunteren.net/2008/06/13/biztalk-server-version-number-overview/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 06:18:46 +0000</pubDate>
		<dc:creator>Randal van Splunteren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BizTalk]]></category>

		<guid isPermaLink="false">http://biztalkmessages.wordpress.com/?p=14</guid>
		<description><![CDATA[Many times companies run a number of BizTalk instances on different servers. For example development, test and production servers. Especially large companies can have a lot of instances and environments running at the same time. For various reasons you&#8217;re sometimes unable to determine what exact version you&#8217;re looking at. Or you just want to know [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=14&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Arial;">Many times companies run a number of BizTalk instances on different servers. For example development, test and production servers. Especially large companies can have a lot of instances and environments running at the same time. For various reasons you&#8217;re sometimes unable to determine what exact version you&#8217;re looking at. Or you just want to know if a certain service pack is installed.</span></p>
<p><span style="font-family:Arial;">I have read about people with similar problems in the BizTalk newsgroups. I recently encountered this problem too when I wanted to write a little helper class that determines which BizTalk version was installed. I knew that there is a BizTalk version number stored in the registry. The &#8216;ProductVersion&#8217; key located in &#8216;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\BizTalk Server\3.0&#8242; contains this information. The real problem was however how to match this number to a BizTalk version or Service Pack. After searching the net for a long time I decided to make a list myself. I was lucky that I had been to lazy to clean up my harddisk and delete old Biztalk 2004 vpc&#8217;s <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</span></p>
<p><span style="font-family:Arial;">Here is the list:</span> </p>
<table class=" FCK__ShowTableBorders" style="width:506px;height:138px;" border="0" cellspacing="1" cellpadding="1" width="506">
<tbody>
<tr>
<td><strong>Product name</strong></td>
<td><strong>Service pack</strong></td>
<td><strong>Version number</strong></td>
</tr>
<tr>
<td>BizTalk Server 2004</td>
<td>-</td>
<td>3.0.4902.0</td>
</tr>
<tr>
<td>BizTalk Server 2004</td>
<td>SP1</td>
<td>3.0.6070.0</td>
</tr>
<tr>
<td>BizTalk Server 2004</td>
<td>SP2</td>
<td>3.0.7405.0</td>
</tr>
<tr>
<td>BizTalk Server 2006</td>
<td>-</td>
<td>3.5.1602.0</td>
</tr>
<tr>
<td>BizTalk Server 2006 R2</td>
<td>-</td>
<td>3.6.1404.0</td>
</tr>
</tbody>
</table>
<p> </p>
<p><span style="font-family:Arial;">I hope this will save some people a lot of time when they are in the same situation I was. Also there might be better ways that I don&#8217;t know (maybe ExplorerOM or WMI) to retrieve version information. Please drop a comment in that case.</span></p>
<p><span style="font-family:Arial;">There is also a version number stored in the BizTalk SQL Server databases. Most of the BizTalk databases contain a table &#8216;BizTalkDBVersion&#8217; which contains besides the database version number also the product version number. The strange thing is that this number was not altered by the installation of the service packs (SP1 and SP2) on BizTalk 2004. After the upgrade the table still showed &#8217;3.0.4902.0&#8242; as the product version number while the registry version number was changed.</span></p>
<p><span style="font-family:Arial;">I&#8217;ll try to keep this list updated when new versions or service packs are released.</span></p>
<p><span style="font-family:Arial;">There is an updated post on this topic. You can find it <a title="here" href="http://biztalkmessages.vansplunteren.net/2008/12/10/biztalk-server-version-number-overview-updated/" target="_blank">here</a>.</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/biztalkmessages.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/biztalkmessages.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalkmessages.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalkmessages.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalkmessages.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalkmessages.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/biztalkmessages.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/biztalkmessages.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/biztalkmessages.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/biztalkmessages.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalkmessages.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalkmessages.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalkmessages.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalkmessages.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalkmessages.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalkmessages.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=14&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biztalkmessages.vansplunteren.net/2008/06/13/biztalk-server-version-number-overview/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">biztalkmessages</media:title>
		</media:content>
	</item>
		<item>
		<title>Updating multiple nodes with different parents and hierarchical levels using the BizTalk BRE</title>
		<link>http://biztalkmessages.vansplunteren.net/2008/06/11/updating-multiple-nodes-with-different-parents-and-hierarchical-levels-using-the-biztalk-bre/</link>
		<comments>http://biztalkmessages.vansplunteren.net/2008/06/11/updating-multiple-nodes-with-different-parents-and-hierarchical-levels-using-the-biztalk-bre/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 06:30:24 +0000</pubDate>
		<dc:creator>Randal van Splunteren</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[Business Rules Engine]]></category>

		<guid isPermaLink="false">http://biztalkmessages.wordpress.com/?p=12</guid>
		<description><![CDATA[Oops, this must be the longest and worst blog post title you have ever seen. Let&#8217;s quickly make clear what I mean: Recently I needed to update multiple elements using a single rule in the Business Rule Engine (BRE). To most BizTalkers this is nothing special. The thing that complicated this particular scenario was that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=12&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="postText">
<p><span style="font-family:Arial;"><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_21.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_facts_explorer.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_3.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_3.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_4.jpg"></a>Oops, this must be the longest and worst blog post title you have ever seen. Let&#8217;s quickly make clear what I mean:</span></p>
<p><span style="font-family:Arial;">Recently I needed to update multiple elements using a single rule in the Business Rule Engine (BRE). To most BizTalkers this is nothing special. The thing that complicated this particular scenario was that the elements to update where in different hierarchical levels within the xml instance and thus had different parent nodes.</span></p>
<p><span style="font-family:Arial;">See the following XML and corresponding XSD instance for an example of this scenario:</span></p>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">&lt;</span><span style="font-size:10pt;color:#a31515;">ns0:Customer </span><span style="font-size:10pt;color:#ff0000;">xmlns:ns0</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">http://Samples.</span></span><span style="font-size:10pt;color:#0000ff;">BRE</span><span style="font-size:10pt;color:#0000ff;">.Customer</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">&gt;</span></span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">      &lt;</span><span style="font-size:10pt;color:#a31515;">Name</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">John<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Name</span><span style="color:#0000ff;">&gt;</span></span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">      &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">10<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Discount</span><span style="color:#0000ff;">&gt;</span></span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">      &lt;</span><span style="font-size:10pt;color:#a31515;">Accounts</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">            &lt;</span><span style="font-size:10pt;color:#a31515;">Account</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">ID</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">12<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ID</span><span style="color:#0000ff;">&gt;</span></span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">10<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Discount</span><span style="color:#0000ff;">&gt;</span></span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">            &lt;/</span><span style="font-size:10pt;color:#a31515;">Account</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">            &lt;</span><span style="font-size:10pt;color:#a31515;">SubAccounts</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">ID</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">34<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ID</span><span style="color:#0000ff;">&gt;</span></span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">10<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Discount</span><span style="color:#0000ff;">&gt;</span></span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                  &lt;/</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">ID</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">56<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ID</span><span style="color:#0000ff;">&gt;</span></span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">20<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Discount</span><span style="color:#0000ff;">&gt;</span></span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                  &lt;/</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">ID</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">78<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ID</span><span style="color:#0000ff;">&gt;</span></span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">10<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Discount</span><span style="color:#0000ff;">&gt;</span></span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">                  &lt;/</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">            &lt;/</span><span style="font-size:10pt;color:#a31515;">SubAccounts</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;">      &lt;/</span><span style="font-size:10pt;color:#a31515;">Accounts</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:xx-small;"><span style="font-size:10pt;color:#0000ff;line-height:115%;">&lt;/</span><span style="font-size:10pt;color:#a31515;line-height:115%;">ns0:Customer</span><span style="font-size:10pt;color:#0000ff;line-height:115%;">&gt;</span></span></span></div>
<div style="line-height:normal;"> </div>
<p> </p>
<p> </p>
<p> </p>
<div></div>
<p><span style="font-size:10pt;color:#0000ff;line-height:115%;"></p>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">&lt;?</span><span style="font-size:10pt;color:#a31515;">xml </span><span style="font-size:10pt;color:#ff0000;">version</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">1.0</span>&#8220;<span style="color:#ff0000;">encoding</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">utf-16</span>&#8220;<span style="color:#0000ff;">?&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">&lt;</span><span style="font-size:10pt;color:#a31515;">xs:schema </span><span style="font-size:10pt;color:#ff0000;">xmlns:b</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">http://schemas.microsoft.com/BizTalk/2003</span>&#8221; <span style="color:#ff0000;">xmlns</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">http://Samples.</span></span><span style="font-size:10pt;color:#0000ff;">BRE</span><span style="font-size:10pt;color:#0000ff;">.Customer</span><span style="font-size:10pt;">&#8220;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;"><span style="color:#ff0000;">targetNamespace</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">http://Samples.</span></span><span style="font-size:10pt;color:#0000ff;">BRE</span><span style="font-size:10pt;color:#0000ff;">.Customer</span><span style="font-size:10pt;">&#8221; <span style="color:#ff0000;">xmlns:xs</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">http://www.w3.org/2001/XMLSchema</span>&#8220;<span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;"> &lt;</span><span style="font-size:10pt;color:#a31515;">xs:element </span><span style="font-size:10pt;color:#ff0000;">name</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">Customer</span>&#8220;<span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">    &lt;</span><span style="font-size:10pt;color:#a31515;">xs:complexType</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">      &lt;</span><span style="font-size:10pt;color:#a31515;">xs:sequence</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">        &lt;</span><span style="font-size:10pt;color:#a31515;">xs:element </span><span style="font-size:10pt;color:#ff0000;">minOccurs</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">1</span>&#8221; <span style="color:#ff0000;">maxOccurs</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">1</span>&#8221; <span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">Name</span>&#8221; <span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">xs:string</span>&#8220;<span style="color:#0000ff;"> /&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">        &lt;</span><span style="font-size:10pt;color:#a31515;">xs:element </span><span style="font-size:10pt;color:#ff0000;">minOccurs</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">1</span>&#8221; <span style="color:#ff0000;">maxOccurs</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">1</span>&#8221; <span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">Discount</span>&#8221; <span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">xs:string</span>&#8220;<span style="color:#0000ff;"> /&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">        &lt;</span><span style="font-size:10pt;color:#a31515;">xs:element </span><span style="font-size:10pt;color:#ff0000;">minOccurs</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">0</span>&#8221; <span style="color:#ff0000;">maxOccurs</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">1</span>&#8221; <span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">Accounts</span>&#8220;<span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">          &lt;</span><span style="font-size:10pt;color:#a31515;">xs:complexType</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">            &lt;</span><span style="font-size:10pt;color:#a31515;">xs:sequence</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">              &lt;</span><span style="font-size:10pt;color:#a31515;">xs:element </span><span style="font-size:10pt;color:#ff0000;">minOccurs</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">1</span>&#8221; <span style="color:#ff0000;">maxOccurs</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">1</span>&#8221; <span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">Account</span>&#8220;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;"> <span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">_Account</span>&#8220;<span style="color:#0000ff;"> /&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">              &lt;</span><span style="font-size:10pt;color:#a31515;">xs:element </span><span style="font-size:10pt;color:#ff0000;">minOccurs</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">0</span>&#8221; <span style="color:#ff0000;">maxOccurs</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">1</span>&#8221; <span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">SubAccounts</span>&#8220;<span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                &lt;</span><span style="font-size:10pt;color:#a31515;">xs:complexType</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">xs:sequence</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                    &lt;</span><span style="font-size:10pt;color:#a31515;">xs:element </span><span style="font-size:10pt;color:#ff0000;">minOccurs</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">1</span>&#8221; <span style="color:#ff0000;">maxOccurs</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">unbounded</span>&#8220;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;"> <span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">SubAccount</span>&#8221; <span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">_Account</span>&#8220;<span style="color:#0000ff;"> /&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  </span><span style="font-size:10pt;color:#0000ff;">&lt;/</span><span style="font-size:10pt;color:#a31515;">xs:sequence</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                &lt;/</span><span style="font-size:10pt;color:#a31515;">xs:complexType</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">              &lt;/</span><span style="font-size:10pt;color:#a31515;">xs:element</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">            &lt;/</span><span style="font-size:10pt;color:#a31515;">xs:sequence</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">          &lt;/</span><span style="font-size:10pt;color:#a31515;">xs:complexType</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">        &lt;/</span><span style="font-size:10pt;color:#a31515;">xs:element</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">      &lt;/</span><span style="font-size:10pt;color:#a31515;">xs:sequence</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">    &lt;/</span><span style="font-size:10pt;color:#a31515;">xs:complexType</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;"> &lt;/</span><span style="font-size:10pt;color:#a31515;">xs:element</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;"> </span><span style="font-size:10pt;color:#0000ff;">&lt;</span><span style="font-size:10pt;color:#a31515;">xs:complexType </span><span style="font-size:10pt;color:#ff0000;">name</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">_Account</span>&#8220;<span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">    &lt;</span><span style="font-size:10pt;color:#a31515;">xs:sequence</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">      &lt;</span><span style="font-size:10pt;color:#a31515;">xs:element </span><span style="font-size:10pt;color:#ff0000;">minOccurs</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">1</span>&#8221; <span style="color:#ff0000;">maxOccurs</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">1</span>&#8221; <span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">ID</span>&#8221; <span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">xs:string</span>&#8220;<span style="color:#0000ff;"> /&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">      &lt;</span><span style="font-size:10pt;color:#a31515;">xs:element </span><span style="font-size:10pt;color:#ff0000;">minOccurs</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">1</span>&#8221; <span style="color:#ff0000;">maxOccurs</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">1</span>&#8221; <span style="color:#ff0000;">name</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">Discount</span>&#8221; <span style="color:#ff0000;">type</span><span style="color:#0000ff;">=</span>&#8220;<span style="color:#0000ff;">xs:string</span>&#8220;<span style="color:#0000ff;"> /&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">    &lt;/</span><span style="font-size:10pt;color:#a31515;">xs:sequence</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;"> &lt;/</span><span style="font-size:10pt;color:#a31515;">xs:complexType</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;line-height:115%;">&lt;/</span><span style="font-size:10pt;color:#a31515;line-height:115%;">xs:schema</span><span style="font-size:10pt;color:#0000ff;line-height:115%;">&gt;</span></span></div>
<div style="line-height:normal;"> </div>
<div style="line-height:normal;"><span style="font-size:10pt;color:#0000ff;line-height:115%;"><span style="font-family:Arial;">As you can see, the Discount node in this instance is on a different level in the XML structure. Also it has a different parent  (in this case Customer, Account and SubAccount). Now let’s say we need a rule that updates ALL the Discount nodes that have a value of 10. Of course this could be done easily using three separate rules but that would be a bad solution and could be done more simply.<br />
When we drag and drop a new rule in the BRE based on the above schema. The condition of the rule looks something like this:</span></span></div>
<div style="line-height:normal;"><span style="font-size:10pt;color:#0000ff;line-height:115%;"></p>
<p style="line-height:normal;"><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg"></a></p>
<p style="line-height:normal;"><span style="font-family:Arial;"><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_21.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg"><img class="alignnone size-full wp-image-8" src="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg?w=450&#038;h=50" alt="" width="450" height="50" /></a></span></p>
<p style="line-height:normal;"><span style="font-family:Arial;">the corresponding action would be:</span></p>
<p style="line-height:normal;"><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_21.jpg"><img class="alignnone size-full wp-image-13" src="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_21.jpg?w=450" alt=""   /></a></p>
<p style="line-height:normal;"><span style="font-family:Arial;">The problem is that, as the xpath statement indicates, this will only affect the Discount nodes directly under the root node. How do we adjust the role so that it will apply to all the Discount nodes in the XML instance?</span></p>
<p style="line-height:normal;"><span style="font-family:Arial;">The solution is to change the XPath Selector and XPath Field properties of the schema. After that we rewrite the rule based on the adjusted values of those properties.</span></p>
<p style="line-height:normal;"><span style="font-family:Arial;">The XPath selector:</span></p>
<p style="line-height:normal;"><span style="font-family:Arial;">The value is by default set to: </span></p>
<p style="line-height:normal;"><span style="color:#000000;font-family:Courier New;">/*[local-name()='Customer' and namespace-uri()='http://Samples.BRE.Customer']</span></p>
<p style="line-height:normal;"><span style="font-family:Arial;">We change this to: </span></p>
<p style="line-height:normal;"><span style="color:#000000;font-family:Courier New;">//*[local-name()='Discount' and namespace-uri()='']</span></p>
<p style="line-height:normal;"><span style="font-family:Arial;">This will select all the Discount nodes on any level regardless of their parent.</span></p>
<p style="line-height:normal;"><span style="font-family:Arial;">Next we have to think of what to fill in for the Xpath Field property. The Xpath Selector now has the complete xpath statement to get to the desired node set. together the XPath Selector and XPath Field are used by the BRE to reference nodes, so ideally would like to leave the Xpath field empty and remove the default value &#8216;<span style="color:#000000;font-family:Courier New;">*[local-name()='Discount' and namespace-uri()='']</span>&#8216; but cannot because the BRE composer won&#8217;t allow an empty Xpath Field property. This means we need a statement that’s not empty and doesn&#8217;t affect the nodes selected by the XPath Selector. The &#8216;<span style="color:#000000;font-family:Courier New;">self::node()</span>&#8216; expression will solve this.</span></p>
<p style="line-height:normal;"><span style="font-family:Arial;">The figure below shows the modified values in the Business Rules Composer:</span></p>
<p style="line-height:normal;"> </p>
<p style="line-height:normal;"> <a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_21.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_facts_explorer.jpg"><img class="alignnone size-full wp-image-7" src="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_facts_explorer.jpg?w=450&#038;h=709" alt="" width="450" height="709" /></a></p>
<p style="line-height:normal;"><span style="font-size:10pt;color:#0000ff;line-height:115%;"><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_21.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_facts_explorer.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_3.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_3.jpg"><img class="alignnone size-full wp-image-10" src="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_3.jpg?w=450" alt=""   /></a></span></p>
<p style="line-height:normal;"> </p>
<p style="line-height:normal;"><span style="font-size:10pt;color:#0000ff;line-height:115%;"><span style="font-family:Arial;"><span style="font-family:Arial;">After setting these properties, (re)drag the Discount element to the Conditions and Actions sections. The rule looks like this:</span><br />
</span></span></p>
<p> <a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_21.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_facts_explorer.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_3.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_3.jpg"></a><a href="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_4.jpg"><img class="alignnone size-full wp-image-11" src="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_4.jpg?w=450" alt=""   /></a></p>
<div><span style="color:#0000ff;"> </span></div>
<div><span style="color:#0000ff;"><span style="font-family:Arial;">Testing the rule in the Business Rule Composer shows that this in fact works:</span></span></div>
<p><span style="color:#0000ff;"> </p>
<p></span></span></div>
<div style="line-height:normal;">
<p><span style="font-family:Arial;">XML instance before BRE:</span> </p>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">&lt;</span><span style="font-size:10pt;color:#a31515;">ns0:Customer </span><span style="font-size:10pt;color:#ff0000;">xmlns:ns0</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">http://Samples.</span></span><span style="font-size:10pt;color:#0000ff;">BRE</span><span style="font-size:10pt;color:#0000ff;">.Customer</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">      &lt;</span><span style="font-size:10pt;color:#a31515;">Name</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">John<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Name</span><span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">      &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><strong><span style="font-size:10pt;">10</span></strong><span style="font-size:10pt;color:#0000ff;">&lt;/</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">      &lt;</span><span style="font-size:10pt;color:#a31515;">Accounts</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">            &lt;</span><span style="font-size:10pt;color:#a31515;">Account</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">ID</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">12<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ID</span><span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><strong><span style="font-size:10pt;">10</span></strong><span style="font-size:10pt;color:#0000ff;">&lt;/</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">            &lt;/</span><span style="font-size:10pt;color:#a31515;">Account</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">            &lt;</span><span style="font-size:10pt;color:#a31515;">SubAccounts</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">ID</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">34<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ID</span><span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><strong><span style="font-size:10pt;">10</span></strong><span style="font-size:10pt;color:#0000ff;">&lt;/</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;/</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">ID</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">56<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ID</span><span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">20<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Discount</span><span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;/</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">ID</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">78<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ID</span><span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><strong><span style="font-size:10pt;">10</span></strong><span style="font-size:10pt;color:#0000ff;">&lt;/</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;/</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">            &lt;/</span><span style="font-size:10pt;color:#a31515;">SubAccounts</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">      &lt;/</span><span style="font-size:10pt;color:#a31515;">Accounts</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;line-height:115%;">&lt;/</span><span style="font-size:10pt;color:#a31515;line-height:115%;">ns0:Customer</span><span style="font-size:10pt;color:#0000ff;line-height:115%;">&gt;</span></span></div>
<div style="line-height:normal;"> </div>
<div style="line-height:normal;"><span style="font-size:10pt;color:#0000ff;line-height:115%;"><span style="font-family:Arial;">XML instance after BRE:</span></span></div>
<div style="line-height:normal;"> </div>
<div style="line-height:normal;"><span style="font-size:10pt;color:#0000ff;line-height:115%;"></p>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">&lt;</span><span style="font-size:10pt;color:#a31515;">ns0:Customer </span><span style="font-size:10pt;color:#ff0000;">xmlns:ns0</span><span style="font-size:10pt;color:#0000ff;">=</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">http://Samples.</span></span><span style="font-size:10pt;color:#0000ff;">BRE</span><span style="font-size:10pt;color:#0000ff;">.Customer</span><span style="font-size:10pt;">&#8220;<span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">      &lt;</span><span style="font-size:10pt;color:#a31515;">Name</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">John<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Name</span><span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">      &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><strong><span style="font-size:10pt;">40</span></strong><span style="font-size:10pt;color:#0000ff;">&lt;/</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">      &lt;</span><span style="font-size:10pt;color:#a31515;">Accounts</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">            &lt;</span><span style="font-size:10pt;color:#a31515;">Account</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">ID</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">12<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ID</span><span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><strong><span style="font-size:10pt;">40</span></strong><span style="font-size:10pt;color:#0000ff;">&lt;/</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">            &lt;/</span><span style="font-size:10pt;color:#a31515;">Account</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">            &lt;</span><span style="font-size:10pt;color:#a31515;">SubAccounts</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">ID</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">34<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ID</span><span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><strong><span style="font-size:10pt;">40</span></strong><span style="font-size:10pt;color:#0000ff;">&lt;/</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;/</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">ID</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">56<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ID</span><span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">20<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Discount</span><span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;/</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">ID</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><span style="font-size:10pt;">78<span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">ID</span><span style="color:#0000ff;">&gt;</span></span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                        &lt;</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span><strong><span style="font-size:10pt;">40</span></strong><span style="font-size:10pt;color:#0000ff;">&lt;/</span><span style="font-size:10pt;color:#a31515;">Discount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">                  &lt;/</span><span style="font-size:10pt;color:#a31515;">SubAccount</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">            &lt;/</span><span style="font-size:10pt;color:#a31515;">SubAccounts</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<div style="line-height:normal;"><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;">      &lt;/</span><span style="font-size:10pt;color:#a31515;">Accounts</span><span style="font-size:10pt;color:#0000ff;">&gt;</span></span></div>
<p><span style="font-family:Courier New;"><span style="font-size:10pt;color:#0000ff;line-height:115%;">&lt;/</span><span style="font-size:10pt;color:#a31515;line-height:115%;">ns0:Customer</span><span style="font-size:10pt;color:#0000ff;line-height:115%;">&gt;</span></span></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p></span></div>
</div>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p></span></div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/biztalkmessages.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/biztalkmessages.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalkmessages.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalkmessages.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalkmessages.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalkmessages.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/biztalkmessages.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/biztalkmessages.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/biztalkmessages.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/biztalkmessages.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalkmessages.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalkmessages.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalkmessages.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalkmessages.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalkmessages.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalkmessages.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalkmessages.vansplunteren.net&amp;blog=3912620&amp;post=12&amp;subd=biztalkmessages&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://biztalkmessages.vansplunteren.net/2008/06/11/updating-multiple-nodes-with-different-parents-and-hierarchical-levels-using-the-biztalk-bre/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">biztalkmessages</media:title>
		</media:content>

		<media:content url="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_1.jpg" medium="image" />

		<media:content url="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_21.jpg" medium="image" />

		<media:content url="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_facts_explorer.jpg" medium="image" />

		<media:content url="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_3.jpg" medium="image" />

		<media:content url="http://biztalkmessages.files.wordpress.com/2008/06/bre_update_multi_nodes_rule_4.jpg" medium="image" />
	</item>
	</channel>
</rss>
