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

How to resolve conflicts in templates

Subject: How to resolve conflicts in templates
From: "Herve AGNOUX" <hagnoux@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Aug 1999 09:22:54 +0200
how to resolve conflicts
I use Lotus XSL 0.17.4

I use in my xml file some tags with the same name but with 
differents attribute like that :

<FILE name="xx">
<FILE name="yy"> and so on.

In my xsl file I give a general template :
<xsl:template match="FILE>

And more precise like that :
<xsl:template match="FILE[@name='yy']">

Lotus XSL says :
XSL Warning: Specificity conflicts found: "FILE", 
"FILE[@name='yy']" Last found in stylesheet will be used.

How can I resolve this conflict ?

Thanks.

--
Herve AGNOUX  hagnoux@xxxxxxxxxxxxxxxx France.


 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.