Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLAdapter Load XML ignoring .xsd
Message
De
08/03/2016 20:56:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01632680
Message ID:
01632700
Vues:
61
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform