Hier noch Code der index.html (mehr steht nicht drin):
<script type="text/javascript">
var page_title = "DB";
var page_path = "./";
var page_name = "main";
var page_content = "<b>Fetter Text</b>";
var contents = "";
contents += "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>";
contents += "<?xml-stylesheet type=\"text/xsl\" href=\""+page_path+"stylesheets/main.xsl\"?>";
contents += "<root>";
contents += " <page>";
contents += " <title>"+page_title+"</title>";
contents += " <path>"+page_path+"</path>";
contents += " <name>"+page_name+"</name>";
contents += " <content>";
contents += " <![CDATA[";
contents += page_content;
contents += " ]]>";
contents += " </content>";
contents += " </page>";
contents += "</root>";
document.writeln(contents);
</script>
Vielleicht macht es mein Anliegen noch etwas deutlicher.