Compact, simple tree representation

The NeXML file format has a rather verbose way of representing trees. For example, this tree:

Can be represented as a Newick string like so:

(((A:1.00,B:2.00)n1:3.00,(C:4.00,D:5.00)n2:6.00)n3:7.00,E:8.00)n4:0.00;

But in NeXML it becomes this:


    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

For small trees - or small sets of trees - the advantages of NeXML outweigh this verbosity, but for big trees or large sets (e.g. from a Markov chain) this becomes a problem.