|
|
Thanks a lot for your answer.
I intentionally left the programming language out, cause an advice in
pseudo code should be ok for me.
but its VB6 & MSXML and I also posted in a VB group.
On 31 Jul., 14:57, Martin Honnen <mahotr...@xxxxxxxx> wrote:
> 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/
|
|