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

Re: xsl:include

Subject: Re: xsl:include
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Sun, 16 Nov 2003 14:32:23 -0000
include and l
----- Original Message ----- 
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Sunday, November 16, 2003 1:12 PM
Subject: RE:  xsl:include


> > -----Original Message-----
> > From: Kevin Waterson
> >
> > I am having some trouble including an xsl file.
> > I can include the file without any problems but I am
> > not familiar with the precedence. It would seem the
> > first document is "taking over" the include doc.
> >
>
Including a doc is the same as copy and paste, it's just means changes to
include are automatically propagated. Normally if two templates match the
same nodes with the same xpath and mode then the one last in document order
has priority so you could try including after the main doc. I think that If
you can alter the non-included doc then I believe you can set a lower
priority on the necessary templates. Add priority="-1" to the one that
matches root on the non-included stylesheet.

-- 

Joe

 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.