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] preceding/following character?


Subject: Re: [xsl] preceding/following character?
From: Bruce D'Arcus <bdarcus@xxxxxxxxx>
Date: Fri, 17 Jun 2005 19:56:43 -0400

On 6/17/05, David Carlisle <davidc@xxxxxxxxx> wrote:
>
> > Specifically, where there's more than "cite" element in a "p",
> > I get duplicate cite elements for each one in the output.
>
> well this processes all sibling cites each time.
> >         <xsl:apply-templates select="../cite" mode="clean"/>
> I'd guess the intention is to just to process the following node (which
> is a cite) so
>         <xsl:apply-templates select="following-sibling::cite[1]"
mode="clean"/>

Thanks David.  That does solve the duplicate problem, but also leaves
off the second cite element:

<div>Some text and more text .[XXX] Some <EM>more</EM> text. Some text
and more text .</div>

Bruce


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