hi i am trying to write a regular expression inside an xslt but i have a problem with the " sign. i closes the attribute. and \" dosnt seem to work like it works in aspx pages
here is my code:
<xsl:if test="@text = 'yes'">
<asp:RegularExpressionValidator runat="server" ControlToValidate="{@name}"
ValidationExpression="^[\w '%+*.!=/\\\[\]\{\}\?\,\(\)-]+$"
ErrorMessage=" " Display="Dynamic">
<span class="red_star">*</span>
</asp:RegularExpressionValidator>
</xsl:if>
how can i add the " sign to the regular expression? so it will be like this:
ValidationExpression="^[\w '%+*.!=/\[]{}\?\,()\"-]+$"
thank you