[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Grouping in match patterns

Subject: Re: Grouping in match patterns
From: "Bridger Dyson-Smith bdysonsmith@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 18 Jul 2020 23:03:31 -0000
Re:  Grouping in match patterns
Excuse me - I hadn't followed the conversation. Please ignore and apologies
for the noise.

Bridger

On Sat, Jul 18, 2020, 7:01 PM Bridger Dyson-Smith bdysonsmith@xxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> Hi -
> http://exslt.org/
>
> Should work.
>
> Best,
> Bridger
>
> On Sat, Jul 18, 2020, 6:46 PM Martynas JuseviD
ius martynas@xxxxxxxxxxxxx <
> xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
>> Where do you find the Exselt processor? http://exselt.net returns
>> something else.
>>
>> On Tue, Jul 14, 2020 at 6:13 PM Martin Honnen martin.honnen@xxxxxx
>> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>> >
>> > Am 14.07.2020 um 18:02 schrieb Martin Honnen martin.honnen@xxxxxx:
>> > > Am 14.07.2020 um 17:33 schrieb Wendell Piez wapiez@xxxxxxxxxxxxxxx:
>> > >
>> > >> XSL-List friends,
>> > >
>> > >>
>> > >
>> > >> Is there anything special I should know about a match pattern such as
>> > >
>> > >> "a / (b|c)" -- which gives me an error (in oXygen and running Saxon)?
>> > >
>> > >>
>> > >
>> > >> <xsl:template match="a / (b | c)"/>
>> > >
>> > >>
>> > >
>> > >> Wouldn't it be permitted by the grammar given at
>> > >
>> > >> https://www.w3.org/TR/xslt-30/#pattern-syntax? Production [11] would
>> > >
>> > >> seem to permit a parenthetical expression as a discrete step. Is
>> there
>> > >
>> > >> something I am missing here?
>> > >
>> > >
>> > >
>> > > It seems the spec indeed allows this.
>> > >
>> > >
>> > >
>> > > Furthermore, Saxon-JS 2 doesn't complain:
>> >
>> >
>> >
>> > > Will need to check whether I still have that other XSLT 3 processor
>> > > Exselt and what it says.
>> >
>> > Exselt allows <xsl:template match="a / (b | c)"/> in e.g.
>> >
>> > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>> >      version="3.0"
>> >      xmlns:xs="http://www.w3.org/2001/XMLSchema"
>> >      exclude-result-prefixes="#all"
>> >      expand-text="yes">
>> >
>> >      <xsl:mode on-no-match="shallow-copy"/>
>> >
>> >      <xsl:template match="a / (b | c)"/>
>> >
>> > </xsl:stylesheet>
>> >
>> >
>>
>> XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
> EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/1230532> (by
> email <>)

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.