Hi, I need to copy all the elements including cdata element of a parent element. I do not know that which child element is going to have cdata element however I need to copy all the children to output xml file using xslt.
Is there any we can do that ? Any help will be great. My XML file is <SwInt:RequestPayload xmlns:SwInt="abc.txt"> <SwInt:firstName>Robert</SwInt:firstName> <SwInt:lastName>Dowson</SwInt:lastName> <SwInt:address>Nokesville</SwInt:address> <SwInt:Data><![CDATA[aaaaa<>]]></SwInt:Data> <SwInt:Data1>aaaaa<></SwInt:Data1> </SwInt:RequestPayload> Regards Ajay