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

include error

Subject: include error
From: Torsten Schassan <schassan@xxxxxx>
Date: Thu, 29 Nov 2007 11:05:26 +0100
 include error
Hi,

I encounter a problem which hasn't been a problem before and I wonder why:

I have a main xsl where, at the end, I include another xsl in order to
customize some of the templates. Both stylesheets contain templates
which match the same element and I (seem to) remember that Saxon
reported the ambigouos match before but still applied the included
template while now it records an error and doesn't process the
respective element at all. Even worse for named templates, Saxon stops
with an error and refuses to apply the stylesheet in general. Is this
behaviour correct? What do I have to change in order to keep the system
of main-xsl-with-general-rules and
secondary-xsl-with-customizations-for-special-cases? I can't use modes
because I have (a small set of) special rules for too many cases and I
can't foresee how the templates have to process the contents.

Best, Torsten

PS: I leave out the examples because I simply have matching templates:
<xsl:template match="tei:msIdentifier">...<xsl:template>

-- 
Torsten Schassan
Herzog August Bibliothek, Postfach 1364, D-38299 Wolfenbuettel
Tel.: +49-5331-808-130, schassan {at} hab.de
http://www.hab.de; http://www.hab.de/forschung/projekte/weiss64.htm

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.