1 Introduction | ||
1.1 Wat is UTF-X? | ||
1.2 What is UTF-X Doc? | ||
2 Formatting XML | ||
3 WSDL Example | ||
4 UTF-X Document Structure | ||
4.1 Document metadata | ||
4.2 Namespace context | ||
4.3 Nested Sections | ||
4.4 Block Elements |
UTF-X is an extension to the JUnit Java unit testing framework and provides functionality for unit testing XSLT stylesheets. UTF-X strongly supports the test-first-design principle with test rendition and test validation features allowing you to visually design your test before you start working on the on stylesheet. UTF-X was originally built to test XSLT stylesheet used in an XML publishing system so it has good support for DTD validation, XHTML and XSL:FO stylesheets.
UTF-X Doc is a simple application for documenting XML systems and apps. UTF-X Doc documents are authored in XML and then rendered into desired formats such as HTML or PDF. UTF-X Doc was originally written to demonstrate how UTF-X tests are applied to real XML applications and to document the UTF-X system itself. This document for example has been created using UTF-X Doc.
UTF-X Doc allows you format XML fragments like this:
The following example is a WSDL document with wsdl:binding highlighted by XPath .//wsdl:binding. Each prefix is highlighted in it's own colour.
In order for all the funky features (e.g. element highliting) to work you will need to define a namespace context which bind prefixes to corresponding namespace URIs.