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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content