Simple question, in my xslt I want to print in a table the fixed value of an attribute, I obtain the same result if I put it in a label, but I want to do it well? Can anybody tell me how? Thnks.
In my doc.xml \[code\]<unit_price currency="$"> 4.00 </unit_price>\[/code\] In my doc.xslt\[code\] <table> <xsl:for-each select="TotalProducts/products"> <tr> <td> <xsl:value-of select="unit_price"/> <label> $ </label> </td>\[/code\]
In my doc.xml \[code\]<unit_price currency="$"> 4.00 </unit_price>\[/code\] In my doc.xslt\[code\] <table> <xsl:for-each select="TotalProducts/products"> <tr> <td> <xsl:value-of select="unit_price"/> <label> $ </label> </td>\[/code\]