>Hi all,
>
>I am using the same xsd structure for several different cursors with different names. The only way I have been able to get the toXML() method to work is to ReleaseXML and then AddTableSchema before calling toXML(). This causes the generated xml to have the cursor name that is different then the xsd file. In reading the docs, there is a third parameter, cXMLName, that can be used to force a different table name then the cursor. I tried this using strconv() to convert to Unicode “STRCONV("cr_test",1,1033)”. Now when the xml is generated, I get ????? where the table name should be. What can I do different other then store the data structure with the xml?
>
>Thanks.
Hi James,
You should use different second parameter for STRCONV, 1 does not convert string to Unicode.
If you want ToXML() method to read data from a different cursor with the same schema, you don't need to release the schema, just change XMLTable.Alias to the right alias.
Thanks,
Aleksey.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only