Showing posts with label xsd. Show all posts
Showing posts with label xsd. Show all posts

Tuesday, January 30, 2007

pretty schema

Schema should be self documenting, and what better way than using an xslt stylesheet to render it hyperlinked in html when opened in a browser?



Simply add the following prolog to your xml document right at the top of the schema:

<?xml-stylesheet type="text/xsl" href="xs3p.xsl"?>


and open it up in a browser. (You can also upload the schema to the site and see how it looks - try before you use)