337:
338: begin
339: l_doc := xmldom.newDOMDocument;
340: l_root := xmldom.makeNode(l_doc);
341: l_root := wf_event_xml.newtag(l_doc, l_root, my_ent_type);
342:
343: for atts in attribute_data loop
344: l_node := wf_event_xml.newtag(l_doc, l_root, atts.aname, atts.avalue);
345: found := TRUE;
340: l_root := xmldom.makeNode(l_doc);
341: l_root := wf_event_xml.newtag(l_doc, l_root, my_ent_type);
342:
343: for atts in attribute_data loop
344: l_node := wf_event_xml.newtag(l_doc, l_root, atts.aname, atts.avalue);
345: found := TRUE;
346: end loop;
347:
348: if (found) then