(dsssl) Adding a text the *first* time an element is seen

Subject: (dsssl) Adding a text the *first* time an element is seen
From: Stephane Bortzmeyer <bortzmeyer@xxxxxx>
Date: Wed, 5 Mar 2003 10:03:18 +0100
I would like to add a small blurb in a document after a given element,
but only once, when the element first appears.

Here is how I do it in XSL:

<xsl:template match="rfc">
...
<xsl:if test="not(preceding::rfc)"> (RFC means Request For
Comments. They can be downloaded from 
<a href="http://www.rfc-editor.org/";>RFC editor</a>.) </xsl:if>
</xsl:template>

How can I do so with DSSSL?

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread