[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: syntax feedback
Oren Ben-Kiki 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. -- Chris 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
|