This test is inspired by "aqtree3clickable" tree javascript example. The intention is to demonstrate XSLT and XML usage combined with javascript to generate tree structure from a given XML file. It is tested under Mozila FireFox. Click example here tree.xml
Used techiques, javascript/DHTML/CSS, embed gif image in css with base64 encoding.
1. embed image in css
ul.aqtree3clickable li.aq3open a {
background: center left no-repeat url(data:image/gif;base64,R0lGODlhEAAJAJEAAICAgP///wAAAP///yH5BAEAAAMALAAAAAAQAAkAAAIgnIGZxhcPA2gMRDjpsFfqHQii6E0Z2J0Nd6lV52nK3BQAOw==);
}
2. xslt translaton
3. simple javascript clickable tree