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

Re: user-defined XSLT functions and stylesheet variabl

Subject: Re: user-defined XSLT functions and stylesheet variables?
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 20 Jun 2021 17:48:28 -0000
Re:  user-defined XSLT functions and stylesheet variabl
> On 20 Jun 2021, at 18:35, Jeremy Cronk jcronk@xxxxxxxxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Forgive my ignorance on this, but why is there a global context item in the
first place?  Ibve never seen it do anything but cause trouble, but on the
other hand, Ibve never seen it actually being used except by global
variables.
>

I guess you have to go back to the design thinking for XSLT 1.0 here. 1.0 was
designed largely on the principle of "no run-time errors", and part of this
was that there was always a context item defined. Future versions, of course,
had to retain compatibility.

Michael Kay
Saxonica

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.