[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl architecture issue
> 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
|
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
|