Parsing XML

  • Creator
    Topic
  • #49700
    garry r fisher
    Participant

      Hi,

      I am reading in a large XML document from a web service which comprises multiple transactions. I need to examine each transaction in turn and then route it based upon the content.

      Is the best way to do this via regexp or to use an XML parser?

      I’m not an expert on regexp – it usually takes me a dozen goes to get the simplest expression to work.

      Regards

      Garry

    Viewing 0 reply threads
    • Author
      Replies
      • #63181
        Rob Abbott
        Keymaster

          Best thing to do is split it in an inbound TPS (probably via regexp) and handle the individual transactions downstream

          Rob Abbott
          Cloverleaf Emeritus

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.