Re: [docbook-apps] issue with 1.79.1 stylesheets and table id

From
Thomas Schraitle <>
Date
2016-02-16T20:11:11+00:00
ID
2573836.nU4oMoFWRo@erde
Thread
Re: [docbook-apps] issue with 1.79.1 stylesheets and table id
Hi Tim,

Am Dienstag, 16. Februar 2016, 13:02:21 schrieb Tim Arnold:
> I must still be doing something wrong since I keep getting that attribute.
> Here is my test.xsl customization layer:
> 
> <?xml version='1.0'?>
> <xsl:stylesheet
>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>     version="1.0">
> 
>   <xsl:import href="/path/to/xsl-1.79.1/html/docbook.xsl"/>
>   <xsl:template mode="htmlTableAtt" select="xml:id" />

Haven't tested it, but I guess, in the select attribute you are missing the 
"@" symbol:

   <xsl:template mode="htmlTableAtt" select="@xml:id" />

Otherwise you would select the _element_ id in the XML namespace (which is 
very likely it doesn't exist).

Good luck!

-- 
Gruß/Regards
  Thomas Schraitle