Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: filling treeview from xml file, but only certain tags

From: Martin Honnen <mahotrash@-----.-->
To: 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/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent