2011 Jun 24 12:18 PM
Hi Experts,
I'm trying to get data from an xml file into internal tables in ABAP. My requirement is to validate xml against an xsd schema, how can i do it?
My other question is, if there are any possible ways to map the fields of a table so that once the xml file is read, the fields automatically get populated depending on the different elements and attributes in the xml file.
-joe
2011 Jun 27 9:43 PM
Hi Experts,
I'm trying to get data from an xml file into internal tables in ABAP. My requirement is to validate xml against an xsd schema, how can i do it?
My other question is, if there are any possible ways to map the fields of a table so that once the xml file is read, the fields automatically get populated depending on the different elements and attributes in the xml file.
-joe
2011 Jun 27 9:43 PM
2011 Aug 13 1:16 AM
Thank You Terry.
I followed a different approach to validate the xml schema. I used the DOM tree method.
-Joe
2012 Feb 02 8:45 AM
Hi J ,
Can you let me know how to validate the XML data . Can you please tell me the exact steps for that .
Thank you
Ashutosh
2012 Feb 22 7:57 AM
HI Ashutosh
I stored the data with regard to the schema inside a table and validated the table against each and every node. If the validations passed then I would go ahead and process the file.
Hope this helps
Let me know if you need further clarifications