Determines the type of an XML document object node.
xmlGetNodeType(xmlNode)
→ returns string
A string identifying the XML node type.
<cfxml variable="xmlobject1">
<notes>
<note>
<to>Alice</to>
<from>Bob</from>
<heading>Reminder</heading>
<body>Here is the message you requested.</body>
</note>
<author>
<first>John</first>
<last>Doe</last>
</author>
</notes>
</cfxml>
<cfoutput>
xmlobject:#XMLGetNodeType(xmlobject1)#
xmlRoot:#XMLGetNodeType(xmlobject1.xmlRoot)#
</cfoutput>
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.