I don't know if there is one, but, for text nodes in XML documents, you
could do:
value = change( value, '', 'amp;' )
value = change( value, '', 'lt;' )
value = change( value, '', 'gt;' )
value = change( value, '#xD', '#xD;' )
according to RFC 3076:
Text Nodes - the string value, except
I Use the following (it's not intrinsic):
DATAITEM=CHANGE(DATAITEM,,amp;)
DATAITEM=CHANGE(DATAITEM,,lt;)
DATAITEM=CHANGE(DATAITEM,,gt;)
DATAITEM=CHANGE(DATAITEM,',apos;)
George
-Original Message-
From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-
Here's the code I use (similar to everyone else's) - but I've catalogued
it globally as a user conversion subroutine - this allows it to be used
with ICONV OCONV:
Eg. CONV.XML = OCONV(ORIG.XML,U2XML)
Note: I've included conversion for three mark characters, just in case
they manage to sneak