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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Convert HTML to RTF

    Posted 05/14/10 02:30 PM

    Guyz,

    Is there is a way to convert html (or xml) to rtf document through webMethods?
    Currently I am using an open source tool to do this conversion but would like to know if there are any other methods (java service using POI jars etc) to get this done?

    scenario:

    I have a help HTML page of an application and would like to see this information in a rtf document.

    Cheers,
    Akshith


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


  • 2.  RE: Convert HTML to RTF

    Posted 05/17/10 03:42 PM

    You should check if webMethods is really the best point to do so.

    If yes, I think there are some stylesheets available on the Web which perform the tasks. You can use those inside an XSLT service (probably some minro adaptions needed).


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


  • 3.  RE: Convert HTML to RTF

    Posted 05/17/10 11:38 PM

    I did some research on the XSLT’s and found one which will convert XHTML to RTF. It is working fine but now i will have to look at the formatting of the RTF document as it is cumbersome. Thanks for the direction!

    Cheers,
    Akshith


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


  • 4.  RE: Convert HTML to RTF

    Posted 05/17/10 11:43 PM

    If you need something more advanced, take a look at [url]http://poi.apache.org/[/url] :smiley:


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


  • 5.  RE: Convert HTML to RTF

    Posted 05/17/10 11:52 PM

    Appreciate the pointer but converting to RTF from HTML is not fun using POI jars. I explored that part also and concluded that the easiest way with out spending much time is to just write an XSLT service to do the conversion. Also, there are lot of open source readily available XSLT’s that you can use and tweak a little bit to get them working.

    Cheers,
    Akshith


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