[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-cygwin
Subject: RE: HTML tidy
From: "Robert Collins" <robert.collins () syncretize ! net>
Date: 2002-06-22 3:57:55
[Download RAW message or body]
> -----Original Message-----
> From: kde-cygwin-admin@mail.kde.org
> [mailto:kde-cygwin-admin@mail.kde.org] On Behalf Of Ralf Habacker
> Sent: Saturday, 22 June 2002 8:05 AM
> To: kde-cygwin@mail.kde.org
> Subject: RE: HTML tidy
>
>
> > Running the html through the sgml or xml DTD is also a great way to
> > check validity.
>
> I'm only a little familiar with sgml and xml. Do you mean to
> write the content
> in xml or sgml and use a converter like docbook or something
> else to produce
> valid html code ?
No. HTML (all versions) is SGML. XHTML is XML. The DTD describes the
structure allowed for a given HTML version. Docbook files are also SGML
(and recently XML). Docbook itself is just a DTD - not a converter.
Docbook stylesheets, written in DSSSL or XSLT are used to process
docbook files - so things like jade are the converters.
I meant to validate the html against the DTD, which as has been
mentioned html tidy can do.
> > HTML Tidy can do the same thing but alters as it goes.
> >
> > When working on similar projects my approach is a 2-step one.
> >
> > 1) Valid the html against it's DTD.
>
> Do you know a tool for this ?
There are many. [O]NSGMLS, html tidy, xsltproc (for xhtml files)....
Rob
_______________________________________________
kde-cygwin mailing list
kde-cygwin@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-cygwin
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic