As of this writing the implementation supports:
The XSL namespace must be correctly declared; when this is done, the exact prefix used does not matter.
To use one of these stylesheets:
StyleSheet sheet = XslBuilder.createStyleSheet (uri); Document input = ...; Document output = sheet.apply (input);
The API and functionality is extremely subject to change; also, no performance work has been done.
Applications wishing to support the <?xml-stylesheet ... ?> processing instruction (see the Proposed Recommendation from W3C) will need to handle such processing instructions in the input document by invoking the appropriate stylesheet. This is most naturally done by scanning children of the document until the root element is found, and interpreting all such processing instructions (for primary or alternate stylesheets).