Guest Rocky71 Posted August 10, 2007 Share Posted August 10, 2007 HiHow can we transform an XML document into another XML document showing all the nodes as collapsed/ and with all the nodes as expandedThanks Link to comment Share on other sites More sharing options...
boen_robot Posted August 10, 2007 Share Posted August 10, 2007 I'm not sure I see what you mean.By "all nodes expanded" I guess you mean a DOM snapshot, but "all nodes collapsed"... what you do you mean?Anyhow, there's a Pretty XML Tree Viewer stylesheet and it also has an ASCII version if you want plain text output.From then on, if you need to make something like the Opera development console, where you click and hide stuff, you'll need to use JavaScript to manipulate the result tree of the HTML version. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.