<clients clientno="234-76-1044 " lname="Crandall" fname="Elizabeth"> <objectiv objno="ABC-12" title="ABCs" /> <objectiv objno="BEH-01" title="Decrease Tantrums" /> <servobj objno="S-06" title="Shopping for room decorations" /> <servobj objno="B-01 " title="Past Behavior Plans and Results" /> </clients>Thanks in advance
CREATE CURSOR crsResults (clientno c(11),lname c(30),obj_objno c(50), serv_objno c(50)) XMLTOCURSOR(xmlname, "crsResults", 8192)Then just convert this back to an xml with an xsd via CURSORTOXML()