This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]