|
-
Nov 17th, 2005, 11:44 AM
#1
Thread Starter
Junior Member
XML Question using VB.Net Code
Hi All,
I was wondering if someone might be able to help me with a problem in VB.net code? I have the following XML file:
<Applications>
<ApplicationGroup GroupID="001" GroupName="Oracle SQLNet">
<Application AppName="SQLNet" Version="9.2.0.4">
<Package Name="Oracle SQLNet 9.2.0.4 DBA" id="">
<PackageInfo>
<MarkForUninstall>1</MarkForUninstall>
</PackageInfo>
</Package>
<Package Name="Oracle SQLNet 9.2.0.4 App User Std" id="">
<PackageInfo>
<MarkForUninstall>0</MarkForUninstall>
</PackageInfo>
</Package>
</Application>
</ApplicationGroup>
</Applications>
Im trying to do 2 things through use of the XMLDocument Class and XPath, get the Name attribute from each <Package> and value of <MarkForUninstall> for each of them. Any help would be great.
Thanks,
-ETR
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|