Subject: Re: [xsl] Apostrophe escaping in contains().|
From: Ben Trafford <ben@xxxxxxxxxxx>
Date: Tue, 02 Dec 2003 12:39:51 -0500
No they don't: Your snippet is not well formed XML, so it will not have got as far as the XSLT engine:
test='contains($text, "'")' remember that as far as the XML parser is concerned, Xpath syntax is nothing, you just follow the XML rules: either wrap it in " and quote any contained ", or wrap it in ' and quote any contained '.