• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cb2Xml

 
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Anybody using Cb2Xml http://cb2xml.sourceforge.net/ ??

I ran into an issue with converting the Mainframe Buffer and copybook DOM to a DOM object. Specifially in the method

MainframeToXml.convert(String mainFramebuffer, Document copybook);

When I pass the mainframe buffer and copybook document to this method I am supposed to get back a Document object of the contents of buffer. I do get a DOM but the contents of the DOM are empty.

Example::
input:
mainframe buffer: CHEVABS Y

Document copybook (Document object of this XML file)::

<copybook filename="vehicle.ccp">
<item display-length="68" level="01" name="DFHCOMMAREA" position="1">
...........................................
...........................................
...........................................

</item>
</copybook>



Output that I am getting is::::

<?xml version="1.0" encoding="UTF-8"><copybook><item><item><item></item><item></item><item></item><item></item><item></item></item><item><item></item><item></item><item></item></item></item></copybook>


Any suggestions/ideas??
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic