[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT 2.1: ElementTest against several names?

Subject: Re: XSLT 2.1: ElementTest against several names?
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Mon, 1 Dec 2008 14:17:44 +0100 (CET)
Re:  XSLT 2.1: ElementTest against several names?
Michael Kay wrote:

> Yes, but I think that in any language, you can't expect a type
> to be a completely precise assertion about the set of values that
> you will accept.
> For example, in Java, you can't say "I will accept an Integer or
> a String".

  But there are a lot of stuff in Java I don't want in XSLT ;-)  And
why not, it could be useful, maybe?

> You have to declare your type as the nearest named type in your
> type hierarchy, and rely on explicit parameter validation to
> make a more precise test.

  That's not how I see it for XSLT, but ok, that's consistent.

> I don't think that arguments about the economics of purchasing
> the software are likely to carry much weight.

  PS: That's certainly not an argument of mine.  I am convinced the
purchase is worth its price.  But anyway, there could be several
reasons for SA to be not available.

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.