473,396 Members | 1,998 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,396 software developers and data experts.

XHTML replaced by XML ?

I have heard a lot of time that one day XML will replace XHTML for Web
page development; and that XHTML will not be used anymore.
Since XHTML is still widely used,do you think that these "sayings" are
true ?

If yes, do you know a WYSIWYG web page editor than can generate XML +
XSL code instead of generating HTML + CSS code ?

Thank you

Alexandre
Nov 1 '06 #1
4 1701
Alexandre Drolet wrote:
I have heard a lot of time that one day XML will replace XHTML for Web
page development; and that XHTML will not be used anymore.
Since XHTML is still widely used,do you think that these "sayings" are
true ?
The simple answer is "maybe".

First off, XHTML *is* an XML language -- unlike HTML, which was based on
SGML. And XHTML is indeed intended to be HTML's replacement, according
to the W3C. So you've already taken the first step.

Second, one of XHTML's advantages is that, as an XML language, it allows
part of the document to be written in other languages -- SVG, for
example - distinguished from the XHTML via namespaces. I do believe
we're going to see increasing amounts of this, since XHTML still has
most of the warts of HTML and extending into other languages will permit
more interesting things to be done. So XHTML, if it persists, may wind
up being not much more than a wrapper.

Third, if you take a look at the new generation of web development --
Ajax in particular -- you'll see that increasingly communication between
the browser and the server is being done in XML, with XHTML used
essentially as a rendering/interaction language rather than being the
basis of the website's design. Even when normal (X)HTML is being served
out, the servers are often based firmly on XML processing, and are just
using stylesheets to translate that into (X)HTML for interaction with
the user.
If yes, do you know a WYSIWYG web page editor than can generate XML +
XSL code instead of generating HTML + CSS code ?
You're crossing two semi-compatable concepts there. XSL is a lot richer
than HTML-plus-CSS. That richness means it can do things that the
HTML-plus-CSS version can't do without scripting. But for that very
reason, WYSIWYG is really not the right metaphor for editing it. (Think
about what happens if the stylesheet says "Don't show me the purchase
order if it's empty", and you empty it -- in a WYSIWYG system, how do
you then get it back? Similarly, imaging typing into a form which is
re-sorting itself as you're typing.) What's more commonly done is a
multi-window solution -- work on the source and the stylesheet, and have
the resulting rendering displayed in a separate window. For that, you
don't actually need a particularly fancy tool; push refresh on an
XSLT-aware browser to see what effect your changes have had.

Since I'm not a WYSIWYG fan generally, I don't have recommendations. I
know XMetaL, oXygen, and XMLSpy all said they were adding XSLT support
at one point (though recent posts here suggest XMLSpy's implementation
may have some bugs?), so you might want to start by checking their status.
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Nov 1 '06 #2
Alexandre Drolet wrote:
I have heard a lot of time that one day XML will replace XHTML for Web
page development; and that XHTML will not be used anymore.
That sounds like nonsense as XHTML is an XML application so XHTML is XML
already.
The W3C wanted to replace HTML with XHTML by starting with XHTML 1.0 and
allowing it to be authored and served backwards compatible with HTML
browsers to move on to XHTML 1.1, mixed namespace XML documents with
XHTML and/or MathML and/or SVG to (finally?) arrive at XHTML 2.0 and
XForms (and/or MathML and/or SVG).
But IE 7 is just out and still does not render XHTML 1.0 served as
application/xhtml+xml. And even browser producers like Mozilla or Opera
that for quite a while now have browsers that support treating XHTML as
XML by parsing with an XML parser are trying to move "backwards"
(compared to the above way the W3C envisioned) to "HTML 5" as an
improvement of HTML 4.01 (e.g. improving HTML forms instead of replacing
with XForms). See <http://www.whatwg.org>.


--

Martin Honnen
http://JavaScript.FAQTs.com/
Nov 1 '06 #3
No! XHTML is an XML application which means it is a subset of XML and and
has its own tags.

-g
Nov 1 '06 #4
By the way, fix the date on your machine...

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Nov 2 '06 #5

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

Similar topics

11
by: Michael Kalina | last post by:
Hi everybody! Can the honoured readers of this newsgroup maybe help me with my xhtml-skills. The only thing I would like to have, is some feedback on my coding style on my website, which you can...
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...
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...
11
by: Kidogg | last post by:
Hi all, I'm attempting to write a validator for some email template files we use as part of our e-commerce application (incidentally in C#) and I've run into a problem as I'm not a huge user of...
2
by: KW | last post by:
I have a challenge and would appreciate any suggested approaches. I want to be able to let a group of end users create something like the following... <div> <custom:CustomTag...
2
by: nickyeng | last post by:
The id attribute and name attribute in xhtml. I read from w3schools.com that ALL name attribute is replaced by id attribute. so this code ... <input type="checkbox" name="checkbox1"...
2
by: elsheh | last post by:
I’m trying to use XHTML form for gathering data from users and send it back to a server for further processing. The problem is that, according to XHTM specifications I’ve to use (id) attribute...
3
by: August Karlstrom | last post by:
Hi everyone, In XHTML, can any empty element <foo></foobe replaced by <foo />? Example: <table> <tr><td>1</td><td>2</td></tr> <tr><td /><td>4</td></tr> </table>
13
by: mark4asp | last post by:
When I write a url in xhtml, with an unencoded ampersand, like this: http://localhost:2063/Client/ViewReport.aspx?Ref=58&Type=SUMMARY the xhtml sytax checker correctly indicates an error,...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.