As far as validating before the page runs through the server, I am not sure thats possible only because you can write non xhtml on the file with cf, and it would be hard to not parse the cf (I dont think that is what you are after anyway)
If you dont mind browsing to each page, FireFox has a tool to validate pages as you view them. Its really cool and I highly recommend it. To get it, click on Tools>Extensions. On the bottom right click on more extensions. It'll lauch you to a listing - and on the left is "developer tools" they have one called Html Validator (with Tidy) 0.3.1 By Marc Gueury Adds HTML validation to the View Page Source of the browser. The validation is done by Tidy from W3c. (Windows version) That will tell you all the problems when you "view source" on a page Cheers, Rob On Fri, 10 Dec 2004 14:55:37 -0500, Robyn <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm tasked with bringing our codebase up to XHTML standards, and have a > question about how best to do this. I'm not sure where to start: > > First, as you probably know, there is a validator at w3.org that will > validate your XHTML for you. This requires that the pages be out on the > internet (instead of on a dev server behind your firewall, like ours > is). But I want to avoid having to push my pages out to a public > server, just to validate them. What I would like to do is have a > CF-based routine that validates the XHTML against a specific XHTML DTD. > > I've read from this list and elsewhere that you can install the > validator locally on your machine. It may not be a feasible thing for > our company to do right now, so I'm wondering about a more generic question: > > How would I, through CF, check my XHTML against the DTD that I specify? > Is there a way to do this? I am sadly not very well-versed in working > with XML. Ideally, I would like to have a function called from a top > frame that scrapes the HTML from, say, a bottom content frame, and > checks its validity against the XHTML strict DTD. > > Let me know if this makes sense and if you have any suggestions. > > Thanks, > Robyn > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187078 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54