[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: modify the tag name of a given List Node

Subject: Re: modify the tag name of a given List Node
From: Red Light <skydelta98@xxxxxxxxx>
Date: Fri, 23 Apr 2010 10:35:34 -0700 (PDT)
Re:  modify the tag name of a given List Node
Hi Martin ,

(sorry i'm still a noob at xslt programming !)

i got my xsl template file like this :

<xsl:template match="/rapport">
<!-- here i got my main xsl elements -->
        <!-- this doesn't work -->		  
								 <fo:table-row width="100%" >   
								     	     <fo:table-cell   padding="0.1cm">
								   	      <fo:block  text-align="center" font-size="10.0pt" >
									       <xsl:when test="(/rapport/content/projectDetails/keyword/keywordDetails/key0)">
									     <xsl:value-of select="/rapport/content/projectDetails/keyword/keywordDetails/key0"/>


<xsl:template match="keywordDetails">
      <xsl:apply-templates select="key"/>

  <xsl:template match="key">
    <xsl:element name="key{position()}">
      <xsl:copy-of select="node()"/>

 if my understanding is write   <xsl:copy-of select="node()"/>  will replate the node and i should 

now it doesn't work , am i missing something ?

and thanks

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.