A lot of CFMX built in error handling messages is output with XML, using the cf tags CFSWICTH and CFCASE for the structure of the XML document.
-----Original Message----- From: Rich Z [mailto:[EMAIL PROTECTED] Sent: 28 July 2003 15:30 To: CF-Talk Subject: Writing Custom Tags in XML? Is it possible to write custom tags in well-formed XML? The reason I ask is that I'd like to take advantage of CFMX's XML parsing to create documented views by simply pointing to the custom tag. Will this render the tags unusable? For example: <?xml version="1.0" encoding="UTF-8"?> <CustomTag name="makebold" description="This tag makes the passed on text attribute bold."> <CFPARAM default="YourText" name="text" type="string" hint="The text passed in that will be made bold."> <CFOUTPUT><b>#attributes.text#</b></CFOUTPUT> </CustomTag> Notice I added attributes to the CFPARAM tags (attributes I'm assuming CFMX will ignore?) as well as wrapped the whole thing in a root element. What will CF do with this? Of course, I could just try this myself - but I'm too damn lazy. Heh. Thanks, Rich ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

