IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Converting XML special characters in COBOL 4.1


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mjgjaggu

New User


Joined: 22 Jun 2009
Posts: 8
Location: Germany

PostPosted: Wed Jul 08, 2009 9:53 pm
Reply with quote

My requirement is to convert the XML special characters like &,',<,> and" to their corresponding entity types like &amp;,&apos, &lt;,&gt; and &quot respectievely.

Is there any way of achieving this?
Back to top
View user's profile Send private message
mjgjaggu

New User


Joined: 22 Jun 2009
Posts: 8
Location: Germany

PostPosted: Wed Jul 08, 2009 10:02 pm
Reply with quote

The values are retrieved from DB2 tables. So a conversion either while retrieving or after retrieving into COBOL variables will be good enough.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
Search our Forums:

Back to Top