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

RE: error: At xsl:choose, the value of "" is not a no

Subject: RE: error: At xsl:choose, the value of "" is not a node-set
From: "Clapham, Paul" <pclapham@xxxxxxxxxxxxx>
Date: Thu, 2 Aug 2001 16:11:38 -0700
RE:  error: At xsl:choose
It isn't an error to have two templates that operate on the same element.
If you do that, via xsl:include or otherwise, there is a set of priority
rules that determine which one will apply, the last of these rules being to
apply the last one appearing in the (merged) stylesheet.  In other words,
this is a feature instead of a bug, because you can use xsl:include to cause
templates in the includ-ee to override templates in the includ-er.

PC2

-----Original Message-----
From: Xiaocun Xu [mailto:xiaocunxu@xxxxxxxxx]
Sent: August 2, 2001 15:48
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  error: At xsl:choose, the value of "" is not a
node-set


Thanks for all the help, guys.  Sorry for not
mentioning the processor I use.  I currently use Saxon
6.0.2 (I know, I should be upgrading :(.  I will do
exactly that after finishing up this release of the
product).

After some investigation, the problem turned out to be
template name conflicts.  I had included a number of
XSL files in gXML2ePASS_base.xsl, and two of which had
the same template name operate on the same element.  I
modified them to use unique template names and now it
works fine.

My question is, how come it did not complain about
conflict template names during compile?  Does it
instead compiles each of the included XSL by itself?

Much thanks,
Xiaocun

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.