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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement