public static final class TransformerFactoryAttributes.Xalan extends Object
Based on revision 1595241 of the official Xalan documentation
Modifier and Type | Field and Description |
---|---|
static TransformerFactoryAttribute<Boolean> |
INCREMENTAL
Produce output incrementally, rather than waiting to finish parsing the input
before generating any output.
|
static TransformerFactoryAttribute<Boolean> |
OPTIMIZE
Optimize stylesheet processing.
|
static TransformerFactoryAttribute<Boolean> |
SOURCE_LOCATION
Provide a SourceLocator
that can be used during a transformation to obtain the location of individual
nodes in a source document (system ID, line number, and column number).
|
public static final TransformerFactoryAttribute<Boolean> OPTIMIZE
true
. You may need to set it to false
for tooling
applications. For more information, see
DTM optimize.public static final TransformerFactoryAttribute<Boolean> INCREMENTAL
false
. You can turn this attribute on to transform large documents
where the stylesheet structure is optimized to execute individual templates
without having to parse the entire document. For more information, see
DTM
incremental.public static final TransformerFactoryAttribute<Boolean> SOURCE_LOCATION
By default, this attribute is set to false
. Setting this attribute to
true
involves a substantial increase in storage cost per source
document node. If you want to use the NodeInfo
extension functions (or some other mechanism) to provide this information
during a transform, you must set the attribute to true
before
generating the Transformer
and processing the
stylesheet.
Copyright © 2025. All rights reserved.