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

 View Only
  • 1.  XLS to XML

    Posted Tue August 12, 2008 05:14 PM

    Hi,
    i got a business need to convert excel sheet into xml file, for ex: if excel sheet has 2 rows with 3 coloumns, say {(1,abc,xyz),(2,def,uvw)} should be converted into

    1
    abc
    xyz
    2
    def
    uvw

    should any can help me out, how to start & proceed, is there any doc’s to help me out ??

    Thanks in Advance!!!


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


  • 2.  RE: XLS to XML

    Posted Wed August 13, 2008 10:07 AM

    Shankar,
    First a question: Is your input file an excel sheet or a csv file?

    If it is a csv file: write a ffschema for delimited file,using built in service converttovalues the o/p document generated can be used to generate the xml using documenttoXMLString service

    If it is excel sheet: User 3rd party APIs like JExcel to parse your excel sheet (by writing a java service) and then use this document to generate XML string.(I believe there is a sample in wmUsers Shareware section describing how to use JExcel)

    HTH
    Pritam


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