users@wadl.java.net

Re: New WADL XSLT Stylesheet - Suggestions for sharing

From: Norman Gray <norman_at_astro.gla.ac.uk>
Date: Mon, 4 Apr 2011 17:58:29 +0100

Greetings.

On Apr 1, 2011, at 10:52 AM, <mark.sawers_at_ipc.com> <mark.sawers_at_ipc.com> wrote:

> I've created an XSLT stylesheet for the current WADL W3C Submission. My
> company uses WADL as an interface specification format at both design-
> and run-time. This stylesheet transforms machine-readable XML into
> human-readable HTML documentation. The output is much richer than the
> output from stylesheets I have found publicly available.


It's not answering Mark's question, but I also have a WADL stylesheet that might be of interest to others. See <http://code.google.com/p/skua/source/browse/#svn%2Ftrunk%2Fcode%2Fqsac%2Fwadl>

The format-wadl.xslt stylesheet in there ... formats WADL files as HTML (it was designed to process an older WADL spec, so I don't guarantee it'll work with W3C submission ones). It certainly works with the qsac.wadl file in that directory.

Another thing that might be of interest is the wadl2checker.xsl stylesheet in there. That runs on the same WADL file, and generates a script which exercises each of the interactions documented in the WADL file. This isn't a complete interface test, obviously, but it checks that each of the interactions is implemented and doesn't actually crash.

Best wishes,

Norman


-- 
Norman Gray  :  http://nxg.me.uk