Read the Help File. It contains all the flag you can set to get different results, but this is how I do it.
= CURSORTOXML("_myCursor", "lcXMLData", 1, 0, 0, "1")
HTH
>Please can some one, explain me how to use the XMLTOCURSOR(), and CURSORTOXML()functions to store the XML in a variable, i can use but for creating XML files, and i wan't to use memory variables, to transmit via Web Service.
>
>Please an example. Thanks a lot