Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error Displaying Dynamic XML

Status
Not open for further replies.

spook007

Programmer
May 22, 2002
259
US
I'm trying to run the following example I found on an article by Nate Weiss. I've entered it exactly as I saw on the sample, but I get the following error.

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

End tag 'td' does not match the start tag 'META'. Error processing resource ' Line 10...

</td></td></td></th></th></th></tr></tr></tr></table></table&...

The code looks like this.

<cfxml variable="myXML">

<company name="Macromedia">
<location name="Newton">
<employees>
<person>Demi Moore</person>
<person>Bruce Willis</person>
</employees>
</location>
<location name="San Francisco">
<employees>
<person>Tom Cruise</person>
<person>Ben Forta</person>
<person>Nicole Kidman</person>
</employees>
</location>
</company>

</cfxml>

<cfcontent type="text/plain" reset="yes">
<cfoutput>#ToString(myXML)#</cfoutput>


What am I missing here??? Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top