Find XML value quickly- without too much overhead and fuss.
Posted on 2004-05-02
This is part of my XML file:-
<?xml version="1.0" ?>
- <Timeline Name="50144595" Path="E:\source\Server\Timelines\50144595.tml" Checksum="239820" ProclaimVersion="1.5" BitmapItems="2" VideoItems="1" InfoboxItems="1" ScrollItems="1">
I am using it as a INI which will be accessed every few minutes for certain values. However, I have been studying Xpath and few other ways, but what I really want is a simple VB.NET function like we used to do when reading INI files in VB6.
I was to check the "Checksum" value without going through a collection, I would like to call it like value=GetChecksumFromXML(filename)
It it is ciritical that I can do this quickly without too much processor activity as it is part of a smooth running display. Just a quick grab, but without using collections any other iterator type routines.
Posted Sunday Afternoon in UK.