" inside attribute in xslt

DjEddie

New Member
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 pageshere is my code:\[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>\[/code\]how can i add the " sign to the regular expression?so it will be like this: ValidationExpression="^[\w '%+*.!=/\[]{}\?\,()\"-]+$"thank you
 
Back
Top