此内容没有您所选择的语言版本。

13.3.8. XsltAction


This performs transformation on entire documents.
Expand
Table 13.6. XsltAction Properties
Property Description Required
get-payload-location
Message Body location containing the message payload.
If unspecified the Default Payload Location is used.
NO
set-payload-location
Message Body location where result payload is to be placed.
If unspecified the Default Payload Location is used.
No
templateFile
Path to the XSL Template file. It can be defined with a file path within the deployed archive, or as a URL.
Yes
resultType
The type of Result to be set as the result Message payload.
This property controls the output result of the transformation. The following values are currently available:
  • STRING: will produce a String.
  • BYTES: will produce a array of bytes, byte[].
  • DOM: will produce a DOMResult.
  • SAX: will produce a SAXResult.
  • SOURCERESULT can be used to produce a customised result if the above do not suit your needs.
    When the message payload contains a SourceResult object (org.jboss.soa.esb.actions.transformation.xslt.SourceResult) this produces a result of the same type as the result attribute of the payload's SourceResult object.
When the message payload is a SourceResult object and resultType is not set to SOURCERESULT, the result is returned as the type specified in resultType. The developer is responsible for ensuring the types are compatible.
No
failOnWarning
If true will cause a transformation warning to cause an exception to be thrown. If false the failure will be logged.
Defaults to True.
No
uriResolver
Fully qualified class name of a class that implements URIResolver. This will be set on the tranformation factory.
No
factory.feature.*
Factory features that will be set for the tranformation factory. The feature name, which are fully qualified URIs, should be specified after the factory.feature. prefix. E.g. factory.feature.http://javax.xml.XMLConstants/feature/secure-processing
No
Factory.attribute.*
Factory attributes that will be set for the tranformation factory. The attribute name should be specified after the factory.attribute. prefix. E.g. factory.attribute.someVendorAttributename
NO
validation
If true will cause an invalid source document to cause an exception to be thrown. If false validation will not occur, although well-formed documents are enforced. .
Default value is false
.
No
schemaFile
The input schema file (XSD) to use, located on the classpath. .
No
schemaLanguage
The input schema language to use.
No

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat