I'm asking it because I don't have a server and I'm using an HTA. I want the XML to contain data and that it will be easy to modify and update if necesary.
I tried using xmlhttprequest and it's not working without a server of course..
I thought using this XML pages as the main page and only use CSS to design it, but it seems to be even uglier than just using a normal HTML page.
If you store a copy of jquery locally, and load it, you can do some pretty fancy XML manipulation: <a href="http://think2loud.com/reading-xml-with-jquery/" rel="nofollow">http://think2loud.com/reading-xml-with-jquery/</a>
It sounds like you might be wanting to do an XSLT Transform (http://en.wikipedia.org/wiki/Xslt). This can also be done within a web browser without any server to run upon.Answer2:
The only browser I know of that allows you to do so was IE with <a href="http://msdn.microsoft.com/en-us/library/ms766512%28VS.85%29.aspx" rel="nofollow">XML Data Islands</a>, this was with IE 5 and worked with IE 6, though I don't know if later versions have this feature.
However, you can emulate these with the DOM - see <a href="http://ajaxpatterns.org/XML_Data_Island" rel="nofollow">this</a> wiki page.