Re: [xsl] Any way to intergate for the <xsl:output method...> value.

Subject: Re: [xsl] Any way to intergate for the <xsl:output method...> value.
From: Mike Brown <mike@xxxxxxxx>
Date: Fri, 2 Aug 2002 19:01:52 -0600 (MDT)
Paul Brown wrote:
> 
> 
> > -----Original Message-----
> > From: Edward L. Knoll [mailto:ed.knoll@xxxxxxxxxxxxxx]
> > I have some templates which I am sharing across multiple 
> > stylesheets.  I have some processing which I need to be
> > conditional.  Ideally, it would be conditional based on
> > the @method attribute of the xsl:output element.
> 
> You missed Ken Holman's earlier post on the magic of document('');

Alternatively, xsl:import might be of use to you, depending on how much of the
templates are unique. You would put the default and common templates in the
imported stylesheet and the overriding, specialized ones along with the
xsl:output element in the importing stylesheets.

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread