hi,
I have a DocBook 5 element with a remap= attribute that I'm trying to
pass on as a class value to the html, using the 1.76.1 namespaced
stylesheets.
The XML element looks like this:
<phrase remap="Mathtext">t</phrase>
The template:
<xsl:template match="d:*[@remap='Mathtext']" mode="class.value">
<xsl:value-of select="local-name(.)" />
<xsl:value-of select="' mathtext'" />
</xsl:template>
but I get this in the HTML:
<span>t</span>
I don't claim to fully understand my xsl template--I copied it from a
similar example in the book. I suppose my cargo-cult style of
programming is wrong, but I don't know how.
Can someone enlighten me please?
thanks,
--Tim Arnold
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]