# Load xml data in a html file

**URL:** <https://www.ruby-forum.com/t/load-xml-data-in-a-html-file/142101>\
**Category:** Ruby\
**Created:** [July 3, 2008, 1:22pm UTC](https://www.ruby-forum.com/t/load-xml-data-in-a-html-file/142101 "2008-07-03T13:22:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mihai](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/35a633/32.png) [@mihai](https://www.ruby-forum.com/u/mihai)\
**Post date:** [July 3, 2008, 1:22pm UTC](https://www.ruby-forum.com/t/load-xml-data-in-a-html-file/142101/1 "2008-07-03T13:22:38Z")

</div>

I have in a xml file a hard disk folders/files structure  
  
  
  
new.txt  
1234  
…

I want to load that xml file in a hmtl one so that:in the left of the  
html page i have a frame with a hmtl tree to simulate a navigation  
between folders and files and in the right if you click on a file i want  
to be displayed some informations about the file, like size, type of  
file etc.

How can i do that? Any advice is welcome.
