xdoc
xdoc.xsl is a stylesheet for documenting other XSL stylesheets.
Instructions:
- download xdoc.xsl and xdoc.css
- add the following line to your stylesheet:
- open your stylesheet in a browser
- if you also add these two attributes to your <xsl:stylesheet> element...
- ...you can start adding documentation to your stylesheet with the <xdoc:> tags, like:
<?xml-stylesheet type="text/xsl" href="xdoc.xsl"?>
xmlns:xdoc="http://cking.be/xdoc"
extension-element-prefixes="xdoc"
<xdoc:doc id="an-anchor">
<!-- fully marked up xhtml here -->
<xsl:fallback/>
</xdoc:doc>
more info will be added soon(er or later)... check back again
- features
- about xdoc namespace
- ideas for improvements
- xdoc.dtd
- add Saxon generated xdoc.html
- add version-history.xml
- ...
© 2004 Anton Triest published under GNU General Public License