[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

Subject: Re: Analyze-string Regex to Match Content within Curly Braces
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Nov 2020 15:07:25 -0000
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.")

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.