Re: syntax feedback

Subject: Re: syntax feedback
From: "Oren Ben-Kiki" <oren@xxxxxxxxxxxxx>
Date: Mon, 14 Dec 1998 20:32:41 +0200
Chris Lilley <chris@xxxxxx> wrote:
>I wrote:
>> Daniel GLAZMAN <daniel.glazman@xxxxxxxxxx> wrote:
>> > Yeah... So why does XSL reinvent the wheel and not reuse CSS
>> > selectors' syntax ? Why those ugly xsl:then and BLA $eq$ "sdfv" ?
>> > Why position qualifiers using negative integers in order to say 'last
>> > one' ? Berk !!!!
>>
>> Because CSS syntax is not XML. I think that the XSL syntax is reasonable
>> given the XML constraint.
>
>Lets not compare apples and oranges here.
>
>If (from the August draft)
>
>  <xsl:template
>match="list[attribute(ordered)='yes')]/item[first-of-type()]">
>
>is XML syntax - which it is - then so is
>
><xsl:template match="list[ordered='yes'] &gt; item">
>
>Either way, you need to parse the attributes specially.


My understanding of Daniel's position - and I may be wrong - is that the CSS
syntax be adopted in more then just the pattern language (witness STTS, for
example). If it was just the pattern language, it wouldn't have been much of
an argument :-)

Oren Ben-Kiki.


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


Current Thread