[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
davep wrote:
I am not entiry sure they are needed, maybe someone else can tell us, or maybe later on I will find time to make sense of the combined schema and XPath/XSLT regular expression syntax (which introduced the '^' and '$' on top of the schema regular expression syntax).
Re: [xsl] xpath 2 regex
Subject: Re: [xsl] xpath 2 regex From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Thu, 04 Apr 2013 14:04:02 +0200 |
davep wrote:
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?
I am not entiry sure they are needed, maybe someone else can tell us, or maybe later on I will find time to make sense of the combined schema and XPath/XSLT regular expression syntax (which introduced the '^' and '$' on top of the schema regular expression syntax).
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xpath 2 regex, davep | Thread | Re: [xsl] xpath 2 regex, David Carlisle |
Re: [xsl] xpath 2 regex, David Carlisle | Date | Re: [xsl] xpath 2 regex, David Carlisle |
Month |
Keywords