Subject: Re: [xsl] Need an XPath expression which returns all xs:pattern elements containing a regex that permits an unbounded number of characters From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 4 Apr 2024 13:02:59 -0000 |
Hello Edward, >>> matches(@value, '[a-zA-Z]+(\*|\+|\{\d(,.\})?)') That assumes the regexes are all of this form: <xs:pattern value="A*"/> However, there are other forms that permit an unbounded number of characters, such as: <xs:pattern value="[0-9]{3}D*[ABC]"/> That regex permits an unbounded number of D symbols. I need an XPath expression that can detect an unbounded number of characters, regardless of the complexity of the regex. /Roger
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Aw: [xsl] Need an XPath express, Edward Porter edward | Thread | Re: Re: [xsl] Need an XPath express, Edward Porter edward |
Re: Aw: [xsl] Need an XPath express, Edward Porter edward | Date | Re: [xsl] Need an XPath expression , David Carlisle d.p.c |
Month |