Re: [xsl] multi-paragraph blockquotes

Subject: Re: [xsl] multi-paragraph blockquotes
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 06 May 2005 17:47:00 +0100
>>>>> "Bruce" == Bruce D'Arcus <bdarcus@xxxxxxxxx> writes:

    Bruce> On May 6, 2005, at 12:00 PM, Colin Paul Adams wrote:

    >> <xsl:template match="para"> <div><xsl:apply-templates/></div>
    >> </xsl:template>

    Bruce> But in your example, para maps to p, and doesn't wrap the
    Bruce> entire paragraph.

?
 
   Bruce> The issue is how do you split the content of the para
    Bruce> element into two p elements: one preceding the blockquote,
    Bruce> and the other subsequent?

Oh, I see - you mean the initial text within the <para>?

Then add add an additional template that matches para/text() should do
the trick (for the example you gave).
-- 
Colin Paul Adams
Preston Lancashire

Current Thread