<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Ramblings of An OverTaxed Mind</title>
        <link>http://geekswithblogs.net/OverTaxedMind/Default.aspx</link>
        <description>I Think I Think.... So Am I?</description>
        <language>en-US</language>
        <copyright>Douglas Marsh</copyright>
        <managingEditor>marsh.douglas.e@gmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <image>
            <title>Ramblings of An OverTaxed Mind</title>
            <url>http://geekswithblogs.net/images/RSS2Image.gif</url>
            <link>http://geekswithblogs.net/OverTaxedMind/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>Terrarium Returns</title>
            <category>Terrarium</category>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2008/07/16/terrarium-returns.aspx</link>
            <description>&lt;p&gt;In ancient antiquity, members of the Microsoft .NET Framework team envisioned a universe where creatures would compete for Ecosystem dominance. Terrarium was that universe and it was good.&lt;/p&gt;
&lt;p&gt;The .NET Terrarium was a .NET 1.x game/learning tool that allowed developers to develop "creatures" that where then released into a peer networked ecosystem to battle it out for world dominance. &lt;br /&gt;
The Terrarium has a large following but as the original developers moved on the universe stagnated and died... until now.&lt;/p&gt;
&lt;p&gt;This &lt;a target="_blank" href="http://weblogs.asp.net/bsimser/archive/2008/07/16/reintroducing-terrarium-now-with-2-0-goodness.aspx"&gt;post&lt;/a&gt; on &lt;a target="_blank" href="http://weblogs.asp.net/bsimser/default.aspx"&gt;Bil Simsers&lt;/a&gt; blog announces the reintroduction of the .NET Terrarium... as a &lt;a target="_blank" href=" http://www.codeplex.com/terrarium2"&gt;CodePlex&lt;/a&gt; project!!!! So not only can you participate in bug battling goodness, you can help develop the next generations of the Terrarium. So go check-out &lt;a href="http://www.codeplex.com/terrarium2"&gt;http://www.codeplex.com/terrarium2&lt;/a&gt; and I'll see you on the battlefield.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=123841"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=123841" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/123841.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2008/07/16/terrarium-returns.aspx</guid>
            <pubDate>Thu, 17 Jul 2008 04:51:53 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/123841.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2008/07/16/terrarium-returns.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/123841.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/123841.aspx</trackback:ping>
        </item>
        <item>
            <title>Cannot locate document specification because multiple schemas matched the message type</title>
            <category>BizTalk</category>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2008/04/08/cannot-locate-document-specification-because-multiple-schemas-matched-the-message.aspx</link>
            <description>&lt;p&gt;I ran into an interesting issue a couple of weeks ago and I thought I would share.    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;1st, the meat of the post.&lt;/p&gt;  &lt;p&gt;If you have extracted the schemas from an XmlSerializable object and deployed those schemas to BizTalk, you can't use that object (or any of its dependant objects) as a BizTalk message type.    &lt;br /&gt;Why? Because BizTalk registers XmlSerializable types that are used as messages as schemas. If you have already registered the schema, you will end up with message type duplication.&lt;/p&gt;  &lt;p&gt;_____________________________________________________________________________________________________________________________________________________________________    &lt;br /&gt;I was working on an application where BizTalk was operating as a SOA messaging bus.     &lt;br /&gt;The system was designed to receive data from a number of different systems, map that data to a canonical object model.&lt;/p&gt;  &lt;p&gt;The canonical object model consisted of several XmlSerializable classes written in C#.    &lt;br /&gt;I used xsd.exe to extract schemas for the objects so that I could use the BizTalk mapper to map to and from the object model.&lt;/p&gt;  &lt;p&gt;All of this worked great until I decided to break some common functionality into a separate orchestration.    &lt;br /&gt;Since no mapping would occur in the Helper orchestration, I decided to pass the canonical object directly to the orchestration.     &lt;br /&gt;I also decided that calling the Helper orchestration via Direct Message Box binding would increase its overall utility and reduce coupling.     &lt;br /&gt;The end result was that I created a Message Type and a Port Type that &lt;em&gt;&lt;strong&gt;referenced the canonical object instead of the canonical object schemas.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;I deployed my changes and submitted a test message.    &lt;br /&gt;As soon as my "core" orchestration called the new helper orchestration, I got a familiar error message in an unexpected point in the process.     &lt;br /&gt;&lt;strong&gt;&lt;em&gt;       &lt;br /&gt;Cannot locate document specification because multiple schemas matched the message type&lt;/em&gt;&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;My first reaction was total disbelief. I hadn't changed any schemas. In fact, I didn't even redeploy my schema project.    &lt;br /&gt;I checked the &lt;em&gt;&lt;strong&gt;Schemas&lt;/strong&gt;&lt;/em&gt; folder under &lt;strong&gt;BizTalk Application 1&lt;/strong&gt; and there was only one schema with the offending namespace#rootnode combination.     &lt;br /&gt;So I checked the &lt;strong&gt;&lt;em&gt;Schemas&lt;/em&gt; &lt;/strong&gt;folder under &lt;em&gt;&lt;strong&gt;&amp;lt;All Artifacts&amp;gt;&lt;/strong&gt;&lt;/em&gt; and there where two schemas... and the new schema was filed under the BizTalk.System Application.&lt;/p&gt;  &lt;p&gt;I this point, I was quite confused. You can't deploy to BizTalk.System. It is for system use only.  &lt;br /&gt;I dug a little deeper and discovered that my Canonical object C# assembly was the source of the duplicate schema... and then I understood.&lt;/p&gt;  &lt;p&gt;My canonical object model was already "registered" in BizTalk via the schema I generated to enable mapping to the object model.    &lt;br /&gt;When I used the canonical class as a message type, BizTalk extracted the schema from the serialization metadata and registered the resulting message type with the messaging engine.     &lt;br /&gt;Because both schemas are the same, I had duplicate message types.     &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Luckily the fix was simple. I changed the Message Type and a Port Type to use the canonical object schemas and serialized between the different object representation in the orchestrations before sending the data to the Message Box.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=121120"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=121120" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/121120.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2008/04/08/cannot-locate-document-specification-because-multiple-schemas-matched-the-message.aspx</guid>
            <pubDate>Wed, 09 Apr 2008 01:47:31 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/121120.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2008/04/08/cannot-locate-document-specification-because-multiple-schemas-matched-the-message.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/121120.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/121120.aspx</trackback:ping>
        </item>
        <item>
            <title>The &amp;quot;Scripting&amp;quot; has [x] input parameter(s), but [y] parameter(s) are excepted</title>
            <category>BizTalk</category>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2008/03/30/the-quotscriptingquot-has-x-input-parameters-but-y-parameters-are.aspx</link>
            <description>&lt;p&gt;Here is an issue with the BizTalk mapper that resulted in a little hair loss recently.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;I was working on a fairly complex BizTalk map that was using scripting functiods to reference functions in an pre-existing .NET assembly.     &lt;br /&gt;In a couple of instances, the code in the Helper assembly wasn't quite what needed, so I switched from using the Helper Class function to using inline C#.     &lt;br /&gt;Once I changed the functiod to use inline C#, the Configure Functiod Script dialog looked like the screen-shot below.&lt;/p&gt;  &lt;p&gt; &lt;a href="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/InlineC__e59dede2-0212-49fc-b914-a3fe5f50ee6b.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="460" alt="InlineC#" src="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/InlineC__thumb_ee07aa61-fde8-44a1-a956-e79561e21823.png" width="517" border="0" /&gt;&lt;/a&gt;     &lt;br /&gt;As you can see, even though the Script type is Inline C#, the configuration for the External Script is still their. This is very important.     &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;For most of the "one-off" functions, I needed more parameters than what was need by the original .NET assembly functions.    &lt;br /&gt;So I wired up all of my links, click Build and ended up with the following error.&lt;/p&gt;  &lt;p&gt;&lt;font size="3"&gt;&lt;font face="Courier New"&gt;&lt;strong&gt;&lt;font size="4"&gt;The "Scripting" functoid has [X] input parameter(s), but [Y] parameter(s) are expected.&lt;/font&gt;           &lt;br /&gt;&lt;/strong&gt;&lt;font size="1"&gt;Note: X and Y are place holders for the actual number of parameters.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Ok. I've seen this message plenty of time before. I click through each of the scripting functoids in the error list. However, all of them had the right number of parameters.    &lt;br /&gt;I clicked build again.&lt;/p&gt;  &lt;p&gt;&lt;font size="3"&gt;&lt;font face="Courier New"&gt;&lt;strong&gt;&lt;font size="4"&gt;The "Scripting" functoid has [X] input parameter(s), but [Y] parameter(s) are expected.&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Ok. Visual Studio must be acting up, so I cycled the entire machine to make sure an potential cache issues are resolved.    &lt;br /&gt;Once the machine booted and I got Visual Studio restarted, I tried to build the project again.&lt;/p&gt;  &lt;p&gt;&lt;font size="3"&gt;&lt;font face="Courier New"&gt;&lt;strong&gt;&lt;font size="4"&gt;The "Scripting" functoid has [X] input parameter(s), but [Y] parameter(s) are expected.&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Now I'm mad. I know that the functiods have the right number of parameters. Cycling the box should have fixed any weird "out of synch" errors.    &lt;br /&gt;So I start tried a little bit of everything. I disconnect and reconnect links. Nothing. I change the order of the parameters. Nothing.     &lt;br /&gt;Finally, I reset the inline script buffer and re-pasted the code... and that function disappeared from the error list.&lt;/p&gt;  &lt;p&gt;Hmmm, so what's the difference&lt;/p&gt;  &lt;table cellspacing="0" cellpadding="2" width="1052" border="1"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="527"&gt;&lt;strong&gt;Pre-Reset&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="523"&gt;&lt;strong&gt;Post Reset&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="532"&gt;&lt;a href="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/InlineC__e59dede2-0212-49fc-b914-a3fe5f50ee6b.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="460" alt="InlineC#" src="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/InlineC__thumb_ee07aa61-fde8-44a1-a956-e79561e21823.png" width="517" border="0" /&gt;&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="523"&gt;&lt;a href="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/InlineC_-correct_b8f1c644-231b-4fb0-bf82-887553fe29a5.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="460" alt="InlineC#-correct" src="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/InlineC_-correct_thumb_44e41e9e-73a6-448b-bcc8-fe6b7a9bdd0f.png" width="517" border="0" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;Resetting the Functoid cleared the External Assembly Configuration.&lt;/p&gt;  &lt;p&gt;With this new information in hand, I open the map up a raw XML to take a look at the guts of the situation. This is what I found:    &lt;br /&gt;&lt;a href="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/xml.png"&gt;&lt;img height="357" alt="xml" src="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/xml_thumb.png" width="1024" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Originally, all of my scripting functoids used methods from the External Assembly. When I decided to use, Inline C#, I modified the existing functiod. Instead of removing the reference to the External assembly function, the functoid added the inline function to the already defined Scripter Code block. Because my inline function required a different number of parameter than the function from the external assembly, I was getting an input parameter count error.&lt;/p&gt;  &lt;p&gt;That brings me to the moral of the story, anytime you are changing the way a scripting functoid is being used, hit the "reset" key. It will save you a world of pain.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=120872"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=120872" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/120872.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2008/03/30/the-quotscriptingquot-has-x-input-parameters-but-y-parameters-are.aspx</guid>
            <pubDate>Mon, 31 Mar 2008 01:11:57 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/120872.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2008/03/30/the-quotscriptingquot-has-x-input-parameters-but-y-parameters-are.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/120872.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/120872.aspx</trackback:ping>
        </item>
        <item>
            <title>I'm BAAAACK</title>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2008/03/30/im-baaaack.aspx</link>
            <description>&lt;p&gt;To all my readers.    &lt;br /&gt;I apologize for the long hiatus (ok temporary blog abandonment) but life happens.     &lt;br /&gt;Anyway. I'm making every attempt to do better and keep bring you BizTalk goodness.     &lt;br /&gt;I have a couple of posts in the works that will be up in next couple of days.     &lt;br /&gt;    &lt;br /&gt;Thanks for staying around.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=120869"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=120869" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/120869.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2008/03/30/im-baaaack.aspx</guid>
            <pubDate>Sun, 30 Mar 2008 21:02:05 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/120869.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2008/03/30/im-baaaack.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/120869.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/120869.aspx</trackback:ping>
        </item>
        <item>
            <title>Workaround from BizTalk 2006 Enterprise Adapters Binding File Issue (KB923733)</title>
            <category>BizTalk</category>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2007/08/15/Workaround-from-BizTalk-2006-Enterprise-Adapters-Binding-File-Issue-KB923733.aspx</link>
            <description>&lt;p&gt;If you've ever worked with the BizTalk 2006 Enterprise Adapters (ie Oracle Database, etc) you might have run into the following error when import a binding file or msi:&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Could not validate configuration of Primary Transport of Send Port '&lt;var&gt;portname&lt;/var&gt;' with SSO server. &lt;br /&gt;Specify user name and password (Microsoft.BizTalk.ExplorerOM&lt;/strong&gt;) &lt;/p&gt; &lt;p&gt;More information is available here: &lt;a title="http://support.microsoft.com/kb/923733" href="http://support.microsoft.com/kb/923733"&gt;http://support.microsoft.com/kb/923733&lt;/a&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;There is a hotfix available but waiting to get the fix from Microsoft Support can consume valuable development time, so here is a dirty little workaround that I know works for the Oracle Database Adapter.&lt;/p&gt; &lt;p&gt;Extract a Binding File from the offended application(s).&lt;br /&gt;Open the file in your favorite text editor and find the Send and/or Receive Port that is reference the Oracle Database Adapter.&lt;br /&gt;Find the Configuration Property for Password and changed the masked password for the real plain text password.&lt;/p&gt; &lt;p&gt;This will fix your binding import issue until you can obtain the hotfix.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114697"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114697" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/114697.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2007/08/15/Workaround-from-BizTalk-2006-Enterprise-Adapters-Binding-File-Issue-KB923733.aspx</guid>
            <pubDate>Wed, 15 Aug 2007 19:20:37 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/114697.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2007/08/15/Workaround-from-BizTalk-2006-Enterprise-Adapters-Binding-File-Issue-KB923733.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/114697.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/114697.aspx</trackback:ping>
        </item>
        <item>
            <title>Exception From HRESULT: 0x800F0901 in Silverlight 1.1 Refresh</title>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2007/08/01/Exception-From-HRESULT-0x800F0901-in-Silverlight-1.1-Refresh.aspx</link>
            <description>&lt;p&gt;&lt;strong&gt;Update:&lt;br /&gt;This is a little late but a better workaround was posted on &lt;a title="http://silverlightrocks.com/cs/blogs/silverlight_games_101/default.aspx" href="http://silverlightrocks.com/cs/blogs/silverlight_games_101/default.aspx"&gt;http://silverlightrocks.com/cs/blogs/silverlight_games_101/default.aspx&lt;/a&gt;&lt;br /&gt;However, for some reason, I can now longer find the post.&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Basically, instead of using creating the Storyboard from XAML, create the StoryBoard in code and using the SetValue method to set the Name Property&lt;/strong&gt;&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;StoryBoard animation = new StoryBoard();&lt;br /&gt;animation.SetValue&amp;lt;string&amp;gt;(StoryBoard.NameProperty, "myAnim");&lt;/p&gt;&lt;/blockquote&gt; &lt;hr /&gt;  &lt;p&gt;One of the breaking changes in the Silverlight 1.1 Refresh deals with Canvas.Resources&lt;/p&gt; &lt;p&gt;&lt;b&gt;Elements in &amp;lt;*.Resource&amp;gt; blocks must be named&lt;/b&gt;&lt;/p&gt; &lt;p&gt;Elements in &amp;lt;*.Resource&amp;gt; blocks must be named. &lt;br /&gt;This means you have to have an x:Name property for all content in a &amp;lt;*.Resources&amp;gt; section. &lt;/p&gt; &lt;p&gt;&lt;br /&gt;For example:&lt;/p&gt; &lt;table cellspacing="0" cellpadding="2" width="576" border="1" unselectable="on"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="260"&gt; &lt;p&gt;Previous:  &lt;/p&gt;&lt;p&gt;&lt;b&gt;XAML&lt;/b&gt;  &lt;/p&gt;&lt;p&gt;&amp;lt;Canvas.Resources&amp;gt; &lt;br /&gt;    &amp;lt;&lt;strong&gt;Storyboard&amp;gt;&lt;/strong&gt; &lt;br /&gt;        &amp;lt;!-- Content here... --&amp;gt;&lt;br /&gt;    &amp;lt;/&lt;strong&gt;Storyboard&amp;gt;&lt;br /&gt;&lt;/strong&gt;&amp;lt;/Canvas.Resources&amp;gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="314"&gt; &lt;p&gt;Current:  &lt;/p&gt;&lt;p&gt;&lt;b&gt;XAML&lt;/b&gt;  &lt;/p&gt;&lt;p&gt;&amp;lt;Canvas.Resources&amp;gt; &lt;br /&gt;    &amp;lt;&lt;strong&gt;Storyboard x:Name="name"&amp;gt;&lt;/strong&gt; &lt;br /&gt;        &amp;lt;!-- Content here... --&amp;gt;&lt;br /&gt;    &amp;lt;/&lt;strong&gt;Storyboard&amp;gt;&lt;br /&gt;&lt;/strong&gt;&amp;lt;/Canvas.Resources&amp;gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&lt;b&gt;&lt;/b&gt;   &lt;/p&gt;&lt;p&gt;Here is the "&lt;strong&gt;REAL&lt;/strong&gt;" breaking change. &lt;/p&gt; &lt;p&gt;Canvas.Resource will no longer accept a Storyboard without a value in the x:Name Property.&lt;br /&gt;If you are constructing a Storyboard in Managed Code using the Storyboard constructor, you will get this RunTime Error on adding the Storyboard to Canvas.Resource&lt;/p&gt; &lt;p&gt;&lt;strong&gt;"Exception from HRESULT: 0x800F0901"&lt;/strong&gt;  &lt;/p&gt;&lt;p&gt;You can't assign the x:Name property from code. But there is a workaround using XamlReader.Load();  &lt;/p&gt;&lt;p&gt;The xaml string that you use to initialize the Storyboard must include the following namespaces or XamlReader will not load the string.  &lt;/p&gt;&lt;p&gt;&lt;strong&gt;xmlns='&lt;/strong&gt;&lt;strong&gt;http://schemas.microsoft.com/client/2007'&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'&lt;/strong&gt;  &lt;/p&gt;&lt;p&gt;   &lt;/p&gt;&lt;p&gt;It's a pain but at least there is a workaround.  &lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114316"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114316" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/114316.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2007/08/01/Exception-From-HRESULT-0x800F0901-in-Silverlight-1.1-Refresh.aspx</guid>
            <pubDate>Wed, 01 Aug 2007 06:07:43 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/114316.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2007/08/01/Exception-From-HRESULT-0x800F0901-in-Silverlight-1.1-Refresh.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/114316.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/114316.aspx</trackback:ping>
        </item>
        <item>
            <title>Tag I'm It</title>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/22/Tag-Im-It.aspx</link>
            <description>&lt;p&gt;I just got &lt;a href="http://msmvps.com/blogs/williamryan/archive/2007/07/22/i-ve-been-tagged.aspx"&gt;tagged&lt;/a&gt; by my buddy Bill. &lt;br /&gt;So I'm the little brother he never had. Nice to know that I mean that much.&lt;/p&gt; &lt;p&gt;Any way, here are a few things I couldn't live without.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;My wife Swann&lt;/strong&gt;. &lt;br /&gt;Many would consider this a cop out but seriously, without Swann I would be stuck in some behind a computer searching Lexus Nexus trying of convince myself that I like to practice law... not a pretty picture.  &lt;br /&gt;Plus without Swann as a grounding point, I don't think I would be a very nice person. She has really soften that serious anti-social edge I used to have.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Skittles&lt;/strong&gt;. &lt;br /&gt;About 6 years ago while getting my degree in &lt;a href="http://cba.ua.edu/mis"&gt;MIS from the University of Alabama,&lt;/a&gt; I decided that I should cut down on my candy intake. Bad idea. After about 2 weeks Swann mandated that I never try that again. Have I mentioned that I can be a real ahole at times.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Sunflower Seeds&lt;/strong&gt;. &lt;br /&gt;See above. Replace Sugar with Salt and Fatty Acids.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Books.&lt;/strong&gt; &lt;br /&gt;I read... a lot. Currently my favorite author is &lt;a href="http://www.johnringo.com/"&gt;John Ringo&lt;/a&gt; but I will read anything Military Sci-Fi &lt;em&gt;that's decently written&lt;/em&gt;. At one point I would read anything but I've been forced to reduce my word intake so that I have time to do other things. Since Swann is the Community Relations Manager at &lt;a href="http://storelocator.barnesandnoble.com/storedetail.do?store=2204"&gt;Barnes and Nobles Edgewood&lt;/a&gt;, I get the benefits of a really sweet employee discount. &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;A Computer&lt;br /&gt;&lt;/strong&gt;I've loved computers every since my parents bought a little 33mhz Packard Bell with 4 megs of ram running windows 3.11. I spent hours on that thing hacking batch scripts and command files trying to tweak every hertz of power I could out of it. We didn't have network access to everything was trail and error. Anybody else remember HIGH MEMORY and LOW MEMORY. MOUSE.COM. Manually loading Sound Blaster 16 drivers. Ahh the good ole days... I really need to upgrade my home desktop.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;/strong&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;TV&lt;br /&gt;&lt;/strong&gt;Network Television Sucks... but I'm addicted to the boob-tube and the state of currently television is surely destroying my braincells. I always find myself watching between 2 and 4 hours of TV a day. Most of the time I'm reading or performing some other activity while the TV is on but I will always catch myself vegging out at least a couple of times a week. Fortunately cable is getting really good. My favorite channel is Military History. Swann's is the Food Network. A safe compromise is The Discovery Channel. Having a Geek for a wife is great.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;Now here is the hard part of being tagged. Tagging someone else. Well, this chain is going to stop with me. I've been online for a while but very few people know I exist. &lt;br /&gt;So the couple of people that I could tag have already been tagged.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114115"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114115" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/114115.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/22/Tag-Im-It.aspx</guid>
            <pubDate>Mon, 23 Jul 2007 03:58:23 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/114115.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/22/Tag-Im-It.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/114115.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/114115.aspx</trackback:ping>
        </item>
        <item>
            <title>Solving the ‘Object Already Defined’ Error in BizTalk</title>
            <category>BizTalk</category>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/12/Solving-the-Object-Already-Defined-Error-in-BizTalk.aspx</link>
            <description>&lt;p&gt;One of the weird BizTalk errors that's been around since version 2004 goes something like this: &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;&lt;em&gt;Error    35    &lt;br /&gt;
symbol 'MyNamespace.DataObject' is already defined; the first definition is in assembly c:\Development\Library\MyObjects.dll    &lt;br /&gt;
C:\Development\Examples\BizTalk\ObjAlreadDefined.odx    169    50     &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;This error has been blogged about several times.  &lt;a href="http://biztalkia.blogspot.com/2005/12/solving-biztalk-error-x2044.html"&gt;Example 1&lt;/a&gt; 		&lt;a href="http://blog.mikes.com.au/default,month,2006-11.aspx"&gt;Example 2&lt;/a&gt;&lt;br /&gt;
The standard "fix" is to remove the C# code that is found at the end of the orchestration file by: &lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Open the orchestration in notepad or as XML &lt;/li&gt;
    &lt;li&gt;Find (Ctrl-F) &lt;strong&gt;#endif // __DESIGNER_DATA&lt;/strong&gt; 		&lt;/li&gt;
    &lt;li&gt;Delete all of the code found below &lt;strong&gt;#endif // __DESIGNER_DATA&lt;/strong&gt; 		&lt;/li&gt;
    &lt;li&gt;Save and Recompile &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Recently, I discovered a critical issue with that fix.&lt;br /&gt;
The code that you are removing is the code that allows BizTalk to export that orchestration as a public object. &lt;br /&gt;
So if you use the standard fix, you can't call the orchestration from another orchestration. &lt;/p&gt;
&lt;p&gt;I believe that I have found the root of the problem and a much simpler fix.&lt;br /&gt;
The "Already Defined" object in my example is a reference object called &lt;strong&gt;MyNamespace.DataObject.AbstractData&lt;/strong&gt;&lt;strong&gt; &lt;/strong&gt;which is defined in &lt;strong&gt;MyObjects.dll.&lt;/strong&gt; This object is used to create a varible instance called &lt;strong&gt;DataObject&lt;/strong&gt;&lt;span style="font-weight: bold;"&gt;.&lt;/span&gt;&lt;strong /&gt;&lt;strong /&gt;&lt;br /&gt;
If I rename the variable &lt;strong&gt;DataObject&lt;/strong&gt; to &lt;strong&gt;DataObject_AbstractData&lt;/strong&gt; the compile issue goes away. &lt;/p&gt;
&lt;p&gt;IMHO, when a Web Reference is added to the project, the orchestration compiler is no longer able to distinguish between part of a namespace and a variable instance of the same name. &lt;/p&gt;
&lt;p&gt;So the moral of the story is to make sure your variable names don't conflict with any part of a namespace that in reference by your project. This "rule" goes for any variable. &lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113898"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113898" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/113898.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/12/Solving-the-Object-Already-Defined-Error-in-BizTalk.aspx</guid>
            <pubDate>Thu, 12 Jul 2007 19:07:05 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/113898.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/12/Solving-the-Object-Already-Defined-Error-in-BizTalk.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/113898.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/113898.aspx</trackback:ping>
        </item>
        <item>
            <title>Copying Elements with No Namespace in XSLT 1.0</title>
            <category>All Things XML</category>
            <category>BizTalk</category>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/07/Copying-Elements-with-No-Namespace-in-XSLT-1.0.aspx</link>
            <description>&lt;p&gt;XSLT 2.0 is a wonderful standard. &lt;br /&gt;
One of the very useful additions is the ability to control the copying of namespace attribute within the copy and copy-of functions. &lt;br /&gt;
However, you don't always have the opportunity to work with the latest and greatest standard. &lt;/p&gt;
&lt;p&gt;Below is a set of XSLT templates that will copy an Element in it's entirely without dragging along the namespaces. &lt;br /&gt;
Here is an example of how to call the template to copy and element to the destination document.&lt;br /&gt;
The example creates an Destination Name call Data the contains all of the contents of the Source node XmlData. &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Courier New; font-size: 10pt;"&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;xsl:element&lt;/span&gt;&lt;span style="color: blue;"&gt; 			&lt;/span&gt;&lt;span style="color: red;"&gt;name&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;Data&lt;/span&gt;"&lt;span style="color: blue;"&gt;&amp;gt;&lt;br /&gt;
    &amp;lt;!—&lt;/span&gt;&lt;span style="color: green;"&gt;COPY CURRENT ELEMENT without Namespaces &lt;/span&gt;&lt;span style="color: blue;"&gt;--&amp;gt;&lt;br /&gt;
    &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="color: blue;"&gt; 			&lt;/span&gt;&lt;span style="color: red;"&gt;name&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;copy-node&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;br /&gt;
        &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;xsl:with-param&lt;/span&gt;&lt;span style="color: blue;"&gt; 			&lt;/span&gt;&lt;span style="color: red;"&gt;name&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;node&lt;/span&gt;"&lt;span style="color: blue;"&gt; 			&lt;/span&gt;&lt;span style="color: red;"&gt;select&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;/XmlData&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;br /&gt;
    &amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;br /&gt;
&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;xsl:element&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;hr style="width: 100%; height: 2px;" /&gt;
&lt;p style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;!--&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copy Node: Primary Call &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;--&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;copy-node&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:param&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;node&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;copy-element&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 0.5in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:with-param &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;element&lt;/span&gt;"&lt;span style="color: red;"&gt; select&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;$node&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;br /&gt;
&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;       &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;!--&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt;Copy Element&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Reprocesses Element in the output document:&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copies Attributes&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copies Text&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copies Child Nodes&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;--&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:template &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;copy-element&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:param &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;element&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:if &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;test&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;$element&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 0.5in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:element&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;{name($element)}&lt;/span&gt;"&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;!--&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copy Attributes &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;--&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:call-template &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;copy-attribute&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1.5in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:with-param&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;attribute&lt;/span&gt;"&lt;span style="color: red;"&gt; select&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;$element/@*&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt; &lt;/div&gt;
&lt;p style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;!--&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copy Text &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;--&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:value-of &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;select&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;$element/text()&lt;/span&gt;"&lt;span style="color: blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt; &lt;/div&gt;
&lt;p style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;!--&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copy Child Nodes &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;--&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;&amp;lt;xsl:for-each &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;select&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;$element/*&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1.5in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;copy-node&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 2in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:with-param&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;node&lt;/span&gt;"&lt;span style="color: red;"&gt; select&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;.&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1.5in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:for-each&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;              &amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:element&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:if&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;       &lt;/span&gt;&lt;/div&gt;
&lt;p style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;!--&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copy Attribute &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;--&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;copy-attribute&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;       &amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:param&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;attribute&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;       &amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:if &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;test&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;$attribute&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;              &amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:attribute &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;{name($attribute)}&lt;/span&gt;"&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;                     &amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:value-of&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; select&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;$attribute&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;              &amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:attribute&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;       &amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:if&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size: 9pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:template&lt;/span&gt;&lt;span style="font-size: 9pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113760"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113760" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/113760.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/07/Copying-Elements-with-No-Namespace-in-XSLT-1.0.aspx</guid>
            <pubDate>Sat, 07 Jul 2007 18:26:13 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/113760.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/07/Copying-Elements-with-No-Namespace-in-XSLT-1.0.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/113760.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/113760.aspx</trackback:ping>
        </item>
        <item>
            <title>Keep Common Message and Port Types in an Empty Orchestration</title>
            <category>BizTalk</category>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/05/113710.aspx</link>
            <description>&lt;p&gt;I'm working on a project where we are using a lot of common message types to abstract message handling logic. 
&lt;/p&gt;&lt;p&gt;Early on it became a real pain to recreate the same Multi-part message types and Ports for each Orchestration that was using these common messages.&lt;br /&gt;To simplify development and maintenance of these types, I created a "Common Types" orchestration. &lt;br /&gt;There is no logic in the Orchestration; it just defines commonly used schemas as Multi-Part Message Types.  The associated Port Types are also defined.
&lt;/p&gt;&lt;p&gt;Just define the type as public and reference the Common Types projects in the other Orchestration projects and you are ready to go.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113710"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113710" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/113710.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/05/113710.aspx</guid>
            <pubDate>Thu, 05 Jul 2007 23:23:12 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/113710.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/05/113710.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/113710.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/113710.aspx</trackback:ping>
        </item>
    </channel>
</rss>