View previous topic :: View next topic |
Author |
Message |
karavi2000 Beginner
Joined: 17 Aug 2003 Posts: 51 Topics: 26 Location: Chennai
|
Posted: Wed May 13, 2009 2:47 pm Post subject: XML Generate |
|
|
Hi,
We are planning to generate XML using Cobol's XML GENERATE but couple of our tags are of COBOL Keywords (like "SOURCE", "ID", "MESSAGE") and it is giving a error. Is there anyway we can override this limitation and still use Cobol keywords tags using XML GENERATE? Please let me know when you got a chance. Thanks much for your time.
Regards,
Ravi |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed May 13, 2009 9:50 pm Post subject: |
|
|
karavi2000,
Use an Inspect to replace the keywords with something else and after the conversion replace it back using another Inspect.
Kolusu |
|
Back to top |
|
 |
karavi2000 Beginner
Joined: 17 Aug 2003 Posts: 51 Topics: 26 Location: Chennai
|
Posted: Thu May 14, 2009 3:46 pm Post subject: |
|
|
Thanks Kolusu.. I was thinking on the lines if there is a way we can define certain COBOL keywords as variables for specific occasions.. but it seems there is none.. yours is a neat and simple turnaround to the problem.. we ended up using it.. Thanks again.. |
|
Back to top |
|
 |
|
|