BusinessNode updat (XApplication 3.1.1-Java API)

Hi,
I would like to know how can I modify a BusinessNode from other BusinessNode.

(Tamino 3.1, Tomcat 3.3. JDK 1.3.1_01, XApp 3.1.1)



Note1: the struture of detail is more complex in my application.

Note2: I need to build part of XML subtreefrom a XML String.
*********

Hello,

if I understand your code example, you try to add a new sub-tree (of type detail) to your document (myProduct). You could do this with the following line of code


// – index, where to insert the detail node into the list of details.
int idx = ???;
// – insert, a new node of type detail to the element product.
BusinessNode detail = myProduct.getDescendant(“/product”).insert(idx, “detail”);
// – set the values of detail:
// (a) u3e getDescendant(…) for getting sub-nodes of d

Hello,

This topic will be moved to the Assistance Forum in the next days.
The assistance forum is intended to be used for technical questions and answers.

Thank you for your understanding.

Regards, Harald

[This message was edited by Harald Wolf on 19 Mar 2002 at 12:01.]