Created 04-05-2019 05:17 PM
Hi.
I have XML data that contains namespaces. I would like to use a ConvertRecord processor to convert this to JSON (eliminating message types I dont need)
<ds:tfmDataService xmlns:ds="the:ds:namespace" xmlns:fdm="the:fdm:namespace"> <fltdOutput>
<fdm:fltdMessage param1="param1_val" param2="param2_val"> </fdm:fltdMessage>
<fdm:fltaMessage param1="param1_val" param2="param2_val"> </fdm:fltaMessage>
</fltdOutput> </ds:tfmDataService>
I need to convert these messages from XML to JSON. There are messages of different types (fdm:fltdMessage is one type, fdm:fltaMessage might be another type) The contents of fltdMessage is more complex than depicted, however I'm trying to reduce this to the simplest terms that I can build on.
What would the AVRO spec look like for an XMLReader, if I wanted to convert the <fdm:fltdMessages> to JSON, but ignore the other types?
Created 03-11-2020 04:45 PM
Do you got answer for this?? My question is also same
Created 04-17-2020 06:46 AM
Could you solve it?