[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Analyze-string Regex to Match Content within Curly
On Tue, Nov 17, 2020 at 02:59:17PM -0000, Wendell Piez wapiez@xxxxxxxxxxxxxxx scripsit: > Hi, > > <xsl:analyze-string regex="\{.+?\}" interpret-attributes-as-avt="no"> .. > > samish as? > > <xsl:analyze-string regex-string="\{.+?\}"> ... > > whereas the current @regex is a @regex-avt ... I like that! Does it mean we'd need a generalized @select-string, @select-avt distinction? Can't imagine anyone would go for breaking the back-compatibility of @select, so @select would have to be a synonym of @select-avt. <xsl:map-entry key="'some-value'" select="'RELATED-VALUE'"/> doesn't happen all that much but it sure feels like it when I have to type it. <xsl:map-entry key-string="some-value" select-string="RELATED-VALUE"/> vs <xsl:map-entry key-is-not-avt="true()" key="some-value" select-is-not-avt="true()" select="RELATED-VALUE" /> seems like an obvious choice. -- Graydon Saunders | graydonish@xxxxxxxxx ^fs oferiode, pisses swa mfg. -- Deor ("That passed, so may this.")
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|