If I have the following XML file:
How would I read each node type. For example if I just wanted to read ProductName from the properties section?Code:<Catalog> <Patch> <UpdateNumber>1</UpdateNumber> <properties> <ProductName>Sample Update</ProductName> <PatchName>Sample_Update.exe</PatchName> <Description>Installs the Sample Update</Description> <Reboot>1</Reboot> <file_1 style="normal">FILEPATH</file_1> </properties> <downloads> <DownloadURL>LOCATION</DownloadURL> </downloads> <detection style="applicable"> <OSType>WIN_XP</OSType> </detection> <detection style="installed"> </detection> </Patch> </Catalog>


Reply With Quote
