<cfset xmlGeorge=XMLParse(ExpandPath("George.xml"))>
  <html>
  <head>
  <title>XML Parts</title>
  <style type="text/css">
  .YES {background-color:#00cc00; font-weight:bold;}
  .NO {color:#ff0000;}
  </style>
  </head>
  <body>
  <h1>XML Parts</h1>
  <table border="1" cellpadding="2" cellspacing="0">
  <tr>
   <th>#</th>
   <th>XML Part</th>
   <th>IsXmlDoc()</th>
   <th>IsXmlRoot()</th>
   <th>IsXmlElem()</th>
   <th>IsXmlAttribute()</th>
   <th>IsXmlNode()</th>
  </tr>
  <cfoutput>
  <cfset part = xmlGeorge>
  <tr>
   <td>1</td>
   <td>xmlGeorge</td>
   <td class="#IsXmlDoc(part)#">#IsXmlDoc(part)#</td>
   <td class="#IsXmlRoot(part)#">#IsXmlRoot(part)#</td>
   <td class="#IsXmlElem(part)#">#IsXmlElem(part)#</td>
   <td class="#IsXmlAttribute(part)#">#IsXmlAttribute(part)#</td>
   <td class="#IsXmlNode(part)#">#IsXmlNode(part)#</td>
  </tr>
  <cfset part = xmlGeorge.Name>
  <tr>
   <td>2</td>
   <td>xmlGeorge.Name</td>
   <td class="#IsXmlDoc(part)#">#IsXmlDoc(part)#</td>
   <td class="#IsXmlRoot(part)#">#IsXmlRoot(part)#</td>
   <td class="#IsXmlElem(part)#">#IsXmlElem(part)#</td>
   <td class="#IsXmlAttribute(part)#">#IsXmlAttribute(part)#</td>
   <td class="#IsXmlNode(part)#">#IsXmlNode(part)#</td>
  </tr>
  <cfset part = xmlGeorge.Name.XmlAttributes.Title>
  <tr>
   <td>3</td>
   <td>xmlGeorge.Name.XmlAttributes.Title</td>
   <td class="#IsXmlDoc(part)#">#IsXmlDoc(part)#</td>
   <td class="#IsXmlRoot(part)#">#IsXmlRoot(part)#</td>
   <td class="#IsXmlElem(part)#">#IsXmlElem(part)#</td>
   <td class="#IsXmlAttribute(part)#">#IsXmlAttribute(part)#</td>
   <td class="#IsXmlNode(part)#">#IsXmlNode(part)#</td>
  </tr>
  <cfset part = xmlGeorge.Name.FirstName>
  <tr>
   <td>4</td>
   <td>xmlGeorge.Name.FirstName</td>
   <td class="#IsXmlDoc(part)#">#IsXmlDoc(part)#</td>
   <td class="#IsXmlRoot(part)#">#IsXmlRoot(part)#</td>
   <td class="#IsXmlElem(part)#">#IsXmlElem(part)#</td>
   <td class="#IsXmlAttribute(part)#">#IsXmlAttribute(part)#</td>
   <td class="#IsXmlNode(part)#">#IsXmlNode(part)#</td>
  </tr>
  <cfset part = xmlGeorge.Name.XmlChildren[1]>
  <tr>
   <td>5</td>
   <td>xmlGeorge.Name.XmlChildren[1]</td>
   <td class="#IsXmlDoc(part)#">#IsXmlDoc(part)#</td>
   <td class="#IsXmlRoot(part)#">#IsXmlRoot(part)#</td>
   <td class="#IsXmlElem(part)#">#IsXmlElem(part)#</td>
   <td class="#IsXmlAttribute(part)#">#IsXmlAttribute(part)#</td>
   <td class="#IsXmlNode(part)#">#IsXmlNode(part)#</td>
  </tr>
  <cfset part = xmlGeorge.Name.FirstName.XmlText>
  <tr>
   <td>6</td>
   <td>xmlGeorge.Name.FirstName.XmlText</td>
   <td class="#IsXmlDoc(part)#">#IsXmlDoc(part)#</td>
   <td class="#IsXmlRoot(part)#">#IsXmlRoot(part)#</td>
   <td class="#IsXmlElem(part)#">#IsXmlElem(part)#</td>
   <td class="#IsXmlAttribute(part)#">#IsXmlAttribute(part)#</td>
   <td class="#IsXmlNode(part)#">#IsXmlNode(part)#</td>
  </tr>
  </table>
  </cfoutput>
  </body>
  </html>