This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] productname
- From: "Kai Hagemeister" <kh at planoweb dot de>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 22 Feb 2005 11:41:09 +0100 (CET)
- Subject: [docbook-apps] productname
Namaste,
i'm trying to change the default value of productname which ist trade to
no value. This seems to be easy. I looked for the template which matches
productname. In the file html/inline.xsl i found this:
<xsl:template match="productname">
<xsl:call-template name="inline.charseq"/>
<xsl:if test="@class">
<xsl:call-template name="dingbat">
<xsl:with-param name="dingbat" select="@class"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
Now, in my sourcedocument stands something like:
<productname>foo</productname>
So the template should match the element and call inline.charseq which
prints the value of the element, nothing more. It never should pass the
xsl:if test for the attribut class.
But something peculiar happens. When the template matches productname it
has a attribut class with value trade which i had never defined in the
source-document. I grepped for the string trade and the string productname
to find a place where this attribut is set. But I didnt find anything.
Has somebody out there an idea and could assist.
Thanks in advance.
Kai
--
P L A N O M E D I A