<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Ok, so I&#8217;m having trouble reading an XML file with a
namespace.&nbsp; I&#8217;ve been hunting and searching for a solution for
several hours now, and I can&#8217;t figure out what I&#8217;m doing wrong.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Heres a sample of the xml:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:teal'>&lt;?</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>xml</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <span
style='color:#7F007F'>version</span><span style='color:black'>=</span><i><span
style='color:#2A00FF'>&quot;1.0&quot;</span></i><span style='color:teal'>?&gt;</span><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>drawings</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:#7F007F'>xmlns</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>=</span><i><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A00FF'>&quot;http://www.intellidata.net/resources&quot;</span></i><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:#7F007F'>xmlns:xsi</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>=</span><i><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A00FF'>&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</span></i><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:#7F007F'>xsi:schemaLocation</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>=</span><i><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A00FF'>&quot;http://www.intellidata.net/resources
IntelliSpecDrawings.xsd&quot;</span></i><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>drawing</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>drawing-name</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>AxAlum0</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>drawing-name</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>family-prefix</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>CAA</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>family-prefix</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-name</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>Lead
Length (Neg)</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:teal'>&lt;/</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:#3F7F7F'>dimension-name</span><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:teal'>&gt;</span><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-symbol</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>LL-</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-symbol</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-name</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>Length</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-name</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-symbol</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>L</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-symbol</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-name</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>Lead
Length (Pos)</span><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:teal'>&lt;/</span><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:#3F7F7F'>dimension-name</span><span lang=DE style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span lang=DE
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-symbol</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>LL+</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-symbol</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-name</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>Lead
Diameter</span><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:teal'>&lt;/</span><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:#3F7F7F'>dimension-name</span><span lang=DE style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span lang=DE
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-symbol</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>F</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-symbol</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-name</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>Diameter</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-name</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-symbol</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>D</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension-symbol</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:
10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>dimension</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#3F7F7F'>drawing</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'>&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:teal'>&lt;/drawings&gt;</span><o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>There can be many &lt;drawing&gt; tags with the above contents,
but there are no other objects permitted as direct children of &lt;drawings&gt;.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I&#8217;m using the following code to read the xml file:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
File drawingXmlFile = </span><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:#7F0055'>new</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> File</span><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:#0000A0'>(</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>config.getDrawingXmlFile</span><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:#0000A0'>())</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
SAXBuilder saxBuilder = </span><b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:#7F0055'>new</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'> SAXBuilder</span><b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#0000A0'>()</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Document doc = saxBuilder.build</span><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:#0000A0'>(</span></b><b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#7F0055'>new</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>
BufferedInputStream</span><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:#0000A0'>(</span></b><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:#7F0055'>new</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> FileInputStream</span><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:#0000A0'>(</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>drawingXmlFile</span><b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#0000A0'>)))</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Element rootElem = doc.getRootElement</span><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:#0000A0'>()</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
List&lt;Element&gt; drawingElems = rootElem.getChildren</span><b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#0000A0'>(</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#6A0035'>&quot;drawing&quot;</span><b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#0000A0'>)</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>drawingElems consistently comes back with size 0.&nbsp; I
have tried several variations, including simply &#8220;rootElem.getChildren()&#8221;
with no success.&nbsp; I know that the problem relates to namespaces in some
way, because if I take out the namespace from the root element of the xml, it
just works.&nbsp; However, this solution is not ideal as this document is
intended to be maintained by somebody without a lot of experience in XML, so
the validation provided by using the namespace would be very helpful.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Can anybody give me any pointers as to what I&#8217;m doing
wrong?<br>
<br>
Thanks in advance,<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>-----------------------------<o:p></o:p></p>

<p class=MsoNormal><span style='font-size:9.0pt'>Brian Trezise<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;color:#A6A6A6'>IntelliData,
Inc.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;color:#A6A6A6'>Staff Software
Engineer<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;color:#A6A6A6'>brian.trezise@intellidata.net<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;color:#A6A6A6'>t: 720.524.4864<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;color:#A6A6A6'>m: 303.809.9782<o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>