|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] re-import with match="*"
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








