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.


#TechXchangePresenter
 View Only
  • 1.  Create a new node in document

    Posted Fri April 26, 2002 03:35 PM

    Does anyone now how to add a new element into a document? For example street2 in the folowing structur.








    Thanks for help!


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


  • 2.  RE: Create a new node in document

    Posted Mon April 29, 2002 09:01 AM

    You should read the Microsoft DOM spec -start at
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/htm/sdk_intro_6g53.asp

    one way to to position to the element, let’s call it c, then do.

    c.parentNode.insertBefore(newNode,c);
    where newNode is the street2 node


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