jQuery API Documentation

Today I decided to republish the jQuery API documentation at Docunext and was very pleased to learn that all the documentation is published as a giant XML file.

That made it very easy to republish an index of the methods, and separate pages for each one. I used a simple XSL file, and Sinatra (ruby) to manage everything.

See the results for yourself!

jQuery Documentation at Docunext


By Albert on March 6, 2010 6:03 PM

Categories:

2 Comments

Can you publish details on how you converted the xml to html, including the xsl and command lines? I would like to use the xsl with fop to create a pdf, as in the examples here,
http://onjava.com/pub/a/onjava/2002/10/16/fop.html

Thanks,
Darren

Hi Darren, Sure! Its really nothing too complicated, just basic XSL, and its not very optimized.

I load the XML with this:

Let me see if I can publish the actual XSL stylesheet... that will be easier than trying to explain it!