IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only

Need help in adding HTML tags in XML

  • 1.  Need help in adding HTML tags in XML

    Posted 12/19/13 02:06 PM

    Originally posted by: Rshya


    Hi All,

    Need help in adding HTML tags in XML . I am converting a fixed lenght file to XML. Ths input has 2 lines of message something like this:

    My name is ABC. I am a developer.

    I need to show this in XML as :

    <Message><B>My name is ABC.</B><BR><BR>I am a developer</Message>

    How do I attain this? PLease sombody help me with this.

    I am also trying to hardcore that message in the rule cell like this Message = "<B>My name is ABC.</B><BR><BR>I am a developer"

    But I see the output like this

    <Message>&lt;B&gt;My name is ABC.&lt;/B&gt;&lt;BR&gt;&lt;BR&gt;I am a developer</Message> 

    However I need to see <Message><B>My name is ABC.</B><BR><BR>I am a developer</Message>.

    Please advice!!

     

    Thanks

     

     


    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender