← Prev in month
← Prev in thread
Next in thread →
Next in month →
xml:lang="" in DocBook/XML 5.0 in <para>, <orderedlist> etc. does not propagate to the XHTML
Hi all!
I have the following markup:
{{{{{{{{{{{{{
<?xml version='1.0' ?>
<book xmlns="http://docbook.org/ns/docbook" version="5.0" id="index" lang="he">
<info>
<title>המדריך העברי ל-HTML תקני</title>
<authorgroup>
<author>
<firstname>Shlomi</firstname>
<surname>Fish</surname>
<affiliation>
<address>
<email></email>
</address>
</affiliation>
</author>
</authorgroup>
<copyright>
<year>2008</year>
<holder>Shlomi Fish</holder>
</copyright>
<legalnotice xml:lang="en">
<!-- Ci vis pacem -->
<para xml:lang="en">
<!-- belum. ;-) -->
This document was written by Shlomi Fish and is available
under the terms of either the:
</para>
<orderedlist xml:lang="en">
<listitem>
<para>
<ulink
url="http://creativecommons.org/licenses/publicdomain/">The Public
Domain</ulink>,
as defined by the Creative Commons or your local
jurisdication.
</para>
</listitem>
<listitem>
<para>
<ulink
url="http://creativecommons.org/licenses/by/3.0/">The Creative Commons
Attribution License (CC-by) version 3.0</ulink>
(or at your option any later version of the same
license.)
</para>
</listitem>
<listitem>
<para>
The
<ulink
url="http://www.opensource.org/licenses/mit-license.php">MIT
X11 License</ulink>.
</para>
</listitem>
</orderedlist>
</legalnotice>
<revhistory>
<revision>
<revnumber>2780</revnumber>
<date>27 April 2008</date>
<authorinitials>shlomif</authorinitials>
<revremark>
Started working on this document after forking the template
of an older one.
</revremark>
</revision>
</revhistory>
</info>
<chapter id="introduction">
<title>מבוא</title>
<para>
מדריך זה בא לענות
</para>
</chapter>
</book>
<!-- vim:ft=tt2
-->
}}}}}}}}}}}}}
When processing it with:
{{{{{{{{{{{
xsltproc --path
/usr/share/sgml/docbook/xsl-stylesheets-db5-1.73.2/xhtml -o
hebrew-html-tutorial/index.html custom.xsl hebrew-html-tutorial.xml
}}}}}}}}}}}
With the attached custom.xsl I'm getting the <para> and <orderedlist>
items with the lang="" or xml:lang attribute in the resultant XHTML
file. How can I make them propagate to the XHTML?
Regards,
Shlomi Fish
------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Electrical Engineering studies. In the Technion. Been there. Done
that. Forgot a lot. Remember too much.
← Prev in month
← Prev in thread
Next in thread →
Next in month →