xsl-list
[Top] [All Lists]

Re: preceding/following character?

2005-06-17 16:22:56

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"/>

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
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>
--~--