- name
- A non-null String that specifies an output property name, which may be namespace qualified.
- value
- The non-null string value of the output property.
Type Reason Java.Lang.IllegalArgumentException If the property is not supported, and is not qualified with a namespace.
Set an output property that will be in effect for the transformation.
Pass a qualified property name as a two-part string, the namespace URI enclosed in curly braces ({}), followed by the local name. If the name has a null URL, the String only contain the local name. An application can safely check for a non-null URI by testing to see if the first character of the name is a '{' character.
For example, if a URI and local name were obtained from an element defined with <xyz:foo xmlns:xyz="http://xyz.foo.com/yada/baz.html"/>, then the qualified name would be "{http://xyz.foo.com/yada/baz.html}foo". Note that no prefix is used.
The Properties object that was passed to Transformer.OutputProperties won't be effected by calling this method.