xsl-list
[Top] [All Lists]

Re: [xsl] How to select for ' in XPATH?

2009-08-05 15:26:24
I rushed my answer and made a mistake.

At 2009-08-05 12:16 -0700, I wrote:
In XSLT 1:

  "//*[contains(., 'What' that?)]"

Should be using the apostrophe attribute delimiter and double quote string delimiter:

   '//*[contains(., "What' that?")]'

Sorry for misleading you.

. . . . . . . . . ken


--
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--