How to convert XML element into CDATA with Camel XQuery component

Solution Verified - Updated -

Issue

  • Using Camel XQuery component to output CDATA values results in <![CDATA[...]]>.
  • Specifying cdata-section-elements in the XQuery template results in no CDATA section for the specified element.

Environment

  • Red Hat Fuse
    • 7

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