After working with some XSLT form-building software at work, I decided to make an attempt to use XSLT to display a Tinderbox file. I was able to make a template to export the text of all notes in the file. I initially started with a Tinderbox version of Helen Keller's Light in My Darkness, but it's under copyright and I can't publish it. So I present: The Amendments to the Constitution of the United States of America.
If you're using the latest versions of Firefox, Mozilla, Internet Explorer, or Safari, you should see this document as a regular web document. But if you look at the source, you'll see that it's just a Tinderbox file, except with the following additional line (it should be the second line in your file):
To serve Tinderbox files on the Web in this way, you just need to:
- add that line to your Tinderbox file
- download tinderbox.xsl and tinderbox.css
- copy them to the same folder as your Tinderbox file
- upload everything to your webserver
Point your browser to the appropriate URL, and...
I want to use the XSLT to recreate the hierarchy, but that will probably take another evening, as I'm still learning XSLT. If you have a way of doing it, please modify my XSL file and share it with me.