This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Docbook xsl stylesheets and accessibilityrequirements?
- From: Daniel Veillard <veillard at redhat dot com>
- To: Adam DiCarlo <adam at onshored dot com>
- Cc: Steve dot Nunez at bluewave dot com, docbook-apps at lists dot oasis-open dot org
- Date: Thu, 13 Feb 2003 08:05:15 -0500
- Subject: Re: DOCBOOK-APPS: Docbook xsl stylesheets and accessibilityrequirements?
- References: <OF87AE66FA.A294C7B3-ON48256CCC.0007E329@bluewave.com><86smuszx1n.fsf@gopher.onshored.com>
- Reply-to: veillard at redhat dot com
On Wed, Feb 12, 2003 at 09:20:20PM -0600, Adam DiCarlo wrote:
> Steve.Nunez@bluewave.com writes:
>
> > A general question for folks. If one is stylesheet agnostic, would DSSSL or
> > XSL be a better choice for a start toward producing XHTML Strict? I was a
> > LISP hacker in a previous life, and so find DSSSL appealing.
>
> Since the docbook-xsl from the DBOR (Docbook Open Repository) already
> has XHTML output and the docbook-dsssl does not, I would imagine it's
> easier to work from what is already there.
Bit of warning: XSLT1.0 has no provision for the "special" serialization
rules of XHTML1 . In xsltproc I do check if the resulting DOCTYPE is XHTML1
and will apply those but I don't think you can rely on this as being portable.
Concerning validity and xmlns, XHTML1 (erroneously IMHO) only allow it
on the root html element. There is no rule in XSLT saying that an XSLT
processor must minimize the namespaces declarations generated or try
to coalesce them. Both specs leave a gap and there is no guarantee possible
that you will get the prefect match you expect.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/