also:)
erst mal danke im voraus.
die html datei:
<html>
<head>
<title>blablabla test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="63,518*" frameborder="NO" border="0" framespacing="0" cols="*">
<frame name="menue" scrolling="NO" noresize src="xml/Head2.xml" >
<frameset cols="250,*" frameborder="NO" border="0" framespacing="2">
<frame name="list" scrolling="auto" src="xml/tree222.xml">
<frame name="content" src="xml/content.xml">
</frameset>
</frameset>
<noframes><body bgcolor="#FFFFFF">
<br />
<br />
<br /> Danke.
</body></noframes>
</html>
-----------------
die xml-Datei:
<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="../xsl/Head2.xsl"?>
<dbs:menu xmlns:dbs="http://blablablabla.com/">
<dbs:mainmenu active="1" sub="" pfad="../back.html" comment="Home der page">
<dbs:title language="DE">Home</dbs:title>
<dbs:title language="EN">Home</dbs:title>
</dbs:mainmenu>
<dbs:mainmenu active="1" sub="" pfad="http://billboard......de/public/internet%20newsgroups/" comment="Newsgroup">
<dbs:title language="DE">Bill board</dbs:title>
<dbs:title language="EN">Bill board</dbs:title>
</dbs:mainmenu>
<dbs:mainmenu active="1" sub="1" pfad="" comment="Hilfe zur Seite">
<dbs:title language="DE">Help</dbs:title>
<dbs:title language="EN">Help</dbs:title>
</dbs:mainmenu>
</dbs:menu>
-------------------------
und die xsl-Datei:
<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>blablabla test-----------------------------</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link rel="stylesheet" type="text/css" href="../css/Head.css"/>
<script src="../js/Head.js" language="JavaScript"></script>
<script src="../js/status.js" language="JavaScript"></script>
</head>
<body bgcolor="#FFFFFF" scroll="no" background="../img/jpg/bg_onl.jpg" leftmargin="0" bottommargin="0">
<table width="100%" border="0" height="100%" align="left" cellspacing="0" cellpadding="0">
<tr align="left" valign="bottom" height="100%">
<td> </td>
</tr>
<tr align="left" valign="bottom">
<td>
<table border="0" cellspacing="2" bgcolor="#666666">
<tr bgcolor="#FFFFFF" align="center" valign="middle">
<xsl:for-each select="dbs:menu/dbs:mainmenu">
<td bgcolor="#FFFFFF" class="menu" onMouseOut="JavaScript:this.bgColor='white';"><xsl:attribute name="onMouseOver">JavaScript:this.bgColor='#F3F3F3';window.status='<xsl:value-of select="dbs:title" />------------------------------------>';return true;</xsl:attribute>
<xsl:if match=".[@sub='1']"><xsl:attribute name="onClick">JavaScript:setPage("<xsl:value-of select="dbs:title"/>");</xsl:attribute></xsl:if>
<img src="img/gif/spacer.gif" width="10" height="1" border="0" />
<xsl:if match=".[@sub='1']"><a><xsl:attribute name="HREF"><xsl:value-of select="dbs:title"/>-content.xml</xsl:attribute><xsl:attribute name="TARGET">content</xsl:attribute><xsl:value-of select="dbs:title" /></a></xsl:if><xsl:if match=".[@sub='']"><a><xsl:attribute name="HREF"><xsl:value-of select="@pfad"/></xsl:attribute><xsl:attribute name="TARGET">content</xsl:attribute><xsl:value-of select="dbs:title"/></a></xsl:if>
<img src="img/gif/spacer.gif" width="10" height="1" border="0" alt=""/>
</td>
</xsl:for-each>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
etwas unsauber...sorry