koffice.org does not validate

Nicolas Goutte nicolasg at snafu.de
Wed Sep 3 13:52:02 UTC 2003


(Please CC me!)

As KDE's DocBook files are all in XML, perhaps a solution with a XLS template 
could be tried (as the destination is XML too.)

XSLT 1.0 Specification: http://www.w3.org/TR/xslt

The program to use is xsltproc. Generated XML files must be past by sed "s%/>% 
/>%" to become HTML-compatuble XHTML 1.0 files.

As examples, my two templates are at www/areas/koffice/filters/scripts

(Sorry, due to KOffice and as I do not know DocBook's tags, I would not have 
time to make such a template. But I could surely try to help with problems.)

Have a nice day!

--- Original Message ---
List:     kde-www
Subject:  Re: koffice.org does not validate
From:     Olaf Jan Schmidt <ojschmidt () kde ! org>
Date:     2003-09-03 11:09:02

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[Chris Howells]
> The problem is that the FAQ is generated from DocBook, so fixing it
> wouldn't be trivial unfortunately.

One solution would be to optionally disable the automatic generation of a 
<h1> headline. The problem with such a woprkaround would be that it would 
tempt people to use it wrongly - every page _must_ start with a <h1> 
headline for consistency and correct rendering on all styles.

I would prefer a more general solution - we have also have pages in 
docs.kde.org and accessibility.kde.org that are generated from docbook. 
Is there any chance to compile docbooks directly to the new layout?

Olaf.
- -- 
Olaf Jan Schmidt, KDE Accessibility Project
KDEAP co-maintainer, maintainer of http://accessibility.kde.org
(...)


More information about the kde-www mailing list