Click here to Skip to main content
15,896,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
this is my code but compiler occures error when i use "&" in XSL file
please help me.

XML
<xsl:attribute name="NavigateUrl">
       <xsl:text>shownews.aspx?mode=2&id=</xsl:text>
       <xsl:value-of select="ID"/>
     </xsl:attribute>
Posted

1 solution

XML
<xsl:text xmlns:xsl="#unknown">shownews.aspx?mode=2&id=</xsl:text>

It's True
 
Share this answer
 
Comments
Joan M 29-Aug-12 10:45am    
What is what is true?
Behnam Mohammadi 29-Aug-12 12:30pm    
& convert &
Joan M 29-Aug-12 12:31pm    
o_O¡

I'm sorry but I'm not getting it.
Behnam Mohammadi 29-Aug-12 12:31pm    
sorry code project filtered the char.
Joan M 29-Aug-12 12:34pm    
But is this a solution or not? So Is it already solved?

If it is solved mark as it.
If it is not solved then remove the clarification (it is not a polite way to add more comments here) and improve the question itself (clicking the green "Improve question" link under your question).
Keep in mind that if you have this as a solution most of the CPians won't come to your question to solve it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900