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 PROTECTED]</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.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version='1.0'>
<xsl:import href="xhtml/docbook.xsl"/>
<xsl:param name="use.id.as.filename">1</xsl:param>
<xsl:param name="html.stylesheet">style.css</xsl:param>
<xsl:param name="itemizedlist.propagates.style">1</xsl:param>
<xsl:param name="chunker.output.doctype-public">-//W3C//DTD XHTML 1.0 Transitional//EN</xsl:param>
<xsl:param name="chunker.output.doctype-system">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</xsl:param>
<!-- Parameters for Generating Strict Output. See:
http://www.sagehill.net/docbookxsl/OtherOutputForms.html#StrictXhtmlValid
-->
<xsl:param name="css.decoration">0</xsl:param>
<xsl:param name="ulink.target"></xsl:param>
<xsl:param name="use.viewport">0</xsl:param>
<!-- End of Strict Params -->
<xsl:param name="toc.section.depth">10</xsl:param>
<xsl:param name="generate.section.toc.level">10</xsl:param>
<!-- Enable fop extensions - see:
http://www.sagehill.net/docbookxsl/InstallingAnFO.html
http://www.mail-archive.com/fop-users%40xmlgraphics.apache.org/msg06170.html
-->
<xsl:param name="fop1.extensions">1</xsl:param>
<xsl:template name="html_itemized_list">
<div xmlns="http://www.w3.org/1999/xhtml" class="{name(.)}">
<xsl:call-template name="anchor"/>
<xsl:if test="title">
<xsl:call-template name="formal.object.heading"/>
</xsl:if>
<xsl:apply-templates select="*[not(self::listitem or self::title
or self::titleabbrev)]"/>
<ul>
<xsl:if test="@role">
<xsl:attribute name="class">
<xsl:value-of select="@role"/>
</xsl:attribute>
</xsl:if>
<xsl:if test="$css.decoration != 0">
<xsl:attribute name="type">
<xsl:call-template name="list.itemsymbol"/>
</xsl:attribute>
</xsl:if>
<xsl:if test="@spacing='compact'">
<xsl:attribute name="compact">
<xsl:value-of select="@spacing"/>
</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="listitem"/>
</ul>
</div>
</xsl:template>
<!-- Insert some AdSense Ads -->
<xsl:template name="user.header.navigation">
<div class="site_nav_menu">
<ul>
<li><a href="{$docmake.output.path_to_root}">Home</a></li>
<li><a href="{$docmake.output.path_to_root}humour/">Humour</a></li>
<li><a href="{$docmake.output.path_to_root}philosophy/">Articles and Essays</a></li>
<li><a href="{$docmake.output.path_to_root}puzzles/">Puzzles</a></li>
<li><a href="{$docmake.output.path_to_root}art/">Computer Art</a></li>
</ul>
</div>
<div class="center ads_top">
<script type="text/javascript">
google_ad_client = "pub-2480595666283917";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "336699";
google_color_text = "000000";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</xsl:template>
</xsl:stylesheet>
<?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 PROTECTED]</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
-->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]