Next in thread → Next in month →

Re: [docbook-apps] XHTML output

From
Bob Stayton <>
Date
2006-12-11T01:14:09+00:00
ID
172b01c71cc1$b4c34370$6400a8c0@totoro
Thread
Re: [docbook-apps] XHTML output
Hi Lionel,
Could you provide a short complete DocBook example that illustrates the 
problem?  Also, can you describe what processor you are using?

Regarding lang and xml:lang attributes, those are universal attributes 
available on all elements in XHTML 1.0 Transitional.  Those should not be 
flagged by the XHTML validator.

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "x3n" <>
To: <>
Sent: Friday, December 08, 2006 9:54 AM
Subject: [docbook-apps] XHTML output


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi everybody,
>
> I'm faced with a strange problem. Actually, I'm transforming a DocBook
> article with that strucutre (which is very simple !)
>
> <article lang="fr">
> <artheader>
> ...
> </artheader>
>
> <sect1 id="id1">
> <sect2 id="id2">
> ...
> </sect2>
> </sect1>
> </article>
>
> I want an XHTML output so I'm using the XHTML subpart of the XSL
> distribution. Everything is ok, except that on severals "div" in my
> output, I have an redefinition of "xmlns" and "lang". I don't know why
> there is a need for such a thing...
>
> According to the validator W3C, this kind of thing is not acceptable for
> XHTML Transitional/Strict.
>
> I think there is a problem somewhere, but I don't where... Is there a
> problem with my DocBook source ?! With my XSLSheet (I've made some
> modification, but nothing that can explain that) ?!
>
> Thank for your help,
>
> Lionel
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.1 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFeaba+xVm1YbwF0cRAnM+AKCCwIrh8i92ZSCup1gWsDiQq9YrIgCfU/YD
> n4VR8TKoMsftzHoHM09GZnU=
> =c8PH
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →