Woodstox : Coalesce CDATA
Overview This article demonstrates how to optionally coalesce CData content using Woodstox StAX parser. This program shall parse the same XML document twice: once without coalescing and once with coalescing. Create employee.xml as shown below. Note that the name of the employee is mentioned within a CDATA section (see lines 4-6 below). Create TestCoalesceCData as … Read more