Re: [xsl] how to get variable value outside scope

Subject: Re: [xsl] how to get variable value outside scope
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 01 Mar 2005 16:22:03 -0500

Just two little ones from me:

At 04:29 AM 2/27/2005, you wrote:
  Sorry.. I actually used the wrong word ironical. I
am still perfecting my english!

Of course (and with deepest respect), and thank you for taking the trouble.

Ironically (or maybe not), the word "ironically" is one of the most commonly misused words in English.

 The use of word
variable in XSLT is not at all ironical. I apologize
for the mistake. I have removed this phrase from the
article, and have provided a reference to Michael
Kay's book. If anybody wants to read more about this
topic, I'll recommend Michael Kay's book "XSLT
Programmer's Reference" - Chapter 9 (topic:
Programming without assignment statements)


If you have any other technical comment, I'll be
pleased to update my article.

Variables assigned with select expressions may be bound to data objects of any type, not just to node-sets.

So <xsl:variable name="irony" select="not('Socrates is wise')"/> binds $irony to the Boolean value false(). (Whether this is ironic, I leave for you to decide.)


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Current Thread