Problem: how to pass a Node (of XML) to a procedure

his_airness

New Member
I have a problem:
I have to create an XML-document. I have several procedures, but i have to pass the current Node.

Example:
<Order>
<Head>
<...>
</Head>
<Body>
--------------------------------------------------
This node was created as followed:
DEFINE VARIABLE hBody AS HANDLE NO-UNDO.
CREATE X-NODEREF hBody.
hDoc:CREATE-NODE(hBody, "Body","ELEMENT").
hOrder:APPEND-CHILD(hBody).
--------------------------------------------------

now i want to give this node (named hBody) to the procedure CreateBodyElements

Procedure CreateBodyElements:

....
end Procedure CreateBodyElements.


Does anyone know the answer to this question?
 
Top