Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Generate XML with attributes from a cobol copybook
I need to generate a XML using the cobol XML GENERATE having lines
like
<Trans tc="8">Original request</Trans>

How do I declare the variable so that the attribute part (tc ="8") is
also generated?
Thanks in advance!

Report this thread to moderator Post Follow-up to this message
Old Post
Archie
11-16-07 11:55 PM


Re: Generate XML with attributes from a cobol copybook
On Nov 17, 7:01 am, Archie <archi...@gmail.com> wrote:
> I need to generate a XML using the cobol XML GENERATE having lines
> like
> <Trans tc="8">Original request</Trans>
>
> How do I declare the variable so that the attribute part (tc ="8") is
> also generated?
> Thanks in advance!

Here's an article:

http://www-1.ibm.com/support/docvie...s=UTF-8&lang=en

I gotta say that it looks like a complete waste of time doing XML that
way. I use templating and the code to do that is probably no more
complicated than the sample that does just one fixed output while
templating could do almost any type of output.


Report this thread to moderator Post Follow-up to this message
Old Post
Richard
11-17-07 11:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:14 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.