Hitachi

uCosminexus Application Server XML Processor User Guide


4.3 How to use XSLT features

The JAXP standard defines how to use the XSLT transformer's optional functions by using features.

A feature name is a URI corresponding to an optional function of the XSLT transformer. The following table lists the XSLT features defined in JAXP.

Table 4‒3: XSLT features defined in JAXP

No.

Feature name

1

http://javax.xml.transform.stream.StreamSource/feature

2

http://javax.xml.transform.stream.StreamResult/feature

3

http://javax.xml.transform.dom.DOMSource/feature

4

http://javax.xml.transform.dom.DOMResult/feature

5

http://javax.xml.transform.sax.SAXSource/feature

6

http://javax.xml.transform.sax.SAXResult/feature

7

http://javax.xml.transform.sax.SAXTransformerFactory/feature

8

http://javax.xml.transform.sax.SAXTransformerFactory/feature/xmlfilter

For the meanings of the features, see the FEATURE field described in each class of Javadoc in the documentation JSR 206 Java API for XML Processing(JAXP) 1.4.

How to use the XSLT features

You cannot set any XSLT features. To get an XSLT feature, use the getFeature method of the javax.xml.transform.TransformerFactory class. The result of getFeature is always true.