[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:variable
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|