[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Combining stylesheets for baseclass-subclass type
Hi,
Daniel Brockman wrote: Can't you just include a.xsl in b.xsl? Call a on it's own and b includes a so it does what want? yes it is
i did. I think your thinking about it incorrectly. I would not do it the way you are doing it. I would have separate templates, something close to: global_defintions.xsl { - wrapper.xsl - head.xsl - nav.xsl - banner.xsl - footer.xsl - html_body_tags.xsl - sidebar.xsl } then I would have unique content views that are the target XSLTs: - article.xsl - use_case.xsl - wizard.xsl - form.xsl - etc.xsl... I believe this is the best way to layout out XSLT for a website. I would be very interested in continuing a debate on this. Please don't hold back criticism! :) best! -Rob XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|