Subject: Re: [xsl] text() function From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 25 Apr 2005 14:57:19 -0400 |
I am trying to look if the word blah exists in the entire document.
Is there any difference between //*[conatins(text(), "blah")] and //*[conatins( . , "blah")]
Is the using of string() function as suggested in the blog right way to do what I want... because I read in one book that string() only matches the first element found and does not go thru the entire document trying to match all elements found.
-- World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] text() function, Sameer N | Thread | Re: [xsl] text() function, G. Ken Holman |
[xsl] text() function, Sameer N | Date | Re: [xsl] text() function, G. Ken Holman |
Month |