|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Assigning numbers
Hi all, I am trying to add numbers like 1,2,3 etc with text value, 'value'. It will look like as following value1, value2, value3 etc I am getting the values of location but can not figure out that how can I assign them to numbers to get the following mentioned expected results. I am looking for something as following Any suggestion? ----------------------------- Expected Results ------------------------------ <a href="http://localhost?value1=Entorpresse&value2=KFC&value3=1. Questions Dossiers&value4=E - 110803GTO nama LK213 environmental chick (2001 18)"> click here </a> ----------------------------- my.xsl ------------------------------ <xsl:template match="link"> <table> <tr> <xsl:for-each select="location"> <td>value=<xsl:value-of select="."/>&</td> </xsl:for-each> </tr> </table> </xsl:template> ----------------------------- my.xml------------------------------ <?xml version="1.0" encoding="ISO-8859-1"?> <link> <location path="..\..\..\">Entorpresse</location> <location path="..\..\">KFC</location> <location path="..\">1. Questions Dossiers</location> <location last="true" path="">E - 110803GTO nama LK213 environmental chick (2001 18)</location> </link> 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
|

Cart








