Why XSLT component output is missing the tag elements ?

Solution Verified - Updated -

Issue

  • User is using xslt componet 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 xslt file is used to remove the empty tags generated.
  • But the second xslt transformation results in missing of element names. How to resolve this error?
  • One more question is there any option for camel xslt component 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.