473,394 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

XHTML2.0

Hi,

I have done a fair bit of personal web design in XHTML 1.0/1.1 strict
and am very curious about XHTML2.0.

I have a couple quick questions I hope some people may be able to
answer for me as I am strugelling to find answers elsewhere.

To my understanding it is still in draft, but is it actually in use? I
found one page, but it was not properly done.

Ultimately I want to design a simple XHTML2.0 webpage for a LAN running
on the current apache2 webserver. But I can not figure out how to code
an XHTML2.0 page. The actual content seems fairly standard, but the
doctypes etc I can not get to validate on the w3c validator. It
especially gives my gumpf about mime types, but I dont know haw to
solve it (I read xhtml2.0 needs an special xml type mime type)

So far I have:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 2.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml2.dtd">

<html>
<head>
<title>Tester Page</title>
<link rel="stylesheet" type="text/css" href="./css/default.css" />
</head>
<body>
<div>
<section>
<h>Test Page</h>
<p>This is a page to test XHTML2.0</p>
</section>
</div>
</body>
</html>

I read in wiki I think that something like this also needs to be done,
not sure tho.

<html xmlns="http://www.w3.org/2002/06/xhtml2/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2002/06/xhtml2/
http://www.w3.org/MarkUp/SCHEMA/xhtml2.xsd">

Is it feasable to code a website in XHTML2.0, ignoring compatability
issues (I heard mozilla firefox is the only browser compatible, this is
only some localhost type webpage)

Something I really like the look of in XHTML2.0 is the section + h
elements and the ability to put link / href attributes in any element,
makes much more sense!
Thanks for any help.

Feb 5 '06 #1
2 1311
gu************@gmail.com wrote:
I have done a fair bit of personal web design in XHTML 1.0/1.1 strict
Quite useful for authoring content in, but not all that suitable for use on
the WWW (the handwaving of Appendix C for XHTML 1.0 is silly at best (and
depends on bugs in HTML 4 user agents), and doesn't apply to 1.1 at all)
and am very curious about XHTML2.0. To my understanding it is still in draft, but is it actually in use?
I seem to recall one person experimenting with it and transforming it with
client side XSLT. It really is not something you should be using on the WWW
at the moment.
Ultimately I want to design a simple XHTML2.0 webpage for a LAN running
on the current apache2 webserver. But I can not figure out how to code
an XHTML2.0 page.
XHTML 2.0 is still subject to change. It isn't supported, AFAIK, by any user
agent except as generic XML.
The actual content seems fairly standard, but the
doctypes etc I can not get to validate on the w3c validator.
From the latest draft:

This version includes an early implementation of XHTML 2.0 in RELAX NG
[RELAXNG], but does not include the implementations in DTD or XML
Schema form.

So any DTD you might find is out of date.
It especially gives my gumpf about mime types, but I dont know haw to
solve it (I read xhtml2.0 needs an special xml type mime type)
I believe that you use the regular XHTML content type, with a parameter
specifying a version. I don't think the syntax of that parameter has been
defined yet (other then being in the standard form for HTTP).
Is it feasable to code a website in XHTML2.0
No.
, ignoring compatability issues (I heard mozilla firefox is the only
browser compatible
I'm pretty sure it isn't.
Something I really like the look of in XHTML2.0 is the section + h
elements and the ability to put link / href attributes in any element,
makes much more sense!


It is nice syntax for authoring, client support is absent at present. Treat
some draft of XHTML 2.0 (or a subset of same) as a custom XML format. Write
your own schema. Transform it to HTML 4.01 before serving to to clients.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Feb 5 '06 #2
Thanks for your reply, it seems you have confirmed my suspisions :(

Thanks again :)

Feb 6 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Victor Engmark | last post by:
I am making an XML Schema for emails, and would like to specify that any elements from the XHTML2 namespace are allowed in the body/contents and signature/footer parts of the message (and _only_...
6
by: Kerberos | last post by:
I am learning XHTML 2.0, and I have tried to validade the example of XHTML 2.0 page given on the W3C eBook, but it reports errors :'( Here's the code: <?xml version="1.0" encoding="UTF-8" ?>...
21
by: PassingBy | last post by:
I recently came across a template site selling cd's and was wondering what the groups opinion is of this? I purchased one of the cd's and the templates are great and Im looking forward to...
3
by: Ney André de Mello Zunino | last post by:
Hello. I decided to start experimenting with XHTML 2.0, having never messed with any of its previous versions, except for a quick look at XHTML 1.0 when it came out. When I tried to validate the...
9
by: Rosalie Mignon | last post by:
Hello world, I would like to write a link for an external web site, but I don't find any solution to replace the target attribute or onclick attribute (with javascript). Is there any issues ? ...
82
by: Buford Early | last post by:
I read this in http://annevankesteren.nl/2004/12/xhtml-notes "A common misconception is that XHTML 1.1 is the latest version of the XHTML series. And although it was released a bit more than a...
8
by: pacs34 | last post by:
I just read some stuff about XHTML 2.0 and it sounds fascinating so I have been trying to create a small test doc which has a few graphics files but whenever I submit it to the W3 validator I get...
22
by: Gianni Rondinini | last post by:
hi all. please excuse the misusage of some tech terms, but writing in english is not as easy as in italian :) i'm designing our new website and, since i want to do something that will last as...
10
by: git | last post by:
All, I have been working on a system to support the 'tidy' program to help convert html to xhtml. The system is a little complex for me to put together as it involves apache/php/linux and a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.