This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl architecture issue
- From: "Mattias Konradsson" <preacher at fragzone dot se>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 9 Jan 2002 16:05:02 +0100
- Subject: Re: [xsl] xsl architecture issue
- References: <000b01c1991a$ec4c7e40$465169d5@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> The specific stylesheet for each document type should import the master
> stylesheet, not the other way around.
>
> Mike Kay
If you do that then the specific stylesheets gets tied to a certain skin...
the idea is that the specific stylesheets should be generic for that type of
document and the master stylesheet should contain the additional layout info
for that skin...
>No just choose which stylesheet to apply to the document in javascript,
>then call transform node (or whatever it was called) using the
>referenced document as source and the chosen stylesheet as transformer.
>David
I'm not sure I follow, you can't just chose *what* stylesheet are used since
the stylesheet is split up into a master stylesheet for the skin and an
explicit for the document type. You need the master to put the skindependent
layout around the document and the specific to render the actual document
Best regards
---
Mattias Konradsson
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list