Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLAdapter
Message
De
04/02/2003 10:36:55
 
 
À
04/02/2003 05:15:56
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Divers
Thread ID:
00748365
Message ID:
00748873
Vues:
15
Hi Siegfried.

>I have a XML file to load to VFP. The XML file comes with a DTD file and not with a Schema.
>
>Do I have any possibility to "force" VFP to import this in a correct way?

No. According to the VFP Help topic on XMLAdapter (which I don't think is present in the public beta), LoadXML can use the following schema types:

- W3C XML Schemas (XS), W3C XML Schemas (XS) as used with .NET DataSets and SQL-XML

- Microsoft XML Data Reduced Schema (XDR) as implemented by SQL-XML

- ADO Recordset Schemas

So, you'll need to convert from a DTD to one of these schema formats. You'll likely have to either code it yourself or using an XSLT transform to do it. There may also be a utility available that will do this for you, but not being an XML expert, I'm not sure.

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform