<xsl:template
match="p[matches(normalize-space(), '^[the quick] |
[brown fox]' )]"
I'm having problems interpreting this.
I think
<p> the quick .....</p> matches
<p>the quick... </p> matches
what role does the | take please?
a simple alternate?
<p>.... brown fox ...</p> Matches?
http://www.w3.org/TR/xmlschema-2/#regexs
seems to show this
...
Doesn't [xxx] indicate a character class?
So what about
<p>.... xof nwbro</p> Would this match
or basically anything containing any (subset of) of that group of
characters?
If so, what patter matches a p element which starts with
the string "the quick brown" or contains "brown fox" please?
regards
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
--~------------------------------------------------------------------
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>
--~--