[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl architecture issue

Subject: Re: xsl architecture issue
From: "Mattias Konradsson" <preacher@xxxxxxxxxxx>
Date: Wed, 9 Jan 2002 18:17:38 +0100
david konradsson
> but I think you want each of the stylesheet specific documents to import
> this one.
>
> Then you just want your document (3) to be associated with a stylesheet
> that
> a) checks the relevant attributes to see which specific documents and
> stylesheets are to be used then b
> explictly invokes the xslt transform, calling xslt from javascript,
> passing in any parameters that are specified in the xml file (3).
>
> As each of the specific stylesheet imports the master one, shared
> functionality only needs to be coded once.
>
> David

No, if you'd have the specifik stylesheet import the master one then you
couldn't user different master stylesheets with the specifics... which makes
it less flexible if you want different skins. I think I've solved it though.
Just include a tag in the layout xml files which says which stylesheets it
uses, then use a stylesheet to render a new stylesheet which includes those
stylesheets, and use that to render the whole thang :) only problem, how do
you generate a xslt stylesheet in xslt, just switch namespaces or?

Best Regards
Mattias Konradsson


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.