[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] adding a class value for html
Hi Bob, Wow, thank you for that information. I just downloaded and installed 1.77.1, re-ran my doc and Lo! the class value is now populated. thanks! --Tim On Wed, Jun 27, 2012 at 1:34 PM, Bob Stayton <bobs@sagehill.net> wrote: > Hi Tim, > Nothing wrong with your template, but with version 1.76.1. There was a bug > related to the $phrase.propagates.style parameter that interfered with such > customizations. That bug is fixed in 1.77.1. > > Bob Stayton > Sagehill Enterprises > bobs@sagehill.net > > > ----- Original Message ----- From: "Tim Arnold" <jtim.arnold@gmail.com> > To: "DocBook Apps" <docbook-apps@lists.oasis-open.org> > Sent: Wednesday, June 27, 2012 10:02 AM > Subject: [docbook-apps] adding a class value for html > > >> 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: docbook-apps-unsubscribe@lists.oasis-open.org >> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >> >> >> >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]