| Subject: | Re: filling treeview from xml file, but only certain tags |
|---|---|
| From: | Martin Honnen |
| Date: | Thu, 31 Jul 2008 14:57:35 +0200 |
| Newsgroups: | comp.text.xml |
minimalniemand wrote: I try to recursivley fill a treeview from a xml-file. It works well, when the contents of the xml and the treeview match 1:1. code here: http://mad-scientists.co.uk/micha/shownode.txt a sample xml doc can be found here: mad-scientists.co.uk/micha/CurrentSearch.xml">http://mad-scientists.co.uk/micha/CurrentSearch.xml the problem is, that the xml file contains more items then I want to show in the treeview. I only want to show items with certain tags. (OPTEXT & ITEXT) You have not even told us which programming language and which framework and which tree view you are using. That sample looks like VB or VB.NET although it is not clear why you would use MSXML with the .NET framework. You might be better off asking in a group about classic VB if that is what you use, or in a VB.NET group. Instead of processing all child elements you could consider to use XPath to process only those elements you are interested in to appear in the tree view.
--
Martin Honnen
JavaScript.FAQTs.com/">http://JavaScript.FAQTs.com/
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | filling treeview from xml file, but only certain tags, minimalniemand |
|---|---|
| Next by Date: | Re: filling treeview from xml file, but only certain tags, minimalniemand |
| Previous by Thread: | filling treeview from xml file, but only certain tags, minimalniemand |
| Next by Thread: | Re: filling treeview from xml file, but only certain tags, minimalniemand |
| Indexes: | [Date] [Thread] [Top] [All Lists] |