RE: XHTML [WAS: Grouping into a table (for vertical a
With reference to http://www.w3.org/TR/xhtml1/#strict >3.1.1. Strictly Conforming Documents >A Strictly Conforming XHTML Document is an XML document that requires only the facilities described as mandatory in this specification. >Such a document must meet all of the following criteria: > >1. It must conform to the constraints expressed in one of the three DTDs found in DTDs and in Appendix B. > >2. The root element of the document must be html. > >3. The root element of the document must contain an xmlns declaration for the XHTML namespace [XMLNS]. >The namespace for XHTML is defined to be http://www.w3.org/1999/xhtml. An example root element might look like: > ><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > >4. There must be a DOCTYPE declaration in the document prior to the root element. >The public identifier included in the DOCTYPE declaration must reference one of the >three DTDs found in DTDs using the respective Formal Public Identifier. >The system identifier may be changed to reflect local system conventions. > >5. The DTD subset must not be used to override any parameter entities in the DTD. I believe you meant the above criteria. However, even if document does not strictly comply to the above, it should be still consider XHTML (just not strictly-conformant XHTML) as long as it is well-formed HTML. Well, I will the above changes to my stylesheet... Regards, Daniel -----Original Message----- From: Michael Kay [mailto:mhk@xxxxxxxxx] Sent: Wednesday, 26 May, 2004 4:03 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: XHTML [WAS: Grouping into a table (for vertical alignment)] > > As long as my HTML is well-formed, it is considered XHTML, right? > Wrong. Completely wrong. See the W3C XHTML spec. Michael Kay
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format