Re: More XSL Discussion

Subject: Re: More XSL Discussion
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Wed, 25 Feb 1998 19:10:59 -0500
Matti Katajamaki wrote:
> 
> Why not generalize the idea to express the number of target elements using BNF
> ?, + and * operators, for example:
> 
> <rule>
> <target-element type="LIST"/>
>         <target-element type="ITEM"+/>
>         ... action part
> </rule>

The ? and * operators match lambda, so this rule would *always* be
triggered in LISTs. Also, the syntax is not valid XML anymore.

Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

[Woody Allen on Hollywood in "Annie Hall"]
Annie: "It's so clean down here."
Woody: "That's because they don't throw their garbage away. They make 
        it into television shows."


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread