<cfset xmlGeorge=XMLParse(ExpandPath("George.xml"))>
  <html>
  <head>
  <title>XmlGetNodeType()</title>
  </head>
  <body>
  <h1>XmlGetNodeType()</h1>
  <cfoutput>
  <ol>
   <cfset part = xmlGeorge>
   <li>
    xmlGeorge:
     <cftry>
     #XmlGetNodeType(part)#
     <cfcatch type="any"><span style="color:red">#cfcatch.Message#</span></cfcatch>
    </cftry>
   </li>
      <cfset part = xmlGeorge.Name>
   <li>
    xmlGeorge.Name:
     <cftry>
     #XmlGetNodeType(part)#
     <cfcatch type="any"><span style="color:red">#cfcatch.Message#</span></cfcatch>
    </cftry>
   </li>
      <cfset part = xmlGeorge.Name.XmlAttributes.Title>
   <li>
    xmlGeorge.Name.XmlAttributes.Title:
     <cftry>
     #XmlGetNodeType(part)#
     <cfcatch type="any"><span style="color:red">#cfcatch.Message#</span></cfcatch>
    </cftry>
   </li>
      <cfset part = xmlGeorge.Name.FirstName>
   <li>
    xmlGeorge.Name.FirstName:
     <cftry>
     #XmlGetNodeType(part)#
     <cfcatch type="any"><span style="color:red">#cfcatch.Message#</span></cfcatch>
    </cftry>
   </li>
      <cfset part = xmlGeorge.Name.XmlChildren[1]>
   <li>
    xmlGeorge.Name.XmlChildren[1]:
     <cftry>
     #XmlGetNodeType(part)#
     <cfcatch type="any"><span style="color:red">#cfcatch.Message#</span></cfcatch>
    </cftry>
   </li>
      <cfset part = xmlGeorge.Name.FirstName.XmlText>
   <li>
    xmlGeorge.Name.FirstName.XmlText:
     <cftry>
     #XmlGetNodeType(part)#
     <cfcatch type="any"><span style="color:red">#cfcatch.Message#</span></cfcatch>
    </cftry>
   </li>
  </ol>
  </cfoutput>
  </body>
  </html>