IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Map xml comments in flow

  • 1.  Map xml comments in flow

    Posted Thu February 27, 2003 04:36 PM

    Hello,

    I’d like to map ‘meaningless’ xml comments in an xml document using flow or a wm service. Is it possible to do that or will I have to do it in Java?

    Thx

    Tarek


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: Map xml comments in flow

    Posted Thu February 27, 2003 04:41 PM

    You can do this using very little java. You can take the xml document, tokenize it and then search for lines starting with <!–. you can delete this from the stringList (valuList) and get your good xml.
    hope this helps and I am sure experts will pitch in with more ideas.
    Thanks


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods