Solprovider Lenya Kongregate Registration for Free Flash Games and Chat with solprovider

Tool for Creating Documentation for XSLT

This tool documents the XSLT files in the {pub}/xslt directory. It shows all imports, parameters, variables, and templates. Each template shows what templates are called. Comments appear in context.

Instructions


1. Download xsltdoc.zip
2. Unzip in your publication directory (where publication-sitemap.xmap is located.)
3. Open your publication in your favorite web browser. Add the following to the end of the address:
?lenya.usecase=xsltdoc

Comments are green. Hopefully the rest is obvious.

Notes


CSS would help the formatting. This may be added someday.

The original design was for a single page to display all the files. The XpathDirectory Generator includes all the namespace declarations from all the xsl:stylesheet tags in the XSL files, and Cocoon's map:transform cannot handle duplicate namespace declarations. A better tool would merge the XSL files using Java or XSP.

<< Refresh sitetree.xmlContents >>

Contact Solprovider
Paul Ercolino