xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor