OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: [Stylesheets] Adding a text the *first* timeyouencounter a given element?


On Wed, Feb 12, 2003 at 04:30:52PM +0100,
 Jirka Kosek <jirka@kosek.cz> wrote 
 a message of 28 lines which said:

> <xsl:template match="rfc">
>   ... process element ...
>   <xsl:if test="not(preceding::rfc)">
>     ... stuff to appear when we are on a first occurence of rfc
> element...
>   </xsl:if>
> </xsl:template>

It works and it is elegant and simple. Thanks. I just have to find a
similar construct in DSSSL (which does not have Xpath).



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC