<cfparam name="FORM.XmlText" 
		  default="<Name>
				   <FirstName>George</FirstName>
				   <LastName>Washington</LastName>
				   </Name>">
  <html>
  <head>
  <title>IsXML()</title>
  </head>
  <body>
  <h1>XML Test</h1>
  <cfoutput>
  <form method="post" action="#CGI.SCRIPT_NAME#">
  <textarea name="XmlText" cols="60" rows="10">#FORM.XmlText#</textarea>
  <br>
  <input name="SubmitButton" type="submit" value="Check XML">
  <cfif isDefined("FORM.SubmitButton")>
   <cfif IsXML(FORM.XmlText)>
    <span style="margin-left:200px;color:green">XML is well formed.</span>
   <cfelse>
    <span style="margin-left:200px;color:red">XML is not well formed.</span>
   </cfif>
  </cfif>
  </form>
  </cfoutput>
  </body>
  </html>