> By following that example, what am I gaining? being XHTML compliant? Who
> cares? What if I never do XHTML? <<insert other annoying questions
> here>>
One thing that I could see being very useful in terms would be parsing
through your code with another CF page. For example, if your code is XHTML
compliant, you could probably run CFXML over it and load it as an XML
document to be parsed. I wouldn't doubt there are exceptions to that rule
because the XML parser would do something weird with:
<cfif ...condition...>
<table>
</cfif>
</cfif ...condition...>
</table>
</cfif>
If you converted all your HTML tags to HTML format (i.e. <table> becomes
<table>) then you could probably parse your CF code. Once you have it
in an XML document, you could look through all the CF documents in your web
root to find all the different datasources you use in your <cfquery>.
Granted, this is possible with searching each document with RegEx, but it's
not nearly as simple.
Also, another question. Would the following be XHTML compliant:
<cfset myVar = "some text" & anotherVariable />
Or would it have to be:
<cfset myVar = "some text#anotherVariable#" />
Ben Johnson
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists