I'm looking to generate a re-usable XSL library of named templates, and was wondering if there were either any best practices, or just good ideas in the area.
I have been working along the lines of adding a 'xml-stylesheet' processing instruction to my XSL library which would cause it to produce HTML documentation when opened with a web browser. For documentation, I looked at the documentation examples from the xsltsl SourceForge project
. The example that I saw (example.xsl from the download ZIP) seemed nice, but the effort seems dormant, and I could not find a XSD from which to emulate the example.
I work in a large organization, and would like a standard from which to work. If I could find one, I could produce a standard XSL for producing HTML documentation from XSL files.
[Note: Ideally, I'd like to build an XSL which could produce HTML documentation from any type of XML file (XML, XSL, XSD, WSDL, etc.), but only a few of these seem poised to do this. (E.g., WSDL has a nice means to annotate.)
Any words of wisdom?