|
Subject: [xsl] [Solution] 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: Sun, 7 Apr 2024 14:59:38 -0000 |
Hi Folks, Here is how to find all xs:pattern elements containing a regex that permits an unbounded number of characters: //xs:pattern[matches(@value, "regex")] Replace "regex" with this: ^(,[^\}]|\\.|\[(\\.|[^\]\\])*\]|[^*+,\[\\])*([*+]|,\}<file://.|[%5e/%5d/%5d)* /%5d|%5b%5e*+,/%5b/%5d)*(%5b*+%5d|,/%7d>) Thank you, Michael Sperberg-McQueen! /Roger
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Need an XPath expression, Liam R. E. Quin liam | Thread | Re: [xsl] Need an XPath expression , Edward Porter edward |
| Re: [xsl] Need an XPath expression , C. M. Sperberg-McQue | Date | [xsl] Move Text, Byomokesh Sahoo saho |
| Month |