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

Storing XML File in Tamino

  • 1.  Storing XML File in Tamino

    Posted Sat May 31, 2003 04:35 PM

    Right now, I am saving data in XML File via JDOM
    I have 1 Schema and 1 XML File.

    The written java program I already have,
    I would like to modify the serializing part
    from JDOM into Tamino.

    I did following :
    - rename mySchema.xsd in mySchema.tsd
    - modify mySchema.tsd (collection name, etc.)
    - create new DB: myDataBase
    - assign mySchema.tsd => myDataBase
    - assign myXml.xml => myDataBase

    After I upload myXML.xml into the Database
    I got ino:id=1 (regarding to this XML file).

    change subject : XMLGreeting.java
    This example java File is included in the
    server package. Its working fine.

    Each time i run it, the program adds
    a new part of XML and each time I get
    a new ino:id, so ino:id=1, ino:id=2, etc.

    Back to my topic (above)
    Up to now, I had 1 XML file. Everthing is in here.
    In the case of XMLGreeting.java
    the program adds ech time a new xml file
    with a new ino:id.
    And all these XML parts together are one XML Document.

    resume
    On the one hand I have 1 XML File and everyting is here in this document with only ino:id=1.
    On the other hand, there are many XML files, nd all together is one document.

    Question
    Is it okay, that I have just 1 ino:id,
    which has the whole XML document ().

    (
    ) This XML File contains a lot of elements.
    Partially they have IDs and IDREFS.
    With the program I am writing, user should
    add, delete and modify this one document
    with the ino:id=1

    [This message was edited by Aykut on 31 May 2003 at 15:15.]

    [This message was edited by Aykut on 31 May 2003 at 15:17.]


    #API-Management
    #webMethods
    #Tamino