On Monday, Jan 13, 2003, at 19:31 US/Pacific, Dave Carabetta wrote:
> On the one hand, since CFML looks so much like HTML's tag-based 
> syntax, I'm
> guessing people do it for consistency to comply with XHTML standards.

Yes, I do it so that my source files look consistent with XHTML.

> Further, in certain instances (i.e., custom tags), does
> the trailing slash cause the tag to be executed twice? For example, 
> would
> the following syntax cause myCT to be run twice?

Yes, invoking a custom tag with a closing tag like this:

> <cf_myCT />

is equivalent to invoking it with an empty body:

        <cf_myCT></cf_myCT>

My custom tags - few in number - are coded to be called like that and 
behave correctly.

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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to