Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

XML Generation with validation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
shravankumar.mudrebettu

New User


Joined: 20 Mar 2012
Posts: 2
Location: India

PostPosted: Wed Mar 28, 2012 1:11 am    Post subject: XML Generation with validation
Reply with quote

Hello,

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?
Back to top
View user's profile Send private message

prino

Active Member


Joined: 07 Feb 2009
Posts: 989
Location: Oostende, Belgium

PostPosted: Wed Mar 28, 2012 1:39 am    Post subject:
Reply with quote

PLISAXD parses XML, PL/I has no real functions to speak of to create XML, let alone validated XML.
Back to top
View user's profile Send private message
shravankumar.mudrebettu

New User


Joined: 20 Mar 2012
Posts: 2
Location: India

PostPosted: Wed Mar 28, 2012 1:46 am    Post subject:
Reply with quote

Hello Prino,

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.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Mar 28, 2012 4:24 am    Post subject:
Reply with quote

google for ibm hits on DFHWS2LS and DFHLS2WS
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Random Password (in string format) ge... ezhavendhan COBOL Programming 10 Mon Aug 29, 2016 3:18 pm
No new posts Rexx Panel Validation ajithajt CLIST & REXX 6 Sun Jul 17, 2016 10:50 pm
No new posts alphanumeric sequence generation sivaprasad.gadhi COBOL Programming 6 Wed Mar 30, 2016 3:03 am
No new posts alphanumeric sequence generation sivaprasad.gadhi DFSORT/ICETOOL 8 Mon Mar 21, 2016 1:09 am
No new posts Report generation senthamizh DFSORT/ICETOOL 1 Sat Jun 20, 2015 2:01 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us