Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: filling treeview from xml file, but only certain tags >Thread Next - Re: filling treeview from xml file, but only certain tags Re: filling treeview from xml file, but only certain tagsTo: NULL Date: 8/1/2008 1:47:00 PM minimalniemand wrote: > I don't really understand what you mean by "although you obviously > need to decide which nodes you add as none leaf nodes." > The tree should look in the end like this (not conform with the > example in the starting post): > > Clause(AND) > |__ Nationality=Belgian > |__ Gender=1 > |__ Clause(OR) > |__ Studies=BE > |__ Studies=BI > > which then should result in a SQL where clause like: > > Nationality='Belorussian' AND Gender=1 AND (Studies='BE' OR > Studies='BI') > > what would be a non leaf node in this case? The leaf nodes are the conditions (e.g. Nationality=Belgian), the non leaf nodes are the clauses (e.g. Clause(AND)). Can you post the XML corresponding to that tree above? Then we should be able to adapt the VB code you have. -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
