Click here to get back home

A HTML document can be converted to XHTML document.

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
A HTML document can be converted to XHTML document. mike 01-31-2005
Posted by mike on January 31, 2005, 8:58 am
Please log in for more thread options
regards:

A HTML document can be converted to XHTML document.

one step is:'Un-minimize' minimized attributes

What does the step mean in easy english?...@@.
I mean what operations I should do on the attributes?

Any suggestion is welcome.

thank you
May goodness be with you all


Posted by Steve Pugh on January 31, 2005, 5:21 pm
Please log in for more thread options
s917124@mail.yzu.edu.tw (mike) wrote:

>A HTML document can be converted to XHTML document.

Correct. Though often it isn't worth it.

>one step is:'Un-minimize' minimized attributes
>
>What does the step mean in easy english?...@@.
>I mean what operations I should do on the attributes?

See http://www.w3.org/TR/xhtml1/#h-4.5

If you have a boolean attribute such as readonly you must specify it
as readonly="readonly"

If you have an attribute that takes keywords as values then in HTML
you can use the keywords alone (e.g. <td valign="top" align="center">
can be written as <td top center>) in HTML - browser support is
another matter - but must be written in full in XHTML.

If you are trying to write a parser to convert from HTML to XHTML then
you will need to change both types accordingly. Hence the parser will
need knowledge of the different attributes, either by parsing a DTD or
by having them hard coded.

        Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor



Similar ThreadsPosted
haw add an xhtml module to a document July 25, 2006, 2:58 pm
How does a browser parse an html document? January 25, 2006, 9:25 am
Document trailers : can anything legitimately follow August 6, 2004, 5:36 pm
How can I dynamically add file links to a html document? May 31, 2005, 7:40 am
How do redirects influence the base URL of an HTML document November 6, 2007, 3:25 pm
HTML form (XForms) --> XML Document without a web server? November 26, 2007, 11:33 am
Document seems invalid, but validates as HTML 4.01 strict September 4, 2008, 3:01 pm
Inserting Live Audio onto a Basic HTML Document October 26, 2004, 1:25 pm
Extracting Semantic Structure of HTML Document- Feature based January 30, 2005, 7:43 pm
? Storing Internal Information In An HTML Document (eg Inside Tags) February 1, 2005, 4:08 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap