Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create cursors from an xsd file, no xml yet
Message
De
20/12/2007 16:21:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01276819
Message ID:
01276904
Vues:
30
Beautiful, thanks Sergey! :o)

Another question you may know the answer to: is there anyway to use a schema in memory instead of on disk with the xmladapter? I'd like to keep from storing the xsd on disk. I have it in a prg and use

TEXT TO cschema ...
ENDTEXT

STRTOFILE(cschema)...

>Tracy,
>
>See Re: Is there a way to convert XSD to a table structure? Thread #1025314 Message #1025538
>
>>I have an xsd file and I would like to create empty cursors from it. The cursors are described in the xsd file. I also have a sample xml file which I used the xmladapter to create the cursors from and then populated the cursors with my data which works. I then created a function to create those cursors in the future on the fly (not from the xsd file but from the 1st cursors I created from the xml file), but I would rather use the xmladapter to just read the xsd file on disk and create the cursors on the fly based on the structures in the xsd. It appears tocursor() only works if the tables have been created using loadxml() from an xml file.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform