Re: [xslt] key() in match pattern of xsl:key



On Sat, Dec 10, 2005 at 07:28:19PM -0500, Joel E. Denny wrote:
> Do you see XSLT 2.0 in libxslt's future?

  Would you implement it ? Me, the answer is no. I don't need it, my
employeer has no interest in it, it's foundations are shaky (XSD),
it's unclear how much of 1.0 can be reused, and it's way too big for
my taste. However it's an open source project, if people want to 
implement it I'm not against.

> In light of the discovery that 
> keys referencing keys is supposed to be an error in 1.0, are you still 
> willing to allow it?

  I'm not happy to violate the spec conciously.

> Have you ever considered having a --strict flag (or 
> --non-strict) for xsltproc to select whether extensions like this should 
> be permitted?

  I'm gonna be frank. XSLT-1.0 does not fit your need. You want to sort
node set and do maths with it ? Use XPath from a high level *programming
language* instead of trying to divert somthing XSLT was not designed for !
  Use the right tool for the job !

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]