<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" version="2.0">
  <channel>
    <title>Riisbrich.dk - BizTalk</title>
    <link>http://www.riisbrich.dk/</link>
    <description>virtual playground</description>
    <language>en-us</language>
    <copyright>Troels Riisbrich Underlien</copyright>
    <lastBuildDate>Wed, 28 Nov 2007 19:50:19 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.0.7180.0</generator>
    <managingEditor>troels@riisbrich.dk</managingEditor>
    <webMaster>troels@riisbrich.dk</webMaster>
    <item>
      <trackback:ping>http://www.riisbrich.dk/Trackback.aspx?guid=983f0750-1536-41cd-b0d6-1c37652bc1ed</trackback:ping>
      <pingback:server>http://www.riisbrich.dk/pingback.aspx</pingback:server>
      <pingback:target>http://www.riisbrich.dk/PermaLink,guid,983f0750-1536-41cd-b0d6-1c37652bc1ed.aspx</pingback:target>
      <dc:creator>Riisbrich</dc:creator>
      <wfw:comment>http://www.riisbrich.dk/CommentView,guid,983f0750-1536-41cd-b0d6-1c37652bc1ed.aspx</wfw:comment>
      <wfw:commentRss>http://www.riisbrich.dk/SyndicationService.asmx/GetEntryCommentsRss?guid=983f0750-1536-41cd-b0d6-1c37652bc1ed</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
When you work with BizTalk, you work with XML, and when you work with XML, you are
bound to run in to the need to do simple queries against an XML file. The answer of
course is XPath queries; essentially just a matter of indicating a path through an
XML file leading to a specific element – or set of elements – you want to extract. 
</p>
        <p>
As is the case – again when working with BizTalk – these files will typically have
one or several namespaces. I created two very similar XML files for the sample (full
links to all files are found at the end of the post). The files are invoices and have
a standard items loop with some references at the item level that I will be accessing.
In overview the files look like the following. 
</p>
        <p>
What I want is to find the value of the reference to the order number for the first <i>Item</i>.
That is the value of the <i>ReferenceValue</i> element when the sibling <i>ReferenceType</i> element
has a value of ‘OrderNumber’. 
<br /><br /><strong>XML with <em>one</em> namespace</strong><table class="code" unselectable="on"><tbody><tr><td><!--
{\rtf1\ansi\ansicpg\lang1024\noproof65001\uc1 \deff0{\fonttbl{\f0\fnil\fcharset0\fprq1 Courier New;}}{\colortbl;??\red0\green0\blue255;\red255\green255\blue255;\red163\green21\blue21;\red255\green0\blue0;\red0\green0\blue0;}??\fs20 \cf1 &lt;?\cf3 xml\cf1  \cf4 version\cf1 =\cf0 "\cf1 1.0\cf0 "\cf1  \cf4 encoding\cf1 =\cf0 "\cf1 utf-8\cf0 "\cf1  ?&gt;\par ??&lt;\cf3 ns0:Invoice\cf1  \cf4 xmlns:ns0\cf1 =\cf0 "\cf1 http://XPathTest/Schemas/Invoice\cf0 "\cf1 &gt;\par ??\tab &lt;\cf3 Items\cf1 &gt;\par ??\tab \tab &lt;\cf3 Item\cf1 &gt;\par ??\tab \tab \tab &lt;\cf3 Reference\cf1 &gt;\par ??\tab \tab \tab \tab &lt;\cf3 ReferenceType\cf1 &gt;\cf0 OrderNumber\cf1 &lt;/\cf3 ReferenceType\cf1 &gt;\par ??\tab \tab \tab \tab &lt;\cf3 ReferenceValue\cf1 &gt;\cf0 1\cf1 &lt;/\cf3 ReferenceValue\cf1 &gt;\par ??\tab \tab \tab &lt;/\cf3 Reference\cf1 &gt;\par ??\tab \tab \tab &lt;\cf3 Reference\cf1 &gt;\par ??\tab \tab \tab \tab &lt;\cf3 ReferenceType\cf1 &gt;\cf0 DeliveryNoteNumber\cf1 &lt;/\cf3 ReferenceType\cf1 &gt;\par ??\tab \tab \tab \tab &lt;\cf3 ReferenceValue\cf1 &gt;\cf0 1\cf1 &lt;/\cf3 ReferenceValue\cf1 &gt;\par ??\tab \tab \tab &lt;/\cf3 Reference\cf1 &gt;\par ??\tab \tab &lt;/\cf3 Item\cf1 &gt;\par ??\cf0 \tab \tab .\par ??\tab \tab .}
--><div style="font-size: 8pt; background: white; color: black; font-family: courier new"><p style="margin: 0px"><span style="color: #2b91af"> 1</span> <span style="color: blue">&lt;?</span><span style="color: #a31515">xml</span><span style="color: blue"></span><span style="color: red">version</span><span style="color: blue">=</span>"<span style="color: blue">1.0</span>"<span style="color: blue"></span><span style="color: red">encoding</span><span style="color: blue">=</span>"<span style="color: blue">utf-8</span>"<span style="color: blue"> ?&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 2</span> <span style="color: blue">&lt;</span><span style="color: #a31515">ns0:Invoice</span><span style="color: blue"></span><span style="color: red">xmlns:ns0</span><span style="color: blue">=</span>"<span style="color: blue">http://XPathTest/Schemas/Invoice</span>"<span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 3</span> <span style="color: blue"> 
&lt;</span><span style="color: #a31515">Items</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 4</span> <span style="color: blue"> 
  &lt;</span><span style="color: #a31515">Item</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 5</span> <span style="color: blue"> 
    &lt;</span><span style="color: #a31515">Reference</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 6</span> <span style="color: blue"> 
      &lt;</span><span style="color: #a31515">ReferenceType</span><span style="color: blue">&gt;</span>OrderNumber<span style="color: blue">&lt;/</span><span style="color: #a31515">ReferenceType</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 7</span> <span style="color: blue"> 
      &lt;</span><span style="color: #a31515">ReferenceValue</span><span style="color: blue">&gt;</span>1<span style="color: blue">&lt;/</span><span style="color: #a31515">ReferenceValue</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 8</span> <span style="color: blue"> 
    &lt;/</span><span style="color: #a31515">Reference</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 9</span> <span style="color: blue"> 
    &lt;</span><span style="color: #a31515">Reference</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af">10</span> <span style="color: blue">   
    &lt;</span><span style="color: #a31515">ReferenceType</span><span style="color: blue">&gt;</span>DeliveryNoteNumber<span style="color: blue">&lt;/</span><span style="color: #a31515">ReferenceType</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af">11</span> <span style="color: blue">   
    &lt;</span><span style="color: #a31515">ReferenceValue</span><span style="color: blue">&gt;</span>1<span style="color: blue">&lt;/</span><span style="color: #a31515">ReferenceValue</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af">12</span> <span style="color: blue">   
  &lt;/</span><span style="color: #a31515">Reference</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af">13</span> <span style="color: blue">   
&lt;/</span><span style="color: #a31515">Item</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af">14</span>     .
</p><p style="margin: 0px"><span style="color: #2b91af">15</span>     .
</p></div></td></tr></tbody></table></p>
        <p>
For our file with <i>one</i> namespace this is quite simple as XPath assumes all elements
in our query are from the default namespace – because nothing else is expressed. Therefore
we only have to include the name of the elements in our query which ends up looking
like the following.
</p>
        <table class="code" unselectable="on">
          <tbody>
            <tr>
              <td>
                <!--
{\rtf1\ansi\ansicpg\lang1024\noproof65001\uc1 \deff0{\fonttbl{\f0\fnil\fcharset0\fprq1 Courier New;}}{\colortbl;??\red0\green0\blue0;\red255\green255\blue255;}??\fs20 //Items/Item[1]/Reference[ReferenceType='OrderNumber']/ReferenceValue}
-->
                <div style="font-size: 8pt; background: white; color: black; font-family: courier new">
                  <p style="margin: 0px">
//Items/Item[1]/Reference[ReferenceType='OrderNumber']/ReferenceValue
</p>
                </div>
              </td>
            </tr>
          </tbody>
        </table>
        <p>
I am applying two different filters; the index filter to get the first Item element
out of a number of repeating elements and a value filter to get the <i>Reference</i> element
where the child <i>ReferenceType</i> element has a specific value.<br /><br /><strong>With <em>two</em> namespaces</strong><table class="code" unselectable="on"><tbody><tr><td><!--
{\rtf1\ansi\ansicpg\lang1024\noproof65001\uc1 \deff0{\fonttbl{\f0\fnil\fcharset0\fprq1 Courier New;}}{\colortbl;??\red0\green0\blue255;\red255\green255\blue255;\red163\green21\blue21;\red255\green0\blue0;\red0\green0\blue0;}??\fs20 \cf1 &lt;?\cf3 xml\cf1  \cf4 version\cf1 =\cf0 "\cf1 1.0\cf0 "\cf1  \cf4 encoding\cf1 =\cf0 "\cf1 utf-8\cf0 "\cf1  ?&gt;\par ??&lt;\cf3 ns0:Invoice\cf1  \cf4 xmlns:ns0\cf1 =\cf0 "\cf1 http://XPathTest/Schemas/Invoice\cf0 "\cf1 &gt;\par ??\tab &lt;\cf3 Items\cf1 &gt;\par ??\tab \tab &lt;\cf3 ns2:Item\cf1  \cf4 xmlns:ns2\cf1 =\cf0 "\cf1 http://XPathTest/Schemas/Item\cf0 "\cf1 &gt;\par ??\tab \tab \tab &lt;\cf3 ns2:Reference\cf1 &gt;\par ??\tab \tab \tab \tab &lt;\cf3 ns2:ReferenceType\cf1 &gt;\cf0 OrderNumber\cf1 &lt;/\cf3 ns2:ReferenceType\cf1 &gt;\par ??\tab \tab \tab \tab &lt;\cf3 ns2:ReferenceValue\cf1 &gt;\cf0 1\cf1 &lt;/\cf3 ns2:ReferenceValue\cf1 &gt;\par ??\tab \tab \tab &lt;/\cf3 ns2:Reference\cf1 &gt;\par ??\tab \tab \tab &lt;\cf3 ns2:Reference\cf1 &gt;\par ??\tab \tab \tab \tab &lt;\cf3 ns2:ReferenceType\cf1 &gt;\cf0 DeliveryNoteNumber\cf1 &lt;/\cf3 ns2:ReferenceType\cf1 &gt;\par ??\tab \tab \tab \tab &lt;\cf3 ns2:ReferenceValue\cf1 &gt;\cf0 1\cf1 &lt;/\cf3 ns2:ReferenceValue\cf1 &gt;\par ??\tab \tab \tab &lt;/\cf3 ns2:Reference\cf1 &gt;\par ??\tab \tab &lt;/\cf3 ns2:Item\cf1 &gt;\par ??\cf0 \tab \tab .\par ??\tab \tab .}
--><div style="font-size: 8pt; background: white; color: black; font-family: courier new"><p style="margin: 0px"><span style="color: #2b91af"> 1</span> <span style="color: blue">&lt;?</span><span style="color: #a31515">xml</span><span style="color: blue"></span><span style="color: red">version</span><span style="color: blue">=</span>"<span style="color: blue">1.0</span>"<span style="color: blue"></span><span style="color: red">encoding</span><span style="color: blue">=</span>"<span style="color: blue">utf-8</span>"<span style="color: blue"> ?&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 2</span> <span style="color: blue">&lt;</span><span style="color: #a31515">ns0:Invoice</span><span style="color: blue"></span><span style="color: red">xmlns:ns0</span><span style="color: blue">=</span>"<span style="color: blue">http://XPathTest/Schemas/Invoice</span>"<span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 3</span> <span style="color: blue"> 
&lt;</span><span style="color: #a31515">Items</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 4</span> <span style="color: blue"> 
  &lt;</span><span style="color: #a31515">ns2:Item</span><span style="color: blue"></span><span style="color: red">xmlns:ns2</span><span style="color: blue">=</span>"<span style="color: blue">http://XPathTest/Schemas/Item</span>"<span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 5</span> <span style="color: blue"> 
    &lt;</span><span style="color: #a31515">ns2:Reference</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 6</span> <span style="color: blue"> 
      &lt;</span><span style="color: #a31515">ns2:ReferenceType</span><span style="color: blue">&gt;</span>OrderNumber<span style="color: blue">&lt;/</span><span style="color: #a31515">ns2:ReferenceType</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 7</span> <span style="color: blue"> 
      &lt;</span><span style="color: #a31515">ns2:ReferenceValue</span><span style="color: blue">&gt;</span>1<span style="color: blue">&lt;/</span><span style="color: #a31515">ns2:ReferenceValue</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 8</span> <span style="color: blue"> 
    &lt;/</span><span style="color: #a31515">ns2:Reference</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af"> 9</span> <span style="color: blue"> 
    &lt;</span><span style="color: #a31515">ns2:Reference</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af">10</span> <span style="color: blue">   
    &lt;</span><span style="color: #a31515">ns2:ReferenceType</span><span style="color: blue">&gt;</span>DeliveryNoteNumber<span style="color: blue">&lt;/</span><span style="color: #a31515">ns2:ReferenceType</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af">11</span> <span style="color: blue">   
    &lt;</span><span style="color: #a31515">ns2:ReferenceValue</span><span style="color: blue">&gt;</span>1<span style="color: blue">&lt;/</span><span style="color: #a31515">ns2:ReferenceValue</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af">12</span> <span style="color: blue">   
  &lt;/</span><span style="color: #a31515">ns2:Reference</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af">13</span> <span style="color: blue">   
&lt;/</span><span style="color: #a31515">ns2:Item</span><span style="color: blue">&gt;</span></p><p style="margin: 0px"><span style="color: #2b91af">14</span>     .
</p><p style="margin: 0px"><span style="color: #2b91af">15</span>     .
</p></div></td></tr></tbody></table></p>
        <p>
For our file with <i>two</i> namespaces we have to indicate the namespaces for all
the elements not found in the default namespace of the file which strongly affects
the readability as can be seen from the resulting query. (Where I have added line
brakes for readability only)
</p>
        <table class="code" unselectable="on">
          <tbody>
            <tr>
              <td>
                <!--
{\rtf1\ansi\ansicpg\lang1024\noproof65001\uc1 \deff0{\fonttbl{\f0\fnil\fcharset0\fprq1 Courier New;}}{\colortbl;??\red0\green0\blue0;\red255\green255\blue255;}??\fs20 //Items\par ??/*[local-name()='Item' and namespace-uri()='http://XPathTest/Schemas/Item'][1]\par ??/*[local-name()='Reference' and namespace-uri()='http://XPathTest/Schemas/Item']\par ??/*[local-name()='ReferenceType' and namespace-uri()='http://XPathTest/Schemas/Item' and .= 'OrderNumber']\par ??/..\par ??/*[local-name()='ReferenceValue' and namespace-uri()='http://XPathTest/Schemas/Item']}
-->
                <div style="font-size: 8pt; background: white; color: black; font-family: courier new">
                  <p style="margin: 0px">
                    <span style="color: #2b91af"> 1</span> //Items
</p>
                  <p style="margin: 0px">
                    <span style="color: #2b91af"> 2</span> /*[local-name()='Item' and namespace-uri()<br />
     ='http://XPathTest/Schemas/Item'][1]
</p>
                  <p style="margin: 0px">
                    <span style="color: #2b91af"> 3</span> /*[local-name()='Reference' and namespace-uri()<br />
     ='http://XPathTest/Schemas/Item']
</p>
                  <p style="margin: 0px">
                    <span style="color: #2b91af"> 4</span> /*[local-name()='ReferenceType' and
namespace-uri()<br />
     ='http://XPathTest/Schemas/Item' and .= 'OrderNumber']
</p>
                  <p style="margin: 0px">
                    <span style="color: #2b91af"> 5</span> /..
</p>
                  <p style="margin: 0px">
                    <span style="color: #2b91af"> 6</span> /*[local-name()='ReferenceValue'
and namespace-uri()<br />
     ='http://XPathTest/Schemas/Item']
</p>
                </div>
              </td>
            </tr>
          </tbody>
        </table>
        <blockquote>
          <p>
2. The index filter is applied in the same way as with the file with one namespace.
</p>
        </blockquote>
        <blockquote>
          <p>
4. For the file with <i>one</i> namespace we applied the value filter at the level
of the <i>Reference</i> element where we could indicate we only wanted that element
when the child called <i>ReferenceType</i> had a specific value.<br /><br />
For the file with <i>two</i> namespaces we have to move down to the actual <i>ReferenceType</i> element
and indicate we only want that element when it has a specific value.
</p>
        </blockquote>
        <blockquote>
          <p>
5. Then we move back up to the parent of the – the <i>Reference</i> element.
</p>
        </blockquote>
        <blockquote>
          <p>
6. Because we really want to move back down to the <i>ReferenceValue</i> element –
which is want we wanted to find.
</p>
        </blockquote>
        <p>
If you want to grab the files and test for yourself: 
</p>
        <p>
          <a href="www.riisbrich.dk/Samples/XpathAndNamespaces/HasOneNamespace.xml" target="_blank">File
with one namespace</a>
        </p>
        <p>
          <a href="www.riisbrich.dk/Samples/XpathAndNamespaces/HasNamespaces.xml" target="_blank">File
with two namespaces</a>
        </p>
        <p>
          <a href="www.riisbrich.dk/Samples/XpathAndNamespaces/XPathQueries.txt" target="_blank">Text
file with the two XPath queries</a>
        </p>
        <img width="0" height="0" src="http://www.riisbrich.dk/aggbug.ashx?id=983f0750-1536-41cd-b0d6-1c37652bc1ed" />
      </body>
      <title>XPath and Namespaces</title>
      <guid isPermaLink="false">http://www.riisbrich.dk/PermaLink,guid,983f0750-1536-41cd-b0d6-1c37652bc1ed.aspx</guid>
      <link>http://www.riisbrich.dk/2007/11/28/XPathAndNamespaces.aspx</link>
      <pubDate>Wed, 28 Nov 2007 19:50:19 GMT</pubDate>
      <description>&lt;p&gt;
When you work with BizTalk, you work with XML, and when you work with XML, you are
bound to run in to the need to do simple queries against an XML file. The answer of
course is XPath queries; essentially just a matter of indicating a path through an
XML file leading to a specific element – or set of elements – you want to extract. 
&lt;p&gt;
As is the case – again when working with BizTalk – these files will typically have
one or several namespaces. I created two very similar XML files for the sample (full
links to all files are found at the end of the post). The files are invoices and have
a standard items loop with some references at the item level that I will be accessing.
In overview the files look like the following. 
&lt;p&gt;
What I want is to find the value of the reference to the order number for the first &lt;i&gt;Item&lt;/i&gt;.
That is the value of the &lt;i&gt;ReferenceValue&lt;/i&gt; element when the sibling &lt;i&gt;ReferenceType&lt;/i&gt; element
has a value of ‘OrderNumber’. 
&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;XML with &lt;em&gt;one&lt;/em&gt; namespace&lt;/strong&gt; 
&lt;table class="code" unselectable="on"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;!--
{\rtf1\ansi\ansicpg\lang1024\noproof65001\uc1 \deff0{\fonttbl{\f0\fnil\fcharset0\fprq1 Courier New;}}{\colortbl;??\red0\green0\blue255;\red255\green255\blue255;\red163\green21\blue21;\red255\green0\blue0;\red0\green0\blue0;}??\fs20 \cf1 &amp;lt;?\cf3 xml\cf1  \cf4 version\cf1 =\cf0 "\cf1 1.0\cf0 "\cf1  \cf4 encoding\cf1 =\cf0 "\cf1 utf-8\cf0 "\cf1  ?&amp;gt;\par ??&amp;lt;\cf3 ns0:Invoice\cf1  \cf4 xmlns:ns0\cf1 =\cf0 "\cf1 http://XPathTest/Schemas/Invoice\cf0 "\cf1 &amp;gt;\par ??\tab &amp;lt;\cf3 Items\cf1 &amp;gt;\par ??\tab \tab &amp;lt;\cf3 Item\cf1 &amp;gt;\par ??\tab \tab \tab &amp;lt;\cf3 Reference\cf1 &amp;gt;\par ??\tab \tab \tab \tab &amp;lt;\cf3 ReferenceType\cf1 &amp;gt;\cf0 OrderNumber\cf1 &amp;lt;/\cf3 ReferenceType\cf1 &amp;gt;\par ??\tab \tab \tab \tab &amp;lt;\cf3 ReferenceValue\cf1 &amp;gt;\cf0 1\cf1 &amp;lt;/\cf3 ReferenceValue\cf1 &amp;gt;\par ??\tab \tab \tab &amp;lt;/\cf3 Reference\cf1 &amp;gt;\par ??\tab \tab \tab &amp;lt;\cf3 Reference\cf1 &amp;gt;\par ??\tab \tab \tab \tab &amp;lt;\cf3 ReferenceType\cf1 &amp;gt;\cf0 DeliveryNoteNumber\cf1 &amp;lt;/\cf3 ReferenceType\cf1 &amp;gt;\par ??\tab \tab \tab \tab &amp;lt;\cf3 ReferenceValue\cf1 &amp;gt;\cf0 1\cf1 &amp;lt;/\cf3 ReferenceValue\cf1 &amp;gt;\par ??\tab \tab \tab &amp;lt;/\cf3 Reference\cf1 &amp;gt;\par ??\tab \tab &amp;lt;/\cf3 Item\cf1 &amp;gt;\par ??\cf0 \tab \tab .\par ??\tab \tab .}
--&gt;
&lt;div style="font-size: 8pt; background: white; color: black; font-family: courier new"&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;1&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color: #a31515"&gt;xml&lt;/span&gt;&lt;span style="color: blue"&gt; &lt;/span&gt;&lt;span style="color: red"&gt;version&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;1.0&lt;/span&gt;"&lt;span style="color: blue"&gt; &lt;/span&gt;&lt;span style="color: red"&gt;encoding&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;utf-8&lt;/span&gt;"&lt;span style="color: blue"&gt; ?&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;2&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns0:Invoice&lt;/span&gt;&lt;span style="color: blue"&gt; &lt;/span&gt;&lt;span style="color: red"&gt;xmlns:ns0&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;http://XPathTest/Schemas/Invoice&lt;/span&gt;"&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;3&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Items&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;4&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Item&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;5&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Reference&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;6&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ReferenceType&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;OrderNumber&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ReferenceType&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;7&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ReferenceValue&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;1&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ReferenceValue&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;8&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Reference&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;9&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Reference&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;10&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ReferenceType&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;DeliveryNoteNumber&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ReferenceType&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;11&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ReferenceValue&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;1&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ReferenceValue&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;12&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Reference&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;13&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp; &amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Item&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;14&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; .
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;15&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; .
&lt;/p&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/p&gt;
&lt;p&gt;
For our file with &lt;i&gt;one&lt;/i&gt; namespace this is quite simple as XPath assumes all elements
in our query are from the default namespace – because nothing else is expressed. Therefore
we only have to include the name of the elements in our query which ends up looking
like the following.
&lt;/p&gt;
&lt;table class="code" unselectable="on"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;!--
{\rtf1\ansi\ansicpg\lang1024\noproof65001\uc1 \deff0{\fonttbl{\f0\fnil\fcharset0\fprq1 Courier New;}}{\colortbl;??\red0\green0\blue0;\red255\green255\blue255;}??\fs20 //Items/Item[1]/Reference[ReferenceType='OrderNumber']/ReferenceValue}
--&gt;
&lt;div style="font-size: 8pt; background: white; color: black; font-family: courier new"&gt;
&lt;p style="margin: 0px"&gt;
//Items/Item[1]/Reference[ReferenceType='OrderNumber']/ReferenceValue
&lt;/p&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
I am applying two different filters; the index filter to get the first Item element
out of a number of repeating elements and a value filter to get the &lt;i&gt;Reference&lt;/i&gt; element
where the child &lt;i&gt;ReferenceType&lt;/i&gt; element has a specific value.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;With &lt;em&gt;two&lt;/em&gt; namespaces&lt;/strong&gt; 
&lt;table class="code" unselectable="on"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;!--
{\rtf1\ansi\ansicpg\lang1024\noproof65001\uc1 \deff0{\fonttbl{\f0\fnil\fcharset0\fprq1 Courier New;}}{\colortbl;??\red0\green0\blue255;\red255\green255\blue255;\red163\green21\blue21;\red255\green0\blue0;\red0\green0\blue0;}??\fs20 \cf1 &amp;lt;?\cf3 xml\cf1  \cf4 version\cf1 =\cf0 "\cf1 1.0\cf0 "\cf1  \cf4 encoding\cf1 =\cf0 "\cf1 utf-8\cf0 "\cf1  ?&amp;gt;\par ??&amp;lt;\cf3 ns0:Invoice\cf1  \cf4 xmlns:ns0\cf1 =\cf0 "\cf1 http://XPathTest/Schemas/Invoice\cf0 "\cf1 &amp;gt;\par ??\tab &amp;lt;\cf3 Items\cf1 &amp;gt;\par ??\tab \tab &amp;lt;\cf3 ns2:Item\cf1  \cf4 xmlns:ns2\cf1 =\cf0 "\cf1 http://XPathTest/Schemas/Item\cf0 "\cf1 &amp;gt;\par ??\tab \tab \tab &amp;lt;\cf3 ns2:Reference\cf1 &amp;gt;\par ??\tab \tab \tab \tab &amp;lt;\cf3 ns2:ReferenceType\cf1 &amp;gt;\cf0 OrderNumber\cf1 &amp;lt;/\cf3 ns2:ReferenceType\cf1 &amp;gt;\par ??\tab \tab \tab \tab &amp;lt;\cf3 ns2:ReferenceValue\cf1 &amp;gt;\cf0 1\cf1 &amp;lt;/\cf3 ns2:ReferenceValue\cf1 &amp;gt;\par ??\tab \tab \tab &amp;lt;/\cf3 ns2:Reference\cf1 &amp;gt;\par ??\tab \tab \tab &amp;lt;\cf3 ns2:Reference\cf1 &amp;gt;\par ??\tab \tab \tab \tab &amp;lt;\cf3 ns2:ReferenceType\cf1 &amp;gt;\cf0 DeliveryNoteNumber\cf1 &amp;lt;/\cf3 ns2:ReferenceType\cf1 &amp;gt;\par ??\tab \tab \tab \tab &amp;lt;\cf3 ns2:ReferenceValue\cf1 &amp;gt;\cf0 1\cf1 &amp;lt;/\cf3 ns2:ReferenceValue\cf1 &amp;gt;\par ??\tab \tab \tab &amp;lt;/\cf3 ns2:Reference\cf1 &amp;gt;\par ??\tab \tab &amp;lt;/\cf3 ns2:Item\cf1 &amp;gt;\par ??\cf0 \tab \tab .\par ??\tab \tab .}
--&gt;
&lt;div style="font-size: 8pt; background: white; color: black; font-family: courier new"&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;1&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color: #a31515"&gt;xml&lt;/span&gt;&lt;span style="color: blue"&gt; &lt;/span&gt;&lt;span style="color: red"&gt;version&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;1.0&lt;/span&gt;"&lt;span style="color: blue"&gt; &lt;/span&gt;&lt;span style="color: red"&gt;encoding&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;utf-8&lt;/span&gt;"&lt;span style="color: blue"&gt; ?&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;2&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns0:Invoice&lt;/span&gt;&lt;span style="color: blue"&gt; &lt;/span&gt;&lt;span style="color: red"&gt;xmlns:ns0&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;http://XPathTest/Schemas/Invoice&lt;/span&gt;"&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;3&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Items&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;4&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:Item&lt;/span&gt;&lt;span style="color: blue"&gt; &lt;/span&gt;&lt;span style="color: red"&gt;xmlns:ns2&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;http://XPathTest/Schemas/Item&lt;/span&gt;"&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;5&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:Reference&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;6&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:ReferenceType&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;OrderNumber&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:ReferenceType&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;7&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:ReferenceValue&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;1&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:ReferenceValue&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;8&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:Reference&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;9&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:Reference&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;10&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:ReferenceType&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;DeliveryNoteNumber&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:ReferenceType&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;11&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:ReferenceValue&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;1&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:ReferenceValue&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;12&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:Reference&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;13&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;&amp;nbsp; &amp;nbsp;
&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ns2:Item&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;14&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; .
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;15&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; .
&lt;/p&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
For our file with &lt;i&gt;two&lt;/i&gt; namespaces we have to indicate the namespaces for all
the elements not found in the default namespace of the file which strongly affects
the readability as can be seen from the resulting query. (Where I have added line
brakes for readability only)
&lt;/p&gt;
&lt;table class="code" unselectable="on"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;!--
{\rtf1\ansi\ansicpg\lang1024\noproof65001\uc1 \deff0{\fonttbl{\f0\fnil\fcharset0\fprq1 Courier New;}}{\colortbl;??\red0\green0\blue0;\red255\green255\blue255;}??\fs20 //Items\par ??/*[local-name()='Item' and namespace-uri()='http://XPathTest/Schemas/Item'][1]\par ??/*[local-name()='Reference' and namespace-uri()='http://XPathTest/Schemas/Item']\par ??/*[local-name()='ReferenceType' and namespace-uri()='http://XPathTest/Schemas/Item' and .= 'OrderNumber']\par ??/..\par ??/*[local-name()='ReferenceValue' and namespace-uri()='http://XPathTest/Schemas/Item']}
--&gt;
&lt;div style="font-size: 8pt; background: white; color: black; font-family: courier new"&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;1&lt;/span&gt;&amp;nbsp;//Items
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;2&lt;/span&gt;&amp;nbsp;/*[local-name()='Item' and namespace-uri()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;='http://XPathTest/Schemas/Item'][1]
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;3&lt;/span&gt;&amp;nbsp;/*[local-name()='Reference' and namespace-uri()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;='http://XPathTest/Schemas/Item']
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;4&lt;/span&gt;&amp;nbsp;/*[local-name()='ReferenceType' and
namespace-uri()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;='http://XPathTest/Schemas/Item' and .= 'OrderNumber']
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;5&lt;/span&gt;&amp;nbsp;/..
&lt;/p&gt;
&lt;p style="margin: 0px"&gt;
&lt;span style="color: #2b91af"&gt;&amp;nbsp;6&lt;/span&gt;&amp;nbsp;/*[local-name()='ReferenceValue'
and namespace-uri()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;='http://XPathTest/Schemas/Item']
&lt;/p&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;blockquote&gt; 
&lt;p&gt;
2. The index filter is applied in the same way as with the file with one namespace.
&lt;/p&gt;
&lt;/blockquote&gt; &lt;blockquote&gt; 
&lt;p&gt;
4. For the file with &lt;i&gt;one&lt;/i&gt; namespace we applied the value filter at the level
of the &lt;i&gt;Reference&lt;/i&gt; element where we could indicate we only wanted that element
when the child called &lt;i&gt;ReferenceType&lt;/i&gt; had a specific value.&lt;br&gt;
&lt;br&gt;
For the file with &lt;i&gt;two&lt;/i&gt; namespaces we have to move down to the actual &lt;i&gt;ReferenceType&lt;/i&gt; element
and indicate we only want that element when it has a specific value.
&lt;/p&gt;
&lt;/blockquote&gt; &lt;blockquote&gt; 
&lt;p&gt;
5. Then we move back up to the parent of the – the &lt;i&gt;Reference&lt;/i&gt; element.
&lt;/p&gt;
&lt;/blockquote&gt; &lt;blockquote&gt; 
&lt;p&gt;
6. Because we really want to move back down to the &lt;i&gt;ReferenceValue&lt;/i&gt; element –
which is want we wanted to find.
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
If you want to grab the files and test for yourself: 
&lt;p&gt;
&lt;a href="www.riisbrich.dk/Samples/XpathAndNamespaces/HasOneNamespace.xml" target="_blank"&gt;File
with one namespace&lt;/a&gt; 
&lt;p&gt;
&lt;a href="www.riisbrich.dk/Samples/XpathAndNamespaces/HasNamespaces.xml" target="_blank"&gt;File
with two namespaces&lt;/a&gt; 
&lt;p&gt;
&lt;a href="www.riisbrich.dk/Samples/XpathAndNamespaces/XPathQueries.txt" target="_blank"&gt;Text
file with the two XPath queries&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.riisbrich.dk/aggbug.ashx?id=983f0750-1536-41cd-b0d6-1c37652bc1ed" /&gt;</description>
      <comments>http://www.riisbrich.dk/CommentView,guid,983f0750-1536-41cd-b0d6-1c37652bc1ed.aspx</comments>
      <category>BizTalk</category>
    </item>
    <item>
      <trackback:ping>http://www.riisbrich.dk/Trackback.aspx?guid=98dfa1bd-9502-4fd5-8b42-4bda0dc72e0b</trackback:ping>
      <pingback:server>http://www.riisbrich.dk/pingback.aspx</pingback:server>
      <pingback:target>http://www.riisbrich.dk/PermaLink,guid,98dfa1bd-9502-4fd5-8b42-4bda0dc72e0b.aspx</pingback:target>
      <dc:creator>Riisbrich</dc:creator>
      <wfw:comment>http://www.riisbrich.dk/CommentView,guid,98dfa1bd-9502-4fd5-8b42-4bda0dc72e0b.aspx</wfw:comment>
      <wfw:commentRss>http://www.riisbrich.dk/SyndicationService.asmx/GetEntryCommentsRss?guid=98dfa1bd-9502-4fd5-8b42-4bda0dc72e0b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Safely back from the <a href="http://www.mssoaandbpconference.com/" target="_blank">SOA
and BPM Conference</a> in Seattle with a head full of new ideas and still tired from
jet lag, this is just a quick post to summarize the conference and show some of the
promised pictures.
</p>
        <p>
As expected it was a great conference with lots of good sessions. After a first day,
full of high level keynotes giving a good preview of Microsoft’s visions for the future
on several aspects of the SOA world, it all got a bit more technical on the following
days.  
</p>
        <table cellspacing="0" cellpadding="2" width="400" border="0" unselectable="on">
          <tbody>
            <tr>
              <td valign="top" width="80">
   
</td>
              <td valign="top" width="80">
                <a title="The Space Needle" href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200701.JPG" target="_blank" atomicselection="true">
                  <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" alt="Seattle200701_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200701_thumb_1.jpg" border="0" />
                </a>
              </td>
              <td valign="top" width="80">
                <a title="Great view of Seattle" href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200702.JPG" target="_blank" atomicselection="true">
                  <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" alt="Seattle200702_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200702_thumb_1.jpg" border="0" />
                </a>
              </td>
              <td valign="top" width="80">
                <a href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200703.JPG" target="_blank" atomicselection="true">
                  <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" alt="Seattle200703_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200703_thumb_3.jpg" border="0" />
                </a>
              </td>
              <td valign="top" width="80">
 </td>
            </tr>
            <tr>
              <td>
 </td>
              <td colspan="4">
The <a href="http://www.spaceneedle.com/" target="_blank">Space Needle</a>, Seattle
and <a href="http://www.snoqualmiefalls.com/" target="_blank">Snoqualmie Falls</a> from
the tv series <a href="http://en.wikipedia.org/wiki/Twin_Peaks" target="_blank">Twin
Peaks</a></td>
            </tr>
          </tbody>
        </table>
        <p>
I saw an excellent session deep diving into the new WCF adapters for BizTalk Server
2006 R2. It was hosted by <a href="http://www.pluralsight.com/blogs/aaron/" target="_blank">Aaron
Skonnard</a> and although it was on fast forward – an hour really isn’t much to go
through WCF <em>and</em> the new adapter framework – it gave a good impression on
how it will make BizTalk an even better backbone for a service oriented solution.
The easy exposing of services through WCF combined with the strength of the technology
together with BizTalk seems a really nice approach to inter service communication.
I will try to post a little further on this in the coming weeks.
</p>
        <p>
Another great session was on testing BizTalk solutions, held by <a href="http://blogs.msdn.com/darrenj/" target="_blank">Darren
Jefford</a>, one of the writers of the book, <a href="http://www.amazon.com/Professional-BizTalk-Server-Darren-Jefford/dp/0470046422/ref=pd_bbs_sr_1/102-0390996-2001718?ie=UTF8&amp;s=books&amp;qid=1194512499&amp;sr=8-1" target="_blank">Professional
BizTalk Server 2006</a>. The session was really a walkthrough of best practices, and
most of it can be found in that very book. It is always nice to have things repeated
though and especially when it is something you just need to know on a subject most
of us probably neglect – testing.
</p>
        <table cellspacing="0" cellpadding="2" width="400" border="0" unselectable="on">
          <tbody>
            <tr>
              <td valign="top" width="80">
   
</td>
              <td valign="top" width="80">
                <a href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200704.JPG" target="_blank" atomicselection="true">
                  <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" alt="Seattle200704_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200704_thumb_1.jpg" border="0" />
                </a>
              </td>
              <td valign="top" width="80">
                <a href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200705.JPG" target="_blank" atomicselection="true">
                  <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" alt="Seattle200705_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200705_thumb_1.jpg" border="0" />
                </a>
              </td>
              <td valign="top" width="80">
                <a href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200706.JPG" target="_blank" atomicselection="true">
                  <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" alt="Seattle200706_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200706_thumb_1.jpg" border="0" />
                </a>
              </td>
              <td valign="top" width="80">
 </td>
            </tr>
            <tr>
              <td>
 </td>
              <td colspan="4">
                <a href="http://twedescafe.com/" target="_blank">Twede's</a> from same series, <a href="http://www.boeing.com/commercial/facilities/" target="_blank">the
worlds largest building</a> and the <a href="http://www.nba.com/sonics/" target="_blank">Seattle
Sonics</a></td>
            </tr>
          </tbody>
        </table>
        <p>
          <br />
Finally there were two sessions on the ESB guidance by <a href="http://blogs.msdn.com/martywaz/" target="_blank">Marty
Wasznicky</a>. I think I have already used ‘fast forward’ in this post, but that’s
ok because the term really doesn’t begin to describe these two sessions. In the first
one Marty had just gotten the final build of the guidance and did a complete install
as a demo including running a couple of the included samples. I really must say they
have gone a long way from the earlier CTP builds I have looked at and I am looking
forward to getting my hands on this final build and installing it on my machine –
another thing there will probably be further postings on in the future.
</p>
        <p>
          <br />
Finally I just wanted to include one last picture, actually from the conference
of ’06 and not this year. Take a look at the guys computer – I really like the picture.
</p>
        <table cellspacing="0" cellpadding="2" width="464" border="0" unselectable="on">
          <tbody>
            <tr>
              <td valign="top" align="middle" width="462">
                <a href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200707.JPG" target="_blank" atomicselection="true">
                  <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" alt="Seattle200707_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200707_thumb_1.jpg" border="0" />
                </a>
              </td>
            </tr>
          </tbody>
        </table>
        <img width="0" height="0" src="http://www.riisbrich.dk/aggbug.ashx?id=98dfa1bd-9502-4fd5-8b42-4bda0dc72e0b" />
      </body>
      <title>Seattle</title>
      <guid isPermaLink="false">http://www.riisbrich.dk/PermaLink,guid,98dfa1bd-9502-4fd5-8b42-4bda0dc72e0b.aspx</guid>
      <link>http://www.riisbrich.dk/2007/11/08/Seattle.aspx</link>
      <pubDate>Thu, 08 Nov 2007 09:12:41 GMT</pubDate>
      <description>&lt;p&gt;
Safely back from the &lt;a href="http://www.mssoaandbpconference.com/" target="_blank"&gt;SOA
and BPM Conference&lt;/a&gt; in Seattle with a head full of new ideas and still tired from
jet lag, this is just a quick post to summarize the conference and show some of the
promised pictures.
&lt;/p&gt;
&lt;p&gt;
As expected it was a great conference with lots of good sessions. After a first day,
full of high level keynotes giving a good preview of Microsoft’s visions for the future
on several aspects of the SOA world, it all got a bit more technical on the following
days.&amp;nbsp; 
&lt;/p&gt;
&lt;table cellspacing="0" cellpadding="2" width="400" border="0" unselectable="on"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="80"&gt;
&amp;nbsp;&amp;nbsp; 
&lt;/td&gt;
&lt;td valign="top" width="80"&gt;
&lt;a title="The Space Needle" href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200701.JPG" target="_blank" atomicselection="true"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" alt="Seattle200701_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200701_thumb_1.jpg" border="0"&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td valign="top" width="80"&gt;
&lt;a title="Great view of Seattle" href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200702.JPG" target="_blank" atomicselection="true"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" alt="Seattle200702_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200702_thumb_1.jpg" border="0"&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td valign="top" width="80"&gt;
&lt;a href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200703.JPG" target="_blank" atomicselection="true"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" alt="Seattle200703_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200703_thumb_3.jpg" border="0"&gt;&lt;/a&gt; 
&lt;/td&gt;
&lt;td valign="top" width="80"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td colspan="4"&gt;
The &lt;a href="http://www.spaceneedle.com/" target="_blank"&gt;Space Needle&lt;/a&gt;, Seattle
and &lt;a href="http://www.snoqualmiefalls.com/" target="_blank"&gt;Snoqualmie Falls&lt;/a&gt; from
the tv series &lt;a href="http://en.wikipedia.org/wiki/Twin_Peaks" target="_blank"&gt;Twin
Peaks&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
I saw an excellent session deep diving into the new WCF adapters for BizTalk Server
2006 R2. It was hosted by &lt;a href="http://www.pluralsight.com/blogs/aaron/" target="_blank"&gt;Aaron
Skonnard&lt;/a&gt; and although it was on fast forward – an hour really isn’t much to go
through WCF &lt;em&gt;and&lt;/em&gt; the new adapter framework – it gave a good impression on
how it will make BizTalk an even better backbone for a service oriented solution.
The easy exposing of services through WCF combined with the strength of the technology
together with BizTalk seems a really nice approach to inter service communication.
I will try to post a little further on this in the coming weeks.
&lt;/p&gt;
&lt;p&gt;
Another great session was on testing BizTalk solutions, held by &lt;a href="http://blogs.msdn.com/darrenj/" target="_blank"&gt;Darren
Jefford&lt;/a&gt;, one of the writers of the book, &lt;a href="http://www.amazon.com/Professional-BizTalk-Server-Darren-Jefford/dp/0470046422/ref=pd_bbs_sr_1/102-0390996-2001718?ie=UTF8&amp;amp;s=books&amp;amp;qid=1194512499&amp;amp;sr=8-1" target="_blank"&gt;Professional
BizTalk Server 2006&lt;/a&gt;. The session was really a walkthrough of best practices, and
most of it can be found in that very book. It is always nice to have things repeated
though and especially when it is something you just need to know on a subject most
of us probably neglect – testing.
&lt;/p&gt;
&lt;table cellspacing="0" cellpadding="2" width="400" border="0" unselectable="on"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="80"&gt;
&amp;nbsp;&amp;nbsp; 
&lt;/td&gt;
&lt;td valign="top" width="80"&gt;
&lt;a href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200704.JPG" target="_blank" atomicselection="true"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" alt="Seattle200704_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200704_thumb_1.jpg" border="0"&gt;&lt;/a&gt; 
&lt;/td&gt;
&lt;td valign="top" width="80"&gt;
&lt;a href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200705.JPG" target="_blank" atomicselection="true"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" alt="Seattle200705_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200705_thumb_1.jpg" border="0"&gt;&lt;/a&gt; 
&lt;/td&gt;
&lt;td valign="top" width="80"&gt;
&lt;a href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200706.JPG" target="_blank" atomicselection="true"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" alt="Seattle200706_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200706_thumb_1.jpg" border="0"&gt;&lt;/a&gt; 
&lt;/td&gt;
&lt;td valign="top" width="80"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td colspan="4"&gt;
&lt;a href="http://twedescafe.com/" target="_blank"&gt;Twede's&lt;/a&gt; from same series, &lt;a href="http://www.boeing.com/commercial/facilities/" target="_blank"&gt;the
worlds largest building&lt;/a&gt;&amp;nbsp;and the &lt;a href="http://www.nba.com/sonics/" target="_blank"&gt;Seattle
Sonics&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
&lt;br&gt;
Finally there were two sessions on the ESB guidance by &lt;a href="http://blogs.msdn.com/martywaz/" target="_blank"&gt;Marty
Wasznicky&lt;/a&gt;. I think I have already used ‘fast forward’ in this post, but that’s
ok because the term really doesn’t begin to describe these two sessions. In the first
one Marty had just gotten the final build of the guidance and did a complete install
as a demo including running a couple of the included samples. I really must say they
have gone a long way from the earlier CTP builds I have looked at and I am looking
forward to getting my hands on this final build and installing it on my machine –
another thing there will probably be further postings on in the future.
&lt;/p&gt;
&lt;p&gt;
&lt;br&gt;
Finally I just wanted to include&amp;nbsp;one last&amp;nbsp;picture, actually from the conference
of ’06 and not this year. Take a look at the guys computer – I really like the picture.
&lt;/p&gt;
&lt;table cellspacing="0" cellpadding="2" width="464" border="0" unselectable="on"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" align="middle" width="462"&gt;
&lt;a href="http://www.riisbrich.dk/pictures/2007/seattle/Seattle200707.JPG" target="_blank" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" alt="Seattle200707_thumb" src="http://www.riisbrich.dk/content/binary/WindowsLiveWriter/Seattle_908B/Seattle200707_thumb_1.jpg" border="0"&gt;&lt;/a&gt; 
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;img width="0" height="0" src="http://www.riisbrich.dk/aggbug.ashx?id=98dfa1bd-9502-4fd5-8b42-4bda0dc72e0b" /&gt;</description>
      <comments>http://www.riisbrich.dk/CommentView,guid,98dfa1bd-9502-4fd5-8b42-4bda0dc72e0b.aspx</comments>
      <category>BizTalk</category>
    </item>
    <item>
      <trackback:ping>http://www.riisbrich.dk/Trackback.aspx?guid=afc40722-f9b9-411d-addd-d29069f83381</trackback:ping>
      <pingback:server>http://www.riisbrich.dk/pingback.aspx</pingback:server>
      <pingback:target>http://www.riisbrich.dk/PermaLink,guid,afc40722-f9b9-411d-addd-d29069f83381.aspx</pingback:target>
      <dc:creator>Riisbrich</dc:creator>
      <wfw:comment>http://www.riisbrich.dk/CommentView,guid,afc40722-f9b9-411d-addd-d29069f83381.aspx</wfw:comment>
      <wfw:commentRss>http://www.riisbrich.dk/SyndicationService.asmx/GetEntryCommentsRss?guid=afc40722-f9b9-411d-addd-d29069f83381</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <table cellspacing="0" cellpadding="0" border="0">
          <tbody>
            <tr>
              <td style="VERTICAL-ALIGN: top">
Today Microsoft launched a series of posters illustrating different parts of the BizTalk
world. They all look very nice, of course, and especially the ones on the runtime
architecture and scale-out configurations might actually be of some practical use.
As for the one on the capabilities maybe your sales guys would like to see it though. 
<br /><br /><br /><br /><br /><br /><p>
Anyway, go grab them.
</p></td>
              <td>
 </td>
              <td>
                <img src="http://www.riisbrich.dk/content/binary/poster.gif" border="0" />
              </td>
            </tr>
          </tbody>
        </table>
        <br />
        <ul>
          <li>
            <a href="http://www.microsoft.com/downloads/details.aspx?familyid=34F41573-C552-466F-B531-32CB09A57CDD&amp;displaylang=en">BizTalk
Server 2006 R2 Capabilities Poster</a>
          </li>
          <li>
            <a href="http://www.microsoft.com/downloads/details.aspx?familyid=8790E652-1DA5-4E80-88FE-B87606233DB4&amp;displaylang=en">BizTalk
Server 2006 R2 Runtime Architecture Poster</a>
          </li>
          <li>
            <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=ff468298-64be-4947-a086-f61584caf995&amp;displaylang=en">BizTalk
Server 2006 R2 Scale-Out Configurations Poster</a>
          </li>
          <li>
            <a href="http://www.microsoft.com/downloads/details.aspx?familyid=AE60B18D-C7F0-4089-AEB3-6BC652A3B898&amp;displaylang=en">BizTalk
Server 2006 Legacy Modernization with Host Integration Server 2006</a>
          </li>
        </ul>
        <img width="0" height="0" src="http://www.riisbrich.dk/aggbug.ashx?id=afc40722-f9b9-411d-addd-d29069f83381" />
      </body>
      <title>Something for your walls</title>
      <guid isPermaLink="false">http://www.riisbrich.dk/PermaLink,guid,afc40722-f9b9-411d-addd-d29069f83381.aspx</guid>
      <link>http://www.riisbrich.dk/2007/10/31/SomethingForYourWalls.aspx</link>
      <pubDate>Wed, 31 Oct 2007 23:44:31 GMT</pubDate>
      <description>&lt;table cellspacing=0 cellpadding=0 border=0&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="VERTICAL-ALIGN: top"&gt;
Today Microsoft launched a series of posters illustrating different parts of the BizTalk
world. They all look very nice, of course, and especially the ones on the runtime
architecture and scale-out configurations might actually be of some practical use.
As for the one on the capabilities maybe your sales guys would like to see it though. 
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
Anyway, go grab them.
&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td&gt;
&lt;img src="http://www.riisbrich.dk/content/binary/poster.gif" border=0&gt; 
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=34F41573-C552-466F-B531-32CB09A57CDD&amp;amp;displaylang=en"&gt;BizTalk
Server 2006 R2 Capabilities Poster&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=8790E652-1DA5-4E80-88FE-B87606233DB4&amp;amp;displaylang=en"&gt;BizTalk
Server 2006 R2 Runtime Architecture Poster&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=ff468298-64be-4947-a086-f61584caf995&amp;amp;displaylang=en"&gt;BizTalk
Server 2006 R2 Scale-Out Configurations Poster&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=AE60B18D-C7F0-4089-AEB3-6BC652A3B898&amp;amp;displaylang=en"&gt;BizTalk
Server 2006 Legacy Modernization with Host Integration Server 2006&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;img width="0" height="0" src="http://www.riisbrich.dk/aggbug.ashx?id=afc40722-f9b9-411d-addd-d29069f83381" /&gt;</description>
      <comments>http://www.riisbrich.dk/CommentView,guid,afc40722-f9b9-411d-addd-d29069f83381.aspx</comments>
      <category>BizTalk</category>
    </item>
    <item>
      <trackback:ping>http://www.riisbrich.dk/Trackback.aspx?guid=37fc0255-9d4a-4244-acc9-deb107b4180b</trackback:ping>
      <pingback:server>http://www.riisbrich.dk/pingback.aspx</pingback:server>
      <pingback:target>http://www.riisbrich.dk/PermaLink,guid,37fc0255-9d4a-4244-acc9-deb107b4180b.aspx</pingback:target>
      <dc:creator>Riisbrich</dc:creator>
      <wfw:comment>http://www.riisbrich.dk/CommentView,guid,37fc0255-9d4a-4244-acc9-deb107b4180b.aspx</wfw:comment>
      <wfw:commentRss>http://www.riisbrich.dk/SyndicationService.asmx/GetEntryCommentsRss?guid=37fc0255-9d4a-4244-acc9-deb107b4180b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
After spending a couple of days sightseeing in the Seattle area (sorry no pictures
yet – didn’t bring the cable for my digital) and desperately trying to adjust
to the time difference (sorry no luck there either, still waking up at 5 in the morning)
the conference was finally kicked of yesterday.<br /></p>
        <p>
One day down of the most important thing to come out of it is Microsoft’s announcement
of their vision for the future around working with SOA and services in general. 
<br /></p>
        <p>
They call it <a href="http://www.microsoft.com/presspass/press/2007/oct07/10-30OsloPR.mspx">Oslo</a> and
more than just being a name for a new product it is an overall vision for the next
wave of products with the promise to help us cross lots of the boundaries we meet
when implementing solutions today. They want to help us solve the problems we all
have when we find us selves’ communication with other trading partners or even other
departments within our own company. They want to help us break out of the silos which
today too often stand in the way of truly cooperating towards the better solution. 
<br /></p>
        <p>
They will deliver new unified ways of working together all the way from modeling our
services across requirement gathering, specifications, designing, implementing and
deploying. For this they will launch an all new tool actually demoed in the key note,
called Universal Editor – a just about broad enough name. The tool will allow people
involved in a project to work together on modeling the new solution indifferent of
their unique approach – as it is a universal editor. All the time working on the same
base of data and information stored in a new repository they will also be launching.<br /></p>
        <p>
All in all, in spite of the very early and overall introduction to their visions it
promises well for the future. 
<br /></p>
        <p>
          <strong>ISB (Internet Service Bus)</strong>
          <br />
Another heavily discussed topic of the day was the ISB – <a href="http://www.biztalk.net">the
Internet Service Bus</a> – which will bring the good ideas and loosely build architecture
of the ESB to the internet. Extending the values gained from the ESB all the way to
the external trading partners. 
<br /></p>
        <p>
For simplicity the ISB can be seen as a hosted ESB, allowing for ‘everybody’ to utilize
it’s publish/subscribe capabilities to expose and consume services. From the start
Microsoft will host an ISB and it is actually their approach that smaller companies
can communicate across this – how ever there is no reason why others shouldn’t host
their own, a thing that in my mind is probably more likely to happen.<br /></p>
        <p>
Finally Microsoft also launched their all new <a href="http://www.microsoft.com/soa/">SOA
website</a> this morning.
</p>
        <img width="0" height="0" src="http://www.riisbrich.dk/aggbug.ashx?id=37fc0255-9d4a-4244-acc9-deb107b4180b" />
      </body>
      <title>SOA and BPM Conference - Day 1, Oslo unveiled</title>
      <guid isPermaLink="false">http://www.riisbrich.dk/PermaLink,guid,37fc0255-9d4a-4244-acc9-deb107b4180b.aspx</guid>
      <link>http://www.riisbrich.dk/2007/10/31/SOAAndBPMConferenceDay1OsloUnveiled.aspx</link>
      <pubDate>Wed, 31 Oct 2007 13:46:37 GMT</pubDate>
      <description>&lt;p&gt;
After spending a couple of days sightseeing in the Seattle area (sorry no pictures
yet&amp;nbsp;– didn’t bring the cable for my digital) and desperately trying to adjust
to the time difference (sorry no luck there either, still waking up at 5 in the morning)
the conference was finally kicked of yesterday.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
One day down of the most important thing to come out of it is Microsoft’s announcement
of their vision for the future around working with SOA and services in general. 
&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
They call it &lt;a href="http://www.microsoft.com/presspass/press/2007/oct07/10-30OsloPR.mspx"&gt;Oslo&lt;/a&gt; and
more than just being a name for a new product it is an overall vision for the next
wave of products with the promise to help us cross lots of the boundaries we meet
when implementing solutions today. They want to help us solve the problems we all
have when we find us selves’ communication with other trading partners or even other
departments within our own company. They want to help us break out of the silos which
today too often stand in the way of truly cooperating towards the better solution. 
&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
They will deliver new unified ways of working together all the way from modeling our
services across requirement gathering, specifications, designing, implementing and
deploying. For this they will launch an all new tool actually demoed in the key note,
called Universal Editor – a just about broad enough name. The tool will allow people
involved in a project to work together on modeling the new solution indifferent of
their unique approach – as it is a universal editor. All the time working on the same
base of data and information stored in a new repository they will also be launching.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
All in all, in spite of the very early and overall introduction to their visions it
promises well for the future. 
&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;ISB (Internet Service Bus)&lt;/strong&gt;
&lt;br&gt;
Another heavily discussed topic of the day was the ISB – &lt;a href="http://www.biztalk.net"&gt;the
Internet Service Bus&lt;/a&gt; – which will bring the good ideas and loosely build architecture
of the ESB to the internet. Extending the values gained from the ESB all the way to
the external trading partners. 
&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
For simplicity the ISB can be seen as a hosted ESB, allowing for ‘everybody’ to utilize
it’s publish/subscribe capabilities to expose and consume services. From the start
Microsoft will host an ISB and it is actually their approach that smaller companies
can communicate across this – how ever there is no reason why others shouldn’t host
their own, a thing that in my mind is probably more likely to happen.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
Finally Microsoft also launched their all new &lt;a href="http://www.microsoft.com/soa/"&gt;SOA
website&lt;/a&gt; this morning.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.riisbrich.dk/aggbug.ashx?id=37fc0255-9d4a-4244-acc9-deb107b4180b" /&gt;</description>
      <comments>http://www.riisbrich.dk/CommentView,guid,37fc0255-9d4a-4244-acc9-deb107b4180b.aspx</comments>
      <category>BizTalk</category>
    </item>
    <item>
      <trackback:ping>http://www.riisbrich.dk/Trackback.aspx?guid=caea2797-4d99-4f2b-870f-d12a294c0c65</trackback:ping>
      <pingback:server>http://www.riisbrich.dk/pingback.aspx</pingback:server>
      <pingback:target>http://www.riisbrich.dk/PermaLink,guid,caea2797-4d99-4f2b-870f-d12a294c0c65.aspx</pingback:target>
      <dc:creator>Riisbrich</dc:creator>
      <wfw:comment>http://www.riisbrich.dk/CommentView,guid,caea2797-4d99-4f2b-870f-d12a294c0c65.aspx</wfw:comment>
      <wfw:commentRss>http://www.riisbrich.dk/SyndicationService.asmx/GetEntryCommentsRss?guid=caea2797-4d99-4f2b-870f-d12a294c0c65</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I am Excited! I am sitting in the Copenhagen Airport feeling a little strange after
a very overpriced spaghetti bolognaise, looking at a good eleven hours flight ahead
of me – and still I am exited!
</p>
        <p>
          <br />
I am heading to the <a href="http://www.mssoaandbpconference.com/">Microsoft SOA and
Business Process Conference</a>, held by the BizTalk team, right there on the Microsoft
campus in Redmond. I was lucky enough to attend the same conference last year and
it was great. 
<br /></p>
        <p align="center">
          <a href="http://www.mssoaandbpconference.com/">
            <img src="http://www.riisbrich.dk/content/binary/conferencelogo.gif" border="0" />
          </a>
        </p>
        <p>
There were a lot of really good speakers talking about interesting things that they
actually knew something about. A fine mix between sessions with business, architect
and developer approaches to the world of service oriented solutions and process management.
And I even got to see a couple of quite deep technical ones as well. Another overall
thing I liked about the conference was that all the speakers had a realistic and practical
approach to what service orientation is and how it can be utilized.  No sales
talk – at least not too much – and no “SOA is the answer to all the questions you
can come up with”. 
</p>
        <p>
          <br />
And the conference was the first time I heard (I think this goes for most people)
about the <a href="http://www.codeplex.com/esb">ESB guidance</a> from Microsoft –
I saw two excellent presentations on it given by <a href="http://blogs.msdn.com/martywaz/">Marty
Wasznicky</a> and <a href="http://seroter.wordpress.com/">Richard Seroter</a> the
masterminds behind the project. I think it is safe to say that even though the solution
behind the guidance is big and quite a mouthful it contains so many good ideas and
approaches that there should be something in there for everybody working with BizTalk
solutions at a certain level.
</p>
        <p>
          <br />
Anyway I am heading back to the conference again this year and am really excited to
be going. And although I admit that I due to quite a heavy workload in the last couple
of weeks haven’t looked as much at the agenda and sessions, I know that there will
be a lot of good stuff this year as well.<br /></p>
        <p>
I hope to be posting throughout the conference so come back anytime for an update.
</p>
        <img width="0" height="0" src="http://www.riisbrich.dk/aggbug.ashx?id=caea2797-4d99-4f2b-870f-d12a294c0c65" />
      </body>
      <title>SOA and Business Process Conference</title>
      <guid isPermaLink="false">http://www.riisbrich.dk/PermaLink,guid,caea2797-4d99-4f2b-870f-d12a294c0c65.aspx</guid>
      <link>http://www.riisbrich.dk/2007/10/27/SOAAndBusinessProcessConference.aspx</link>
      <pubDate>Sat, 27 Oct 2007 11:33:51 GMT</pubDate>
      <description>&lt;p&gt;
I am Excited! I am sitting in the Copenhagen Airport feeling a little strange after
a very overpriced spaghetti bolognaise, looking at a good eleven hours flight ahead
of me – and still I am exited!
&lt;/p&gt;
&lt;p&gt;
&lt;br&gt;
I am heading to the &lt;a href="http://www.mssoaandbpconference.com/"&gt;Microsoft SOA and
Business Process Conference&lt;/a&gt;, held by the BizTalk team, right there on the Microsoft
campus in Redmond. I was lucky enough to attend the same conference last year and
it was great. 
&lt;br&gt;
&lt;/p&gt;
&lt;p align=center&gt;
&lt;a href="http://www.mssoaandbpconference.com/"&gt;&lt;img src="http://www.riisbrich.dk/content/binary/conferencelogo.gif" border=0&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
There were a lot of really good speakers talking about interesting things that they
actually knew something about. A fine mix between sessions with business, architect
and developer approaches to the world of service oriented solutions and process management.
And I even got to see a couple of quite deep technical ones as well. Another overall
thing I liked about the conference was that all the speakers had a realistic and practical
approach to what service orientation is and how it can be utilized.&amp;nbsp; No sales
talk – at least not too much – and no “SOA is the answer to all the questions you
can come up with”. 
&lt;/p&gt;
&lt;p&gt;
&lt;br&gt;
And the conference was the first time I heard (I think this goes for most people)
about the &lt;a href="http://www.codeplex.com/esb"&gt;ESB guidance&lt;/a&gt; from Microsoft –
I saw two excellent presentations on it given by &lt;a href="http://blogs.msdn.com/martywaz/"&gt;Marty
Wasznicky&lt;/a&gt; and &lt;a href="http://seroter.wordpress.com/"&gt;Richard Seroter&lt;/a&gt; the
masterminds behind the project. I think it is safe to say that even though the solution
behind the guidance is big and quite a mouthful it contains so many good ideas and
approaches that there should be something in there for everybody working with BizTalk
solutions at a certain level.
&lt;/p&gt;
&lt;p&gt;
&lt;br&gt;
Anyway I am heading back to the conference again this year and am really excited to
be going. And although I admit that I due to quite a heavy workload in the last couple
of weeks haven’t looked as much at the agenda and sessions, I know that there will
be a lot of good stuff this year as well.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
I hope to be posting throughout the conference so come back anytime for an update.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.riisbrich.dk/aggbug.ashx?id=caea2797-4d99-4f2b-870f-d12a294c0c65" /&gt;</description>
      <comments>http://www.riisbrich.dk/CommentView,guid,caea2797-4d99-4f2b-870f-d12a294c0c65.aspx</comments>
      <category>BizTalk</category>
    </item>
  </channel>
</rss>