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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only