Soldato
- Joined
- 17 Nov 2005
- Posts
- 3,108
- Location
- Swindon, UK
Does anyone have an alternative in C# of PHP's get_attribute function?
http://uk.php.net/manual-lookup.php?pattern=get_attribute&lang=en
er.. perhaps the NonExistantClass.NonExistantFunction() method?![]()
D'you mean this?
http://uk2.php.net/manual/en/function.domelement-get-attribute.php
If so, take a look at the System.Xml namespace (specifically the XmlElement.GetAttribute and XmlElement.GetAttributeNode methods).