Less than and greater than signs in xml data

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
chucksmith
Premium Member
Premium Member
Posts: 385
Joined: Wed Jun 16, 2004 12:43 pm
Location: Virginia, USA
Contact:

Less than and greater than signs in xml data

Post by chucksmith »

I am trying to pass xml tags as data via an XML Output stage. However, less than symbols are being converted to < and greater than symbols are being converted to >.

Is there any way of escaping them?

I have tried <<, >>, \<, and \>.
chucksmith
Premium Member
Premium Member
Posts: 385
Joined: Wed Jun 16, 2004 12:43 pm
Location: Virginia, USA
Contact:

Post by chucksmith »

Page 4-5 of the XML PACK Designer Guide, set the Data Element value to XML.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

They are being made "safe"... and you beat me to posting the answer. Dang. Yup, that tells it that it is already XML and to not futz with it any further.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply