Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLAdapter
Message
From
04/02/2003 10:36:55
 
 
To
04/02/2003 05:15:56
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Miscellaneous
Thread ID:
00748365
Message ID:
00748873
Views:
14
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
Map
View

Click here to load this message in the networking platform