Este conteúdo não está disponível no idioma selecionado.

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

Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat