• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

IsXmlElem

Synopsis

                  IsXmlElem(value)

Returns true if value is an element of a ColdFusion XML document object. Example:

<cfhttp URL="http://www.macromedia.com/devnet/resources/macromedia_resources.xml"
        method="Get">
   
<cfset DesDev = XmlParse(cfhttp.FileContent)>
   
<cfoutput>
Is DesDev.macromedia_resources.resource.title an XML Element?
#IsXmlElem(DesDev.macromedia_resources.resource.title)#
</cfoutput>

To see the structure of the XML document object, use the cfdump tag.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint