If you do a <cfexit method="exittag"> in your custom tags then you could do
the /> method with them.  Although maybe there are times that could not be
done, can not honestly think of a time but I am sure there are some.  We use
a system here that uses a ton of custom tags and unfortunately it is just
second nature for me to type /> so I would find myself constantly
backspacing through my code, finally just ended up adding the cfexit tag.  I
have had to do a few XHTML classes, so it has become a hard habbit for me to
break when I type out tags, but I doubt many of the things I write would
pass the XHTML verification tools.


On 3/9/06, Claude Schneegans <[EMAIL PROTECTED]> wrote:
>
> >>It is valid XHTML
>
> Ah ok.
> Personnally, I'll use XHTML when I'll need to, for the time being,
> I prefer having all CFML and HTML tags and attributes in upper case,
> and all variables and the rest of the code in lower case, question of
> readibility,
> but of course it is personal.
> Closing unnecessary tags also creates trouble with custom tags executed
> twice,
> so I prefer not using it at all.
> One would say that you don't have to apply XHTML rules to CF tags, but
> that would
> be even more confusing.
>
> --
> _______________________________________
> REUSE CODE! Use custom tags;
> See http://www.contentbox.com/claude/customtags/tagstore.cfm
> (Please send any spam to this address: [EMAIL PROTECTED])
> Thanks.
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234905
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to