Problem with that is CF treats start and end tags differently depending on the tag. You can write Custom Tags with Start and End methods, so if you write <cf_tag /> you're essentially calling both start and end methods.
I think I've seen something on this list previously regarding this. It would be nice if CF was a valid XML-style language for several reasons, but I think this is one of the reasons you can not force CFML into valid XML syntax. Joshua Miller Head Programmer / IT Manager Garrison Enterprises Inc. www.garrisonenterprises.net [EMAIL PROTECTED] (704) 569-9044 ext. 254 ************************************************************************ ************* Any views expressed in this message are those of the individual sender, except where the sender states them to be the views of Garrison Enterprises Inc. This e-mail is intended only for the individual or entity to which it is addressed and contains information that is private and confidential. If you are not the intended recipient you are hereby notified that any dissemination, distribution or copying is strictly prohibited. If you have received this e-mail in error please delete it immediately and advise us by return e-mail to [EMAIL PROTECTED] ************************************************************************ ************* -----Original Message----- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 10:30 PM To: CF-Talk Subject: Re: Why XHTML in cftags WAS -> XHTML syntax (self-closing tags) On Tuesday, May 27, 2003, at 18:09 US/Pacific, CF Dude wrote: > I don't understand why you would decide to XHTML-ize your cftags when > cftags are server side. So that the mix of HTML and CFML in your source file is consistent (and attempts to be XHTML styled). If you get into the habit and closing all tags, you're less likely to write HTML that isn't XHTML, IMO. Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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