Subject: Re: [xsl] How to select for ' in XPATH? From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Wed, 05 Aug 2009 19:11:06 +0200 |
$ xpath "/*/*/*[contains(normalize-space(.),'\'')]" <tst.html Exception running: xpath net.sf.saxon.s9api.SaxonApiException: XPath syntax error at char 34 in {...ontains(normalize-space(.),...}: Unmatched quote in expression
I think in XPath 2.0 you can double quotes e.g. xpath "/*/*/*[contains(normalize-space(.),'''')]" <tst.html
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to select for ' in X, Hermann Stamm-Wilbra | Thread | RE: [xsl] How to select for ' , Michael Kay |
[xsl] How to select for ' in X, Hermann Stamm-Wilbra | Date | RE: [xsl] How to select for ' , Michael Kay |
Month |