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

Usage scenarios of 'treat as'

Subject: Usage scenarios of 'treat as'
From: Frans Englich <frans.englich@xxxxxxxxx>
Date: Mon, 29 Aug 2005 21:07:28 +0000
treat as
Hi,

I'm curious on usage scenarios for the 'treat as' expression, in particular
for when XSL-T 2.0 is the host language(if that matters).

In XPath 2.0 is verification of an operand's type(the function conversion
rules) done at runtime(implementation dependent if guaranteed runtime type
errors are detected statically), unless the implementation implements
"pessimistic" static type checking. (Right?)

In what case is the 'treat as' expression useful, or required, when the
implementation does not do pessimistic, static type checking? (that is, usage
scenarios which applies for all implementations regardless of what optional
features that are implemented.)

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-2013 All Rights Reserved.