[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XHTML [WAS: Grouping into a table (for vertical a

Subject: RE: XHTML [WAS: Grouping into a table (for vertical alignment)]
From: "Daniel Joshua" <daniel.joshua@xxxxxxxxxxxx>
Date: Wed, 26 May 2004 17:53:31 +0800
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.