VFP9可以将临时表中的数据转换为XML格式的数据,示例如下
CREATE CURSOR tt (bh c(10), xm c(10), xb c(2))
INSERT INTO tt VALUES ("0001","aaaaa","男")
INSERT INTO tt VALUES ("0002","aaaab","男")
INSERT INTO tt VALUES ("0003","aaaac","男")
INSERT INTO tt VALUES ("0004","aaaad","男")
CURSORTOXML("tt", "myxml.xml", 1, 512, 0)