Re: xsl:variable

Subject: Re: xsl:variable
From: Sydney <moisi_fr@xxxxxxxx>
Date: Wed, 10 May 2000 17:33:52 +0200 (CEST)
Hi

I'm very new in XSL so we will begin from the begining

<div type="chapter">
<!-- Other tags -->
<pb/>
<!-- Other tags -->
<pb/>
<!-- Other tags -->
<pb/>
<!-- Other tags -->
<pb/>
</div>

I want to put into a global variable the content of
the processing of node before pb.
After when we reach the pb element, I print the
content of this global variable. I empty the content
of the variable, and again back to the first step.

<xsl:template match="pb">
<div class="entete">
<xsl:value-of select="$global"/>
</div>
<!-- How to put an empty string into global -->
<!-- back to first step so content of element after
this pb and before the next one-->
</xsl:template>

Thanks
Sydney

___________________________________________________________
Do You Yahoo!?
Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • xsl:variable
    • Sydney - Wed, 10 May 2000 14:37:33 +0200 (CEST)
      • <Possible follow-ups>
      • Sydney - Wed, 10 May 2000 16:01:21 +0200 (CEST)
      • Sydney - Wed, 10 May 2000 17:33:52 +0200 (CEST) <=
      • Kay Michael - Thu, 11 May 2000 09:18:11 +0100
      • Sydney - Thu, 11 May 2000 11:12:24 +0200 (CEST)