|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Attributes, modes and templates
Hi Alex, You wrote: >This is the nub of my problem, exactly: for all elements called in the >mode (but not in the special element) I want the xsl templates in the >_imported_ Norman Walsh's stylesheets to be called (i.e. the templates >I didn't write!) Ah! Now this will be a trick. For this, I'd suggest you use the <xsl:apply-imports/> element (in the spec, section 5.6). That allows you to override processing defined in the current stylesheet, in favor of rules defined in imported templates. In order to get your special node to process your way instead of Norman Walsh's, you could import a second stylesheet (it could contain only that template) ahead of his, so it would have a higher import precedence. (See 2.6.2 for import precedence.) In this case, you wouldn't need to use modes at all, I imagine. Since you can't write modes onto Norm's stylesheet, there is quite a wrinkle to your problem. Sorry I misunderstood your requirement. I Hope this helps--! Wendell ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== 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








