[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: stylesheet expansion
Geert Bormans wrote:
Hi all, I assume you'd want the expanded stylesheet to obey the import precedence rules? It's trivial to concatenate the imports into one stylesheet, of course, but to mimic the import precedence may be daunting, more so because determining the import precedence means dissecting the matches, which I believe is done once matches are found (i.e., when the XML is fed to the stylesheet), not entirely at compile time, because matches can overlap in different ways on different occasions... (but I'm afraid I don't know enough of compiling stylesheets into some internal representation to really assert this). If you know of one specific set where the precedence is apparent (i.e., only on the / match, and the rest is inside the modes you mention), perhaps an if/when like construct in your main concatenated stylesheet would suffice. May I ask why you want them all together? It seems to me that separate logical units is a better approach than one big stylesheet. Cheers, -- Abel Braaksma
|
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
|