Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLAdapter Load XML ignoring .xsd
Message
From
08/03/2016 20:56:04
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01632680
Message ID:
01632700
Views:
64
>Hi,
>
>Is it possible to load an XML file into XMLAdapter ignoring the .xsd file defined in the .XML file? For example, the top of the XML looks like this:
>
>
><?xml version="1.0" encoding="utf-8" ?>
><EmailList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>	xsi:noNamespaceSchemaLocation="EmailList.xsd" >
>
>
>But I want to load the XML ignoring this EmailList.xsd because XML may have elements NOT defined in the XSD file. Can it be done?
>
>TIA

Ignore inline or referenced schema:
m.loXMLAdapter.XMLSchemaLocation = ""
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform