Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML node attribute vanishes
Message
De
26/12/2012 12:16:38
 
 
À
26/12/2012 03:48:34
Information générale
Forum:
ASP.NET
Catégorie:
XML
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01560521
Message ID:
01560625
Vues:
34
>Then I'd agree with Gregory. Don't bother to check whether it is populated - just set it to nothing.
>Pity you don't know the case-sensitive attribute name. If you did you could just use:
var v = oXmlDocument.SelectSingleNode(tcNode);
>      if (v == null) return false;
>
>      return v.Attributes.GetNamedItem(tcAttribute) !=null;
It is interesting. But, I need this method to be generic as it is called from various projects using various XML.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform