467,219 Members | 1,293 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,219 developers. It's quick & easy.

.Net2 xslt does not like the &lt; "<" - &gt; ">"

100+
Hi, I need help please.

Update system to to new version & moved on to .Net2
But now my code that worked in my .Net1 xslt does not work.

.Net1 fine:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:asp="remove" xmlns:igchart="remove" xmlns:igsch="remove">
&lt;td class='rowDet' id="td_<xsl:value-of select='@name' />"&gt;
.Net2 don't work:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:asp="remove" xmlns:igchart="remove" xmlns:igsch="remove" xmlns:igtxt="remove">
&lt;td class='rowDet' id="td_<xsl:value-of select='@name' />"&gt;

I had to change it back to: <td class='rowDet'>

Is there a new code for the "<" ">"?

Please Assist!

Regards
Oct 10 '08 #1
  • viewed: 3909
Share:
1 Reply
jkmyoung
Expert 2GB
Use braces: {}
<td class="rowdet" id="{@name}">

Or, you could do it the long way:
Expand|Select|Wrap|Line Numbers
  1. <td class="rowdet>
  2.    <xsl:attribute name="id">
  3.       <xsl:value-of select="@name"/>
  4.    </xsl:attribute>
  5.  
Oct 10 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Christian Schmidbauer | last post: by
2 posts views Thread by Donald Firesmith | last post: by
7 posts views Thread by Diandian Zhang | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.