Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML node attribute vanishes
Message
From
26/12/2012 12:16:38
 
 
General information
Forum:
ASP.NET
Category:
XML
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01560521
Message ID:
01560625
Views:
32
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform