OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: ulink doesn't show as footnote when using XSL-NS Stylesheets


DocBook v5 replaces ulink with link as documented in DocBook V5.0:The Transition Guide. It looks like the XSL-NS Stylesheets are not handling ulink.footnotes though; setting the parameter to 1 doesn't cause the link to show up as a footnote.

I've attached a small sample v5 document and two sample stylesheets -- the XSL stylesheet works as expected (the footnote shows up) and the XSL-NS does not. I can report this as a bug but wanted to see if anyone else ran into the problem.

I'm using the 1.73.2 versions of the stylesheets.

Ken

<?xml version="1.0" encoding="UTF-8"?>
<book xmlns="http://docbook.org/ns/docbook";
	 xmlns:xl="http://www.w3.org/1999/xlink";
	 version="5.0" xml:lang="en">
    <title>Book Title</title>
    <chapter xml:id="c1">
        <title>Chapter Title</title>
        <section xml:id="s1">
            <title>Section Title</title>
			<para>
				Information on the XSL stylesheets used to translate DocBook source files into different output an be found in the book, 
				<citetitle>DocBook XSL: The Complete Guide</citetitle> by Bob Stayton. The book is also available 
				<link xl:href="http://sagehill.net/docbookxsl/index.html";>online</link>.
			</para>
        </section>
    </chapter>
</book>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet 
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
 xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
 version="1.0"> 
 
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.73.2/fo/docbook.xsl"/> 

<xsl:param name="fop1.extensions" select="1" />
<xsl:param name="hyphenate" select="'false'"/>

<xsl:param name="ulink.show" select="1"/>
<xsl:param name="ulink.footnotes" select="1"/>
<xsl:param name="ulink.hyphenate.chars" select="''"/>

</xsl:stylesheet> 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet 
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
 xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
 xmlns:rx="http://www.renderx.com/XSL/Extensions";
 xmlns:d="http://docbook.org/ns/docbook";
 exclude-result-prefixes="d"
 version="1.0"> 
 
<xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/1.73.2/fo/docbook.xsl"/> 

<xsl:param name="fop1.extensions" select="1" />
<xsl:param name="hyphenate" select="'false'"/>

<xsl:param name="ulink.show" select="1"/>
<xsl:param name="ulink.footnotes" select="1"/>
<xsl:param name="ulink.hyphenate.chars" select="''"/>

</xsl:stylesheet> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]