<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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"><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18813">
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
LI.MsoNormal {
        MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
DIV.MsoNormal {
        MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        FONT-FAMILY: "Calibri","sans-serif"; COLOR: windowtext; mso-style-type: personal-compose
}
.MsoChpDefault {
        mso-style-type: export-only
}
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 dir=ltr align=left><SPAN class=254362216-06082009><FONT color=#0000ff
size=2 face=Arial>The name of the element is not "drawing", it is <EM><FONT
color=#2a00ff
face=Tahoma>{http://www.intellidata.net/resources}drawing.</FONT></EM></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=254362216-06082009><EM><FONT color=#2a00ff
size=2 face=Tahoma></FONT></EM></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=254362216-06082009><FONT color=#2a00ff
size=2 face=Tahoma>So you want <FONT
color=#000000>rootElem.getChildren</FONT><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #0000a0; FONT-SIZE: 10pt">(</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #6a0035; FONT-SIZE: 10pt">"drawing",
"<EM><FONT
color=#2a00ff>http://www.intellidata.net/resources</FONT></EM>"</SPAN><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #0000a0; FONT-SIZE: 10pt">)</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">;</SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=254362216-06082009><FONT color=#2a00ff
size=2 face=Tahoma><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"></SPAN></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=254362216-06082009><FONT color=#2a00ff
size=2 face=Tahoma><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p><!-- Converted from text/plain format -->
<P><FONT size=2>Regards,<BR><BR>Michael Kay<BR><A
href="http://www.saxonica.com/">http://www.saxonica.com/</A><BR><A
href="http://twitter.com/michaelhkay">http://twitter.com/michaelhkay</A>
</FONT></P></o:p></SPAN></DIV>
<P dir=ltr class=MsoNormal align=left><o:p> </o:p></P></FONT></SPAN>
<DIV dir=ltr align=left><SPAN class=254362216-06082009><EM><FONT color=#2a00ff
size=2 face=Tahoma></FONT></EM></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=254362216-06082009><EM><FONT color=#2a00ff
size=2 face=Tahoma></FONT></EM></SPAN> </DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> jdom-interest-bounces@jdom.org
[mailto:jdom-interest-bounces@jdom.org] <B>On Behalf Of </B>Brian
Trezise<BR><B>Sent:</B> 06 August 2009 17:09<BR><B>To:</B>
jdom-interest@jdom.org<BR><B>Subject:</B> [jdom-interest] How to read xml
files with namespaces<BR></FONT><BR></DIV>
<DIV></DIV>
<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><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"><?</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">xml</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <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><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">drawings</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">
<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #7f007f; FONT-SIZE: 10pt">xmlns</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">=</SPAN><I><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #2a00ff; FONT-SIZE: 10pt">"http://www.intellidata.net/resources"</SPAN></I><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #7f007f; FONT-SIZE: 10pt">xmlns:xsi</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">=</SPAN><I><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #2a00ff; FONT-SIZE: 10pt">"http://www.w3.org/2001/XMLSchema-instance"</SPAN></I><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #7f007f; FONT-SIZE: 10pt">xsi:schemaLocation</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">=</SPAN><I><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #2a00ff; FONT-SIZE: 10pt">"http://www.intellidata.net/resources
IntelliSpecDrawings.xsd"</SPAN></I><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">drawing</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">drawing-name</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">AxAlum0</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">drawing-name</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">family-prefix</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">CAA</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">family-prefix</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">dimension</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">dimension-name</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">Lead
Length (Neg)</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">dimension-name</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">dimension-symbol</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">LL-</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">dimension-symbol</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">dimension</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">dimension</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">dimension-name</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">Length</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">dimension-name</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-symbol</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>L</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-symbol</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=DE><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=DE><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=DE><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-name</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>Lead Length (Pos)</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-name</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=DE><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-symbol</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>LL+</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-symbol</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=DE><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=DE><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=DE><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-name</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>Lead Diameter</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-name</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=DE><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-symbol</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>F</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-symbol</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=DE><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=DE><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=DE><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-name</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>Diameter</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-name</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=DE><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE><</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-symbol</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>D</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt"
lang=DE>dimension-symbol</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"
lang=DE>></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=DE><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt"
lang=DE>
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">dimension</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">></SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"></</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #3f7f7f; FONT-SIZE: 10pt">drawing</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt">><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: teal; FONT-SIZE: 10pt"></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><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
File drawingXmlFile = </SPAN><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #7f0055; FONT-SIZE: 10pt">new</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
File</SPAN><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #0000a0; FONT-SIZE: 10pt">(</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">config.getDrawingXmlFile</SPAN><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #0000a0; FONT-SIZE: 10pt">())</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">;</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
SAXBuilder saxBuilder = </SPAN><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #7f0055; FONT-SIZE: 10pt">new</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
SAXBuilder</SPAN><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #0000a0; FONT-SIZE: 10pt">()</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">;</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
Document doc = saxBuilder.build</SPAN><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #0000a0; FONT-SIZE: 10pt">(</SPAN></B><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #7f0055; FONT-SIZE: 10pt">new</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
BufferedInputStream</SPAN><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #0000a0; FONT-SIZE: 10pt">(</SPAN></B><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #7f0055; FONT-SIZE: 10pt">new</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
FileInputStream</SPAN><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #0000a0; FONT-SIZE: 10pt">(</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">drawingXmlFile</SPAN><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #0000a0; FONT-SIZE: 10pt">)))</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">;</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
Element rootElem = doc.getRootElement</SPAN><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #0000a0; FONT-SIZE: 10pt">()</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">;</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
List<Element> drawingElems = rootElem.getChildren</SPAN><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #0000a0; FONT-SIZE: 10pt">(</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #6a0035; FONT-SIZE: 10pt">"drawing"</SPAN><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #0000a0; FONT-SIZE: 10pt">)</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 10pt">;</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><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: 9pt">Brian
Trezise<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #a6a6a6; FONT-SIZE: 9pt">IntelliData,
Inc.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #a6a6a6; FONT-SIZE: 9pt">Staff Software
Engineer<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="COLOR: #a6a6a6; FONT-SIZE: 9pt">brian.trezise@intellidata.net<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #a6a6a6; FONT-SIZE: 9pt">t:
720.524.4864<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #a6a6a6; FONT-SIZE: 9pt">m:
303.809.9782<o:p></o:p></SPAN></P>
<P class=MsoNormal><o:p> </o:p></P></DIV></BLOCKQUOTE></BODY></HTML>