Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: minimalniemand <Michael.Niemand@----------.--->
To: NULL
Date: 8/1/2008 2:21:00 AM
again, thank you very much, your help is greatly appreciated!

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?











On 31 Jul., 16:40, Martin Honnen <mahotr...@yahoo.de> wrote:

> That expression returns a node list with child elements of name 'OPTEXT'
> and 'ITEXT', you can then add them to your tree view for the current
> level, then you can recursively process the next level. That way you
> would get a tree with the hierarchy being preserved although you
> obviously need to decide which nodes you add as none leaf nodes.






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