<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’m having trouble reading an XML file with a
namespace. I’ve been hunting and searching for a solution for
several hours now, and I can’t figure out what I’m doing wrong.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Heres a sample of the xml:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:teal'><?</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'>"1.0"</span></i><span style='color:teal'>?></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'><</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'>"http://www.intellidata.net/resources"</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'>"http://www.w3.org/2001/XMLSchema-instance"</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'>"http://www.intellidata.net/resources
IntelliSpecDrawings.xsd"</span></i><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:teal'>></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'> </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'> </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'></</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'>></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'> </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'></</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'>></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'> </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'> </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'></</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'>></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'> </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'></</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'>></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'> </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'></</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'>></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'> </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'> </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'></</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'>></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'> </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'></</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'>></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'> </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'></</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'>></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'> </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'> </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'></</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'>></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'> </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'></</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'>></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'> </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'></</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'>></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'> </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'> </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'></</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'>></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'> </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'></</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'>></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'> </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'></</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'>></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'> </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'> </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'></</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'>></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'> </span><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'><</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'>></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'></</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'>></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'> </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'></</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'>></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'> </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:teal'></</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'>><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:teal'></drawings></span><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>There can be many <drawing> tags with the above contents,
but there are no other objects permitted as direct children of <drawings>.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I’m using the following code to read the xml file:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>
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'>
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'>
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> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>
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'>
List<Element> 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'>"drawing"</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> </o:p></p>
<p class=MsoNormal>drawingElems consistently comes back with size 0. I
have tried several variations, including simply “rootElem.getChildren()”
with no success. 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. 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> </o:p></p>
<p class=MsoNormal>Can anybody give me any pointers as to what I’m doing
wrong?<br>
<br>
Thanks in advance,<o:p></o:p></p>
<p class=MsoNormal><o:p> </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> </o:p></p>
</div>
</body>
</html>