redss
Programmer
- Oct 20, 2002
- 195
I want to find out how to display a database log file in xml using a "tree view" like you see in windows explorer.
For example, I want to write a database log file so that when I view it, it looks like this:
Then if I know that "bob" wasnt sucessfully added, I can expand the "bob" node by clicking on the +, and see the steps it went thru, the SQL, etc (like this
This probably can't be viewed thru my IE5 browser using XSL? I notice that IE browser displays XML in a tree view, but all nodes are initially expanded, and it displays the raw tags in addition to the data I want to see. I don't want to see the raw tags, and the nodes should all initially be collapsed.
Does anybody know of any kind of XML viewer that will display the XML the way I want to see it? Hopefully something "forgiving" of faulty xml syntax (like missing closing tags)
Or.... am I stretching XML too far past what it was intended to do??
Thanks for any thought on this!
For example, I want to write a database log file so that when I view it, it looks like this:
Code:
processing file...
+ adding employee "bob"
+ adding employee "dave"
done processing
Then if I know that "bob" wasnt sucessfully added, I can expand the "bob" node by clicking on the +, and see the steps it went thru, the SQL, etc (like this
Code:
+ adding employee "bob"
- get information
+ get address
- get birthday
- query: select date from birthday where name = 'bob'
- ERROR: query retrieved 0 rows!!!
This probably can't be viewed thru my IE5 browser using XSL? I notice that IE browser displays XML in a tree view, but all nodes are initially expanded, and it displays the raw tags in addition to the data I want to see. I don't want to see the raw tags, and the nodes should all initially be collapsed.
Does anybody know of any kind of XML viewer that will display the XML the way I want to see it? Hopefully something "forgiving" of faulty xml syntax (like missing closing tags)
Or.... am I stretching XML too far past what it was intended to do??
Thanks for any thought on this!