<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:apply-templates select="document"/>
</xsl:template>
<xsl:template match="document">
<html>
<head>
<title>
<xsl:value-of select="XMLC_Params/XMLC_InstanceName"/> - Administration portal</title>
<script language="javascript"><![CDATA[window.name = 'XMLC_AdmPortal';]]></script>
</head>
<frameset cols="200,10,*" frameborder="0" framespacing="0" id="XMLC_AdmPortal" name="XMLC_AdmPortal">
<frame id="XMLC_AdmMenu" name="XMLC_AdmMenu" scrolling="no" noresize="false" src="XMLC_AdmMenu?SelectedID={/document/PARAMS/SelectedID}">
<xsl:attribute name="src"><xsl:choose><xsl:when test="/document/XMLC_Params/XMLC_UseXMLC_Action = '1'">?XMLC_Action=XMLC_AdmMenu&amp;SelectedID={/document/PARAMS/SelectedID}</xsl:when><xsl:otherwise>XMLC_AdmMenu?SelectedID={/document/PARAMS/SelectedID}</xsl:otherwise></xsl:choose></xsl:attribute>
</frame>
<frame id="XMLC_AdmResizeBar" name="XMLC_AdmResizeBar" scrolling="no" noresize="true" src="">
<xsl:attribute name="src"><xsl:choose><xsl:when test="/document/XMLC_Params/XMLC_UseXMLC_Action = '1'">?XMLC_Action=XMLC_AdmResizeBar</xsl:when><xsl:otherwise>XMLC_AdmResizeBar</xsl:otherwise></xsl:choose></xsl:attribute>
</frame>
<frame id="XMLC_AdmFrame" name="XMLC_AdmFrame" scrolling="yes" noresize="false">
<xsl:attribute name="src"><xsl:choose><xsl:when test="/document/PARAMS/HRef != ''"><xsl:if test="/document/XMLC_Params/XMLC_UseXMLC_Action = '1'">?XMLC_Action=</xsl:if><xsl:value-of select="/document/PARAMS/HRef"/><xsl:choose><xsl:when test="/document/XMLC_Params/XMLC_UseXMLC_Action = '1'">&amp;</xsl:when><xsl:otherwise>?</xsl:otherwise></xsl:choose>XMLC_Pool=<xsl:value-of select="/document/PARAMS/XMLC_Pool"/>&amp;XMLModule=<xsl:value-of select="/document/PARAMS/XMLModule"/>&amp;XMLService=<xsl:value-of select="/document/PARAMS/XMLService"/></xsl:when><xsl:otherwise><xsl:choose><xsl:when test="/document/XMLC_Params/XMLC_UseXMLC_Action = '1'">?XMLC_Action=XMLC_Dashboard</xsl:when><xsl:otherwise>XMLC_Dashboard</xsl:otherwise></xsl:choose></xsl:otherwise></xsl:choose></xsl:attribute>
</frame>
</frameset>
</html>
</xsl:template>
</xsl:stylesheet>
