Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verifying if namespace exists
Message
De
24/07/2015 16:22:29
 
 
À
24/07/2015 16:17:54
Information générale
Forum:
ASP.NET
Catégorie:
XML
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01622469
Message ID:
01622486
Vues:
31
>https://msdn.microsoft.com/en-us/library/system.xml.xmlnamespacemanager.hasnamespace(v=vs.110).aspx ?

I thought about that but it seems that one is what we have loaded in the XML namespace manager and not as per the XML.

Thinking of it, I do not think it is possible. The only way to resolve this is to trap it in the code. For example, once the namespace loaded, I will look up for a specific node. If that does not work, it would then be either the node does not exist or the namespace was not properly defined.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform