xsl-list
[Top] [All Lists]

Re: [xsl] xpath 2 regex

2013-04-04 06:48:10
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>




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