ipcsystems / wadl-stylesheet Goto Github PK
View Code? Open in Web Editor NEWXSLT Stylesheet for the current WADL W3C Submission
Home Page: Transforms XML-based Web Application interface specification into human-readable HTML documentation.
XSLT Stylesheet for the current WADL W3C Submission
Home Page: Transforms XML-based Web Application interface specification into human-readable HTML documentation.
Parameter enhancements
* Enable hyperlink to type (via namespace tag value in param or in document element)
Representation enhancements
* Enable hyperlink to element (via namespace tag value in representation or in document element)
* Swapped representation doc and [schema] element columns – now appears as media type, element reference and description (doc)
* Show multi-line examples - Formatted description in as mono-spaced (in a ‘pre’ tag) if doc contains the word ‘Example’
Hi, I'm really novice in XML/XSLT stuff and appreciate you for this nice job.
The little problem I have is my eclipse XSL validator kept complaining XPath error on following line
<xsl:variable name="ns-uri" select="./namespace::*[name()=$prefix]"/>
Do you know how to resolve this?
Thanks
Chester
Wadl is fairly easy to work with and gives something a formal (and parse-able) spec for a rest api
https://en.wikipedia.org/wiki/Web_Application_Description_Language
Note there might be something more modern and better (I think the latest soap was attempting to have rest bindings as well)
Then the next step is you can apply an xslt to turn the xml definition into a working self documenting html page which includes little testing forms for each endpoint
This is not really a bug but anyway: I included Bootstrap 3 into your style file to get an easy two column look of my WADL file.
Have a look at https://github.com/nwebs/wadl-stylesheet maybe you like it. Just start a server with
python -m SimpleHTTPServer
and watch the example http://localhost:8000/example_wadl.xml. Thanks to your work this looks almost exactly like my webservice :)
Indentation incorrect when using wadl.xsl with Apache Xalan.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.