Subject: Re: [xsl] match on attribute anywhere From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 14 Feb 2002 11:51:54 -0500 |
Cheers, Wendell
....> However, if you have several templates and the knowledge that @mark > could appear on any element, it wouldnt be so easy. It would be > great to add just one extra template to match @mark anywhere, and > highlight its contents.
Actually, this is a situation xsl:apply-imports can actually be useful!
Have your general templates, each dealing with individual nodes in one stylesheet (I'll call it base.xsl).
Then create another stylesheet that *imports* that base stylesheet:
====================================================================== 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 ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] match on attribute anywhe, Andrew Welch | Thread | RE: [xsl] match on attribute anywhe, Bryan Rasmussen |
Re: [xsl] xsl:number, Markus Spath | Date | RE: [xsl] how to select the same at, Andrew Welch |
Month |