This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Any way to intergate for the <xsl:output method...> value.
- From: Mike Brown <mike at skew dot org>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 2 Aug 2002 19:01:52 -0600 (MDT)
- Subject: Re: [xsl] Any way to intergate for the <xsl:output method...> value.
- Reply-to: xsl-list at lists dot mulberrytech dot com
Paul Brown wrote:
>
>
> > -----Original Message-----
> > From: Edward L. Knoll [mailto:ed.knoll@cosd.fedex.com]
> > 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