xsl-list
[Top] [All Lists]

Re: [xsl] xpath 2 regex

2013-04-04 06:51:23
Tks for the quick reply.

On 04/04/13 12:49, Martin Honnen wrote:
davep wrote:

If so, what patter matches a p element which starts with
the string "the quick brown" or contains "brown fox" please?

   <xsl:template match="p[matches(., '(^the quick brown)|brown
fox')]">...</xsl:template>

Are the brackets necessary Martin?






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>
--~--

<Prev in Thread] Current Thread [Next in Thread>