Critique/comments sought: XML/XSLT website documentati
I have spent the last week learning XSLT, and have just completed my first project (in as much as any project is ever "complete"). I wanted to test my skills for fun, but also try to make something useful, so I've come up with an XML system for documenting websites. The XSLT then produces various forms of documentation from the XML, finally ending my age-old reliance on Visio, Word, Excel etc. documents that always seem to be out-of-synch with one another. I'd be grateful if anyone would like to take a look and offer suggestions/improvements - I know there's a lot that I could add to it, but at the moment I just wanted to make something that worked. Also, I'm sure there are people here who will find a tool like this useful. If so, after some more refinement I'd like to offer it up for wider public consumption (in which event, I'd welcome tips on where to publicise it) The XML schema is here: http://www.pernoctator.com/XML/website.xsd And a sample XML document based on it here: http://www.pernoctator.com/XML/whitegoods.xml Here's an XSLT file to transform the XML into a page of HTML, describing all of the pages on the website in list format: http://www.pernoctator.com/XML/sitelisting.xslt And here's an example of its output: http://www.pernoctator.com/XML/whitegoods.html Here's an XSLT file to transform the XML into an SVG map of the website, showing the links between pages: http://www.pernoctator.com/XML/sitemap.xslt And here's an example of its output: http://www.pernoctator.com/XML/whitegoods.svg (use an SVG viewer to see the graphical version, e.g. http://www.adobe.com/svg/viewer/install/main.html) You can download the whole lot here, including the trig library include file needed to draw the circles in SVG: http://www.pernoctator.com/xml.zip Comments welcome! Dan Sumption www.sumption.org XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format