View previous topic :: View next topic
|
Author |
Message |
bhushanhundikar
New User
Joined: 05 Jan 2007 Posts: 2 Location: USA
|
|
|
|
Hi,
I need to convert data from flat files into a XML format. The XSD (XML schema) file has been provided. The XML format has many (6-7) levels of nesting and has attributes and elements. Can any one tell if this is possible through cobol/ PL1? . I know its possible to generate XMLs, but I need to know if it possible to handle so many levels of nesting. Also is there a size restriction? How to generate a copybook that can be provided as an input to Xml generated are there any tools ?
I also need to parse the XML and generate flat files out of it.
Thanks!
Bhushan |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
Both COBOL and PL/I are Turing-complete, so they can be used to solve any computable problem.
PL/I can access the z/OS system parser via the PLISAXD function, and also has a builtin to turn structures into XML. |
|
Back to top |
|
|
Stefan
Active User
Joined: 12 Jan 2006 Posts: 110 Location: Germany
|
|
|
|
In the last years XML processing has become a regular task in COBOL and PL/I. No mystery, no complex algorithms, full language support, excellent performance, and great documentations with samples.
Hope this helps |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
My automata theory classes were among the most interesting in college, and I've even read some related material after college.
I'm wondering, though, how many listeners know what "Turing-complete" means. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Phrzby Phil wrote: |
My automata theory classes were among the most interesting in college, and I've even read some related material after college.
I'm wondering, though, how many listeners know what "Turing-complete" means. |
Turn the question sideways:
- At what level in the industry should one know what "Turing-complete" means?
- What percentage of the membership pretended to be at that level when they interviewed for their present jobs?
- What percentage were really at that level?
|
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Are these questions decidable? |
|
Back to top |
|
|
|