Removing CDATA from XML message

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Removing CDATA from XML message

  • Creator
    Topic
  • #50188
    Mark Thompson
    Participant

      Clovertechies,

      We have an interface that is translating XML to FRL.  How do people remove the XML escapes on this type of interface?  For example, when an XML field contains an ampersand character, we receive:

      We want to pass ‘MYDATA A & B’ to the receiving system.  If I remove the escapes before translation, the XML is not valid and the translate fails.  If I remove them in the translate, it must be done field by field.  If I do it after the translate, the field has already been truncated, and FRL gets ugly.

      Any suggestions?

      - Mark Thompson
      HealthPartners

    • The forum ‘Cloverleaf’ is closed to new topics and replies.