View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
I have a cursor that has three fields which are attributes and then the rest are elements within the XML document I'm trying to create. I have a schema that designates the attribute by the same name as the field names and then also validates the data for all of my elements. When I run cursortoxml() with the output format set to 1 it creates an XML file with all fields as elements. If I run the command with output format to 2 all the fields are now considered attributes.
Is there a way to create a well formed XML doc with file attributes AND elements with cursortoxml() and a corresponding schema? Am I missing something really basic here?