[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Q and A labeling problems in HTML
I think the value needs to be double quoted since it is a string: <xsl:param name="qanda.defaultlabel" select="'number'" /> or <xsl:param name="qanda.defaultlabel">number</xsl:param> Without the single quotes, "number" is interpreted as an XPath trying to select an element named <number>, it will fail, leaving an empty param. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Ursula A. Kallio" <uak@nerp.net> To: <docbook-apps@lists.oasis-open.org> Sent: Monday, December 04, 2006 7:44 PM Subject: Re: [docbook-apps] Q and A labeling problems in HTML > Typo noted inline below... > > On Mon, 4 Dec 2006, Ursula A. Kallio wrote: > >> I am trying to create an appendix of FAQs and started here: >> http://www.sagehill.net/docbookxsl/QandASetsHTML.html#QandAlabels >> >> Specifications: >> xsltproc >> fop-0.20.5 >> docbook-xsl-1.69.1 >> Ubuntu >> >> If I _do not_ include the following parameters in my HTML customization >> layer, an inherited number preceeds each question and answer set: >> >> <xsl:param name="qanda.defaultlabel" select="1" /> > -----------------------------------------------^ > Sorry about the typo. This should have been "number". > (My problem still exists.) > >> <xsl:param name="qanda.inherit.numeration" select="1" /> >> >> If I _do_ include these parameters in my HTML customization layer, >> nothing preceeds each question and answer set. >> >> I expect the output to look identical to the output described above. >> >> How can I get the parameters to behave as expected? >> >> uak >> PS. If I can explicitly get the parameters to behave as expected, then I >> can globally make changes to the numbering scheme. I do not want to have >> to touch the XML to solve this. > > --------------------------------------------------------------------- > 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]