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

RE: Name of current mode

Subject: RE: Name of current mode
From: "Mario Madunic" <Mario_Madunic@xxxxxxxxxxxx>
Date: Mon, 19 Apr 2010 08:20:56 -0500
RE:  Name of current mode
How about defining a var/param at the top of the mode and test its content to
find out which mode you are at currently. Not nice but could be what you are
looking for. Would the variable clash with itself if it is called

<xsl:template match="somePath" mode="myMode">
  <xsl:variable name="modeName" select="'myMode'" />

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Monday, April 19, 2010 8:06 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Name of current mode

> is there an accessor function for the current mode in XSLT 2?

No, sorry, there isn't.


Michael Kay

Please consider the environment before printing this e-mail.

CONFIDENTIALITY STATEMENT: This communication (and  any and all information or
material transmitted with this communication) is confidential, may be
privileged and is intended only for the use of the intended recipient. If you
are not the intended recipient, any review, retransmission, circulation,
distribution, reproduction, conversion to hard copy, copying or other use of
this communication, information or material is strictly prohibited and may be
illegal. If you received this communication in error or if it is forwarded to
you without the express authorization of New Flyer, please notify us
immediately by telephone or by return email and permanently delete the
communication, information and material from any computer, disk drive,
diskette or other storage device or media. Thank you.

Current Thread


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.
First Name
Last Name
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.