Why XSLT component output is missing the tag elements ?
Issue
- User is using
xsltcomponet to remove the empty tags from an input xml file. But the output is missing the tag elements. - In the route there are two xsl files.
- First file does the direct mapping from source to target schema and the second
xsltfile is used to remove the empty tags generated. - But the second
xslttransformation results in missing of element names. How to resolve this error? - One more question is there any option for
camelxsltcomponent to remove the empty tags in the output xml.
Environment
- Red Hat JBoss Fuse
- 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.