A
Andy Dingley
Not true.
Sorry, what I meant here was that you can't achieve the functions of
elements in <head> by taking arbitrary XML elements and applying CSS
to try and turn them into <title>
Not true.
Blue said:IE doesn't care about me so I don't care about IE.
Frankly. XHTML 1.0 should be served as application/xhtml+xml.
(And as a
side note you can still have frames in 1.1 if you write a DTD
driver for it like I did or just ignore the DTD and just use those
tags anyway.)
HTML failed as a structural language early in
it's life. It IS a presentational language.
XML is an
ackknowledgement of all the proprietary extentions that were going
to and did happen to HTML like it or not.
It alows the w3 to enforce it's semantics
To be quite frank you have it backward. I'm actually more
interested in structure and I'm saying that HTML 4.01 isn't
structural enough.
Custom Structural XML -> XSLT -> Presentational XML+CSS
What's so really bad that?
Blue said:This in neither here no there but I have read somewhere that in XHTML
2.0 the <img> might be removed and relagated to the object tag. How's
that for compatability?
Furthermore HTML 2.0 isn't compatabile at all
with legacy user agents because the http mime has to be
application/xhtml+xml and from what I have read all legacy browsers
choke on it.
That's your privilege, but you might get better answers if you
explicitly said, at the very beginning, that you don't want to author
for the WWW.
The question really is whether you win anything by using XHTML 1.0 as
opposite to HTML 4. As soon as you find the right question, the answer
is pretty obvious.
You can draw a square and call it a circle, but it ain't no circle.
The DTD of XHTML 1.1 is fixed. If you change a single bit in the DTD,
you are not using XHTML 1.1. Is the marketese nonsense around XHTML
really so impressive that people attach that label to virtually
anything? Why not call it XHTML 3.0? Well, apart from the fact that the
W3C claims XHTML to be a "generic trademark" - yet another oxymoron.
Actually, I have XHTML 3.0 for you:
http://www.cs.tut.fi/~jkorpela/html/xhtml3.html
No, it is bastard, or hybrid, language. And it's a practical tool,
which can be used structurally, or as tag soup that is little more
(actually, it's much less) than a clumsy collection of second-hand
text-processing macros. Or something in between. Your choice.
No, of course not. XML is just a strongly simplified metalanguage for
defining the syntax of markup notations. You can use it for pure
structure, or pure presentation, or something in between. It's almost
as exciting as ASCII.
XML has no semantics, and it cannot serve as a weapon of enforcing
semantics (or anything else).
We surely agree on HTML 4.01 not being structural enough. But what we
can see around is movement to less structure under the great fallacy of
getting more structure when you just use XML.
First, the fact that the "custom structure" exists in your mind only,
not communicated to anyone else. Second, that the only way to access
your document is in the specific, single visible format that you have
defined in your text processing application (implemented using macros
in XML and XSLT and CSS clothes). It would be easier to write the
document using MS Word, with disciplined use of Word styles - and it
would be, in practice, more accessible that way, since so many users
know what to do with MS Word documents, and so few would wish to learn
to use your text processing application e.g. just to increase font
size.
And, of course, you it would be even simpler, and considerably more
accessible, to use just HTML today, and maybe add some CSS tomorrow.
[snip]Jukka said:XML has no semantics, and it cannot serve as a weapon of enforcing
semantics (or anything else).
Blue said:The big question: What is so darn great about HTML?
Blue said:How would I not be authoring for the web?
One can post word or pdf
files you can still put it on the web.
You get namespaces so you can integrate other markup like MathML
This is
also very similar and related to XHTML modularization which more
easily allows subsets and supersets of HTML.
But the immediate benefit is server side scripting.
But basicly 90% of the benefit is XHTML conforms to XML's uniform
markup rules which allows XML parsers to process XHTML files with
fewer CPU cycles.
Do you understand the point of the 1.1 revision was over 1.0?
With
1.0 you had three different doctypes and if you changed those it
didn't conform
where as HTML 1.1 is about drivers which allows you
to pick and choose the tag sets (modules) to support.
It's amazing to me that people insist it's structural just because
of the heading and list tags.
The XML format itself is just simple basic rules for file parsing.
I beg to differ. It allows them or anyone else to point and say
definitively that so and so isn't following the spec.
With XML there is nothing stoping you or me from trying
to create a format and get others to follow it.
My origional post was about asking what the inherent value of HTML
(althrough I realize now I should have specified structural) was
and all anyone can say about it is backward compatability. I.E.
that it will DISPLAY in older browsers.
But the question in my mind origionally was why use HTML as an
output format?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.