Forum Discussion
christwr
6 years agoContributor III
In general, XML data should comply with some defined schema/dtd.
If you’re going “weird” XML to “cleaner” XML, then you should be able to use the XML Parser, with a Mapper, and then a XML Formatter. Or, you could maybe just use a XSLT to transform the XML in just one step, or at least clean it up before processing it further.
ppankaj88
6 years agoNew Contributor II
Hi,
Is it possible to share sample code which I can use while parsing.
Thanks,
Pankaj
- alchemiz6 years agoContributor III
Hi Pankaj,
The file that you attached was simply an invalid xml, it was missing a closing tag for node TravelITerinary once I corrected the file and you should be able to parse it using the XML parser
Thanks,
EmEm