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

Obtaining the name of a template while executing the

Subject: Obtaining the name of a template while executing the template
From: <mlcook@xxxxxxxxxx>
Date: Wed, 20 May 2009 09:48:05 -0400
 Obtaining the name of a template while executing the
I can't find the answer to my question in the references I have at hand,
or am overlooking the obvious.

I'd like to get the name of a template while executing that template,
and using the name in an error message.

I think I want something like:

<xsl:message>Error in template <xsl:something here to get the template's
name/>, bad value for <xsl:value-of select="$myvar" /></xsl:message>

Suggestions or alternatives?

Thanks, Mike

This email and any attachments are only for use by the intended recipient(s)
and may contain legally privileged, confidential, proprietary or otherwise
private information.  Any unauthorized use, reproduction, dissemination,
distribution or other disclosure of the contents of this e-mail or its
attachments is strictly prohibited.  If you have received this email in error,
please notify the sender immediately and delete the original.

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.