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

RE: Re: Re: The Perils of Sudden Type-Safety in XPath

Subject: RE: Re: Re: The Perils of Sudden Type-Safety in XPath 2.0
From: "bryan" <bry@xxxxxxxxxx>
Date: Wed, 26 Feb 2003 10:30:34 +0100
RE:  Re: Re: The Perils of Sudden Type-Safety in XPath


>2. What I find ridiculous is not the "new world of XML Schema-typed
>documents ", but a functional language that will allow the following:

><xsl:variable name="x" select="0"/>
><xsl:for-each ...
>  <xsl:variable name="x" select="$x + 1"/>

The above does seem messy.

>or

><xsl:variable name="x" select="0"/>


><xsl:variable name="x" select="3"/>

>  <xsl:variable name="x" select="$x + 2"/>

can you point me to the part in the spec where that is allowed? If
that's right I'm gonna have to take the day off to go indulge in heavy
drugs.






>"Thus, the following is not an error, but is discouraged, because the
>effect
>is probably not what was intended. " ?

This sounds like a stylistic manuals warning against indulging in slang,
because the meaning conveyed is often not the meaning intended. Does
xslt 2.0 allow slang?!
Will great xslt users be able to use these facilities of the new
language because of a sort of poetic license available to them?



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.