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

Export XML from Tamino DB

  • 1.  Export XML from Tamino DB

    Posted Wed August 13, 2003 10:27 PM

    I have 1 XML document with inoid=1 on my DB,
    I will have a frontend.
    Here, user will enter the path for the XML file.

    How do I export the whole xml document
    from DB on to the harddisk ?

    I use Java, XQuery and JDOM.

    Thanks
    Aykut


    #API-Management
    #webMethods-Tamino-XML-Server-APIs
    #webMethods


  • 2.  RE: Export XML from Tamino DB

    Posted Thu August 14, 2003 11:41 AM

    hello aykut,

    i cannot clearly detect, where your problem lies.
    the way i see it:
    use the TaminoAPI4J to access the database and retrieve the desired document via query.
    as the result of the query you can, for example, receive a DOM object, which you can “serialize” to a string and write this string via regular java.io classes to the file system.
    probably more efficient is if you dont receive the result as DOM object but as raw IO stream and pass it directly to the java.io for writing to the file system.

    hope this helps, but if not, let us know what exactly you are missing.

    regards,
    andreas f.


    #API-Management
    #webMethods-Tamino-XML-Server-APIs
    #webMethods