Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Craig A
  Where is Craig A?
 Manchester
 United Kingdom
 Craig A
 To: Joriveek Joriveek
  Where is Joriveek Joriveek?
 
 Argentina
 Joriveek Joriveek
 Tags
Subject: RE: XML Schema
Thread ID: 78892 Message ID: 78945 # Views: 2 # Ratings: 0
Version: Visual FoxPro 8 Category: XML
Date: Tuesday, October 11, 2005 12:12:25 PM         
   


> want to produce XML file where the tag name width is more than the my fox table field name width...
>
> any idea how can i resolve this problem


An easy/lazy way to do this would be to rename your fields in a select statement before you use CURSORTOXML(), e.g.
SELECT field1 as longfieldname1,;
	field2 as longfieldname2;
	FROM mytable;
	INTO CURSOR cursMyTable
CURSORTOXML("cursMyTable", "c:\mytable.xml", 1, 512)

Hope this helps,
Craig.
Irrelevant link, if you're bored

ENTIRE THREAD

XML Schema Posted by Joriveek Joriveek @ 10/10/2005 5:44:19 PM
RE: XML Schema Posted by Craig Ashbridge @ 10/11/2005 12:12:25 PM
RE: XML Schema Posted by Joriveek Joriveek @ 10/12/2005 6:06:28 PM
RE: XML Schema Posted by Craig Ashbridge @ 10/13/2005 12:27:13 AM