I don't believe you have to do anything in ColdFusion for XHTML.  You just
put the appropriate Doctype at the top of the page, just as you would with a
static page.   CF will output XHTML out of the box with no modifications or
special handling at all.  You just tell it what you want, as you do with
html.

For example, ColdFusion doesn't care whether you use <br> or <br />  But of
course if you use DreamweaverMX to go with it, you can set DW to enforce the
doctype rules, whatever they might be. 

You only need CFCONTENT if you're going to output something other than HTML
or XHTML.

(at least that's how I understand it, but I might be wrong - I have been
wrong before.  That was once when I was a young man and thought I was wrong
but I wasn't.)


Cheers
Mike Kear


-----Original Message-----
From: Adam Carmichael [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 3 January 2004 11:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] Need Assistance...


Out of curiosity, what does the CF source look like to do the same thing?

Adam


*****************************************************
The discussion list for http://webstandardsgroup.org/
***************************************************** 

Reply via email to