ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

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

Re: Future XSLT expansion.

Subject: Re: Future XSLT expansion.
From: "Jon Smirl" <jonsmirl@xxxxxxxxxxxx>
Date: Sat, 18 Mar 2000 18:40:14 -0500
xslt squared
From: "Paul Tchistopolskii" <paul@xxxxxxx>
> > the variable except to pass it back to an extension function. I use this
> > feature to compute running totals efficiently.
>
> ... non-standard and non-portable trick ... Right? As I have been told -
> you should not do that with XSLT.
>
> Specs says that  XSLT Is for processing XML files ( which are node-sets
> by definition ) and that fifth XPath dadatype is not XML, so you should
> not use that thing.
>
> Just kidding - thank you for your letter, I wish things are now a bit more
clear
> for all of us.

Without using an extension function computing running totals in XSLT is an
order n-squared problem. Don't try this on a fifty page report being
formatted to xsl-fo. Without the extension function it will take several
hours to format the report.

The spec does not forbid the opaque variables and I believe it implicitly
allows them.  If you do this: <xsl:variable name="test"
select="xf:myfunction()"/> XSLT is not required to look at the variable; it
is only required to store it. Variables are only checked for type validity
when accessed for use by an internal XSLT function. Later if you call an
extension function with xf:anotherfunction($test) the content of the
variable is passed back without having been typechecked. Doing an
<xsl:value-of select="$test"/> results in an error under XT when $test is of
an unknown type.

I asked to have this explicitly stated in the spec but it never made it in.

Jon Smirl
jonsmirl@xxxxxxxxxxxx




 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.