I have requirement where I am supposed to generate a "Validated" XML.
I have the copy book with required XML values and a XSD. The XML has to be generated based on the XSD.
I have already searched the forum for the related topics and found that Arus had once posted a similar question, but could not find any specific solution.
I need help to know if there are any specific tools available to generate the XML based on the XSD with data.
Kindly note I have little knowledge in RDz and one of the feature I could see is of using web services (however I am not sure if that approach can be used and also I have no knowledge in it).
However I could generate the XML (with blank values) from the XSD using the generate option in RDz , so I believe there should be some plugin that is used in RDz which converts the XSD to XML (hope I can use this with values and can call from my pl/i , cobol code)
Also our client is little indented toward using PLI as the programming language, so if anyone has used PLISAXD parser with validation could you please point to relevant links/topics which have a sample code?
I am sorry that I had clubbed the PLI parser question along with the main question (HOw to generate XML with XSD validated).
Kindly note I am willing to consider any tool that we can use to generate the XML with XSD validated, and also it would be be if I have to do some coding in cobol.
I had raised the PLISAXD question as I was thinking if I can use the PLISAXD to validate the generated XML (which can be generated without validation using XML generate of COBOL or XMLCHAR function in PLI) against the XSD.
I believe XMLCHAR function is available in PLI to generate the XML, but it is a very basic convertor with not much features.