xsl-list
[Top] [All Lists]

Re: how to get variable value outside scope

2005-03-01 14:22:03
Mukul,

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)

Definitely.

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.)

Cheers,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
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
======================================================================


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>
  • Re: how to get variable value outside scope, Wendell Piez <=