I have following xml file and I want to read <EquipmentClass> tag and it's Text.This xml file implements B2MML schema and hence xml file structure is not the usual one.Does anybody know how to ahieve the result?I tried using "SelectNodes" method but it doesn't work
<?xml version = "1.0" encoding = "UTF-8"?><EquipmentInformation xmlns = "http://www.wbf.org/xml/b2mml-v02" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation = "http://www.wbf.org/xml/b2mml-v02 file:B2MML-V02-Equipment.xsd"><ID>EquipmentInformation.BigCorp</ID><Description>The very first test load for Equipment Information</Description><Description>This will test multiple description lines</Description><Location><EquipmentID>BigCorp</EquipmentID><EquipmentElementLevel>Enterprise</EquipmentElementLevel></Location><PublishedDate>2004-02-01T03:49:00.000</PublishedDate><Equipment><ID>BigCorp</ID><Description>Represents the BigCorp Enterprise, a ficticious enterprise used as part of initial test data for the model</Description><Equipment><ID>HoustonTX</ID><Description>Big Corp Houston TX site</Description><Description>This site has Refining operations (big suprise!)</Description><Description>This is an example of a Continuous Manufacturing facility</Description><Equipment><ID>CrudeTankFarm</ID></Equipment><Equipment><ID>CrudeDistillationArea</ID><Location><EquipmentID>CrudeDistillationArea</EquipmentID><EquipmentElementLevel>Area</EquipmentElementLevel></Location></Equipment><Equipment><ID>SaturatedGasPlant</ID><Location><EquipmentID>SaturatedGasPlant</EquipmentID><EquipmentElementLevel>Area</EquipmentElementLevel></Location></Equipment><Equipment><ID>GasolineBlending</ID><Location><EquipmentID>GasolineBlending</EquipmentID><EquipmentElementLevel>Area</EquipmentElementLevel></Location></Equipment><EquipmentClassID>RefineryClass</EquipmentClassID><Location><EquipmentID>HoustonTx</EquipmentID><EquipmentElementLevel>Site</EquipmentElementLevel></Location></Equipment><Equipment><ID>DallasTX</ID><Description>Big Corp Dallas TX site</Description><Description>This site manufactures parts and assemblies for the Aerospace Industry</Description><Description>This is an example of a Discrete Manufacturing facility</Description><Location><EquipmentID>DallasTx</EquipmentID><EquipmentElementLevel>Site</EquipmentElementLevel></Location></Equipment></Equipment><EquipmentClass><ID>RefineryClass</ID><Description>Identifies Site type as being a refinery</Description><EquipmentClassProperty><ID>StringProp erty</ID><Description>This is a sample test property</Description><Description>This is not a real property</Description><Value><ValueString>Sample string value</ValueString><DataType>string</DataType><UnitOfMeasure>N/A</UnitOfMeasure><Any/></Value></EquipmentClassProperty><EquipmentClassProperty><ID >MultiValueStringProperty</ID><Value><ValueString>String 1</ValueString><DataType>string</DataType><UnitOfMeasure>N/A</UnitOfMeasure><Any/></Value><Value><ValueString>String 2</ValueString><DataType>string</DataType><UnitOfMeasure>N/A</UnitOfMeasure><Any/></Value><Value><ValueString>String 3</ValueString><DataType>string</DataType><UnitOfMeasure>N/A</UnitOfMeasure><Any/></Value></EquipmentClassProperty><EquipmentClassProperty><ID >NumericProperty</ID><Value><ValueString>200</ValueString><DataType>double</DataType><UnitOfMeasure>Mbbl/month</UnitOfMeasure><Any/></Value></EquipmentClassProperty></EquipmentClass></EquipmentInformation>