troyhalsey
asked on
Go to index number in XML file
I am new to xml and vb.net...so I am probably misunderstanding this process but:
Is it possible to GoTo a specific node index based on a specific nodes value?
I have a list box that is populated by an xml file. I want to be able to select an item in the list box...and have it GoTo...the corresponding index.
My a very simplified example of my xml file looks kind of like this
<ResourceBook>
<Resources> <------------------------- -------(In dex1)
<Resource>
<Name>Bob</Name>
</Resource>
<Resource><--------------- ---------- -------(In dex2)
<Name>Frank</Name>
</Resource>
</Resources>
</ResourceBook>
So...if they select Bob in the listbox...I want currentresourceindex to be 1....how do I do this?
Troy
Is it possible to GoTo a specific node index based on a specific nodes value?
I have a list box that is populated by an xml file. I want to be able to select an item in the list box...and have it GoTo...the corresponding index.
My a very simplified example of my xml file looks kind of like this
<ResourceBook>
<Resources> <-------------------------
<Resource>
<Name>Bob</Name>
</Resource>
<Resource><---------------
<Name>Frank</Name>
</Resource>
</Resources>
</ResourceBook>
So...if they select Bob in the listbox...I want currentresourceindex to be 1....how do I do this?
Troy
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
No objection, I will repost when I am ready to readdress the issue. Thank you.
ASKER