|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: syntax feedback
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'] > 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








