> Depending on the type of document (FAQs, press release, staff list, etc),
> they run an XSLT to re-format the content. For example, for FAQs, the
XSLT
> goes through each header, anchors it and creates a list of hyperlinks at
the
> top of the page to jump to each FAQ. You can only do this if you author
your
> content in XHTML.
Sorry to be a pedant, but this statement is misleading and in my opinion,
not very good advice.
Using XSLT to transform a document is not limited to XHTML, and using XHTML
as the source for XSLT is taking one step forward so you can take 2 steps
backwards. One of the main benefits of using XSLT is that it seperates the
presentation [the HTML] and the content, which wont happen if you use XHTML.
My advice for keeping presentation and content seperate, which is what vlad
is promoting here, though he doesnt know that, is to author in XML and then
use XSLT to create the HTML for you.
For example, write the faq in Xml:
<FAQ Q="Place question here">
The answer goes in here.
</FAQ>
Then apply a XSLT script to transform this into a valid Html document.
woric
PS: I do this on every website I make. See http://xsltfilter.tigris.org
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************