Best approach towards reading specific information from XML file
-
Hi all, I am developing an application in VB.Net, which uses XML file to feed configuration information. Application will need different configuration information during run time which needs to be fetched from XML file. Please let me know to achieve this task what will be the best approach: Deserialization: Deserialize entire XML file into an object, and keep this object in memory during the entire life of application. Get the configuration information form this object property. Using XPath query: as and when the configuration information is required by the application, it sends a query to XML file to fetch the required information. Experts, please comment on this. Thank you, Regards, Krishnaraj
-
Hi all, I am developing an application in VB.Net, which uses XML file to feed configuration information. Application will need different configuration information during run time which needs to be fetched from XML file. Please let me know to achieve this task what will be the best approach: Deserialization: Deserialize entire XML file into an object, and keep this object in memory during the entire life of application. Get the configuration information form this object property. Using XPath query: as and when the configuration information is required by the application, it sends a query to XML file to fetch the required information. Experts, please comment on this. Thank you, Regards, Krishnaraj