SET-ATTRIBUTE ( name , value )
|
CREATE X-DOCUMENT hDoc.
CREATE X-NODEREF hRoot. CREATE X-NODEREF hNoderef. hDoc:CREATE-NODE(hRoot,"root","ELEMENT"). hDoc:APPEND-CHILD(hRoot). ... hDoc:CREATE-NODE(hNoderef,"Customer","ELEMENT"). hNoderef:SET-ATTRIBUTE("Id","54"). hNoderef:SET-ATTRIBUTE("Name","Second Skin Scuba"). hRoot:APPEND-CHILD(hNoderef). |