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] Losing poetry/drama/dialogue content with XSL

Hi Brad,
Indeed, the template for epigraph is not well set up for extensions, as it selects specific elements to process:

<xsl:template match="epigraph">
    <xsl:call-template name="anchor"/>
    <xsl:apply-templates select="para|simpara|formalpara|literallayout"/>
    <xsl:if test="attribution">
        <xsl:apply-templates select="attribution"/>

I think the author did that to handle attribution out of document order. That first select should probably be:


Bob Stayton
Sagehill Enterprises

On 4/30/2014 7:26 AM, Brad Scott wrote:

I'm using the DocBook Publishers schema, and we've been customising the
DocBook XSL for the poetry, drama and dialogue element display.

However, I notice that, if any of those elements are within an epigraph,
the output using the standard uncustomised tools strips out the content;
it doesn't just pass it through with the markup escaped in red, it loses
it completely.

Just thought you'd like to know, since this is different behaviour from
when those elements occur in a blockquote, which seems a little odd, and
it took us some time to notice.

Best, and thanks!


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]