[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: preceding/following character?

Subject: Re: preceding/following character?
From: Bruce D'Arcus <bdarcus@xxxxxxxxx>
Date: Fri, 17 Jun 2005 19:56:43 -0400
Re:  preceding/following character?
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.