OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Processing instructions ignored in biblioentry and bibliomixed


Hi Dave,
The reason they don't work is because everything inside biblioentry is processed in mode="bibliography.mode" and everything inside bibliomixed is processed in mode="bibliomixed.mode". It uses modes because many bibliography elements are rearranged for presentation.

If you use both biblioentry and bibliomixed elements, you will need a set of templates for both modes.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

--------------------------------------------------
From: "Xmplar" <info@xmplar.biz>
Sent: Saturday, January 12, 2013 4:07 PM
To: "DocBook Apps" <docbook-apps@lists.oasis-open.org>
Subject: [docbook-apps] Processing instructions ignored in biblioentry and bibliomixed

I have FO processing instructions to insert punctuation such as apostrophes and dashes. Typical PIs are:

<xsl:template match="processing-instruction('apos')">
<fo:character character="&#x2019;"/>
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="processing-instruction('endash')">
<fo:character character="&#x2013;"/>
<xsl:apply-templates/>
</xsl:template>

These do not work for text that is within biblioentry or bibliomixed elements. Other combinations of elements do work, such as text in a <citetitle> element that is not nested in biblioentry or bibliomixed. There is nothing in either of those templates that excludes processing instructions, so I'm wondering what else might be affecting 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]