[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: inheritance and encapsulation in xslt? / xslt for
David.Pawson@xxxxxxxxxxx wrote: Just picking up one point Howard; Correct. For example, suppose you (or Mr. Walsh) has invested in some stylesheets for DocBook. You want to be able to use them for instance documents for AcmeCorpDocBook, AcmeCorpHardwareDocBook, and MyDocBook. If these progressive layers only have a few new elements, that's ok. You can create new stylesheets to handle the difference. As Walsh says (as I recall), "If you make extensions to DocBook, it's not DocBook anymore." Being able to directly reuse DocBook stylesheets on extensions is like saying that extensions are still DocBook. For What It's Worth, XBRL does say that extensions are still XBRL. That's the philosophy they're taking. I'm trying to unravel the consequences of this for XSL.
IBM did want to take the directly reusable stylesheet approach in the documentation domain. (Their reasoning is at http://www-106.ibm.com/developerworks/xml/library/x-dita1/index.html) However, I don't know if this was for real use or for a "science project". For what it's worth, my reasoning in wanting to have directly reusable stylesheets is to allow early validation of large numbers of new specialized schemas by reusing the XSL-based validation for the more general schemas. (Even before anyone get's around to writing validation suites for the unique part of the specialization.) I'd also like third parties to write XSL-based tools (e.g., for display) based on general schemas, and have them still work (although not be specialized) for the thousands of more specialized schemas. I imagine this kind of thing would be useful in a fair number of cases, but would not be commonplace amongst the bulk of XSLT use everywhere. E.g., I never had to do this kind of thing before, although it would have helped me slightly (not hugely) if I could have extended DocBook without so much cut and paste. 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
|