Re: More XSL Discussion

Subject: Re: More XSL Discussion
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Thu, 26 Feb 1998 09:47:12 -0500
Matti Katajamaki wrote:
> XSL already has constructs that always match, like <target-element/>. So I
> don't see anything bad in pattern matching with "zero or more" and "zero or
> one" constructs.

target-element matches an element, not the lack of an element. Consider:

<element type="list">
        <element type="item" count="any">
                <target-element ....>


The rule above matches the list below but there *is no target 

Paul Prescod  -

[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:

Current Thread