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

re-import with match="*"

Subject: re-import with match="*"
From: "Jon Smirl" <jonsmirl@xxxxxxxxxxxx>
Date: Sun, 25 Jul 1999 13:36:00 -0400
re import
I'm having difficulty with an import with containing a match="*" ,  here's
my import sequence:

file A - includes match="*"
file B - imports A
file C- imports A

file D - imports A, B, C

The problem is the match="*" in file A that was imported by file C override
the templates in file B. The files are set up this way because files B and C
are used by other XML documents.

The override is what the spec says should happen. The file C/A import will
have a higher priority than the file A and B/A imports. Adding
priority="-100" to the match="*" does not impact the importing process.

I tried protecting my import from being re-imported with:

 <xsl:if test="$importA != 'true'" >
 <xsl:variable name="importA">true</xsl:variable>
        stylesheet contents
  </xsl:if>

But <xsl:if> is not allowed as a top level element.

Any other ideas for a workaround?

Jon Smirl
jonsmirl@xxxxxxxxxxxx



 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.