Thanks Alexandre,
Unfortunately I don't understand what a schema is or how to use it. The reference text I have has the following text in it.
"<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ros.ie/schemas/p35l/v3/" xmlns:ros="http://www.ros.ie/schemas/rostypes/" targetNamespace="http://www.ros.ie/schemas/p35l/v3/" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:import namespace="http://www.ros.ie/schemas/rostypes/" schemaLocation="../../rostypes/schema.xsd"/>"
In order to create the XML file do I have to tell CursorToXML() to use this schema from the location specified in the text above.
My Regards
John Hussey