Hi Joel,
>When I use =Cursortoxml("mytable","myxml") the field names from Mytable.dbf are all converted to lower case in myxml.
>
>The problem is that if I use a stored procedure in SQL, the field names are case sensitive. Naturally the fix is to simply use lower case in the SQL Stored prodedure, but it would be good if I could control the case in the XML.
>
Actually, VFP stores the field names in lower case, which is why they are lower case in the XML. If you use XMLAdapter, there is a property (Alias?) for each field where you can set the case. West Wind wwXML might be another option, but I'm not sure. Otherwise, you can use StrTran() to convert the case. That's what I've done for VFP7 stuff, but it can be a lot of code. Note that this problem can also occur when passing XML to .NET classes/web services, which are case-sensitive as well.