This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl:variable
- To: xsl-list at mulberrytech dot com
- Subject: Re: xsl:variable
- From: Sydney <moisi_fr at yahoo dot fr>
- Date: Wed, 10 May 2000 17:33:52 +0200 (CEST)
- Reply-To: xsl-list at mulberrytech dot com
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