xsl-list
[Top] [All Lists]

Re: multi-paragraph blockquotes

2005-05-06 09:47:00
"Bruce" == Bruce D'Arcus <bdarcus(_at_)gmail(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>