﻿<?xml version="1.0" ?> 
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:fx="#fx-functions" exclude-result-prefixes="msxsl fx">
  <xsl:output method="html" version="4.0" indent="yes" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" /> 
- <xsl:template match="//dataroot" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <html>
- <head>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8" /> 
  <title>Neuer Eintrag</title> 
  <style type="text/css">.Style0 { BORDER-STYLE: none; COLOR: #000000; BACKGROUND-COLOR: transparent; BORDER-WIDTH: 1px; BORDER-COLOR: #000000; TEXT-ALIGN: general; WRITING-MODE: lr-tb; VISIBILITY: visible; FONT-WEIGHT: 400; FONT-SIZE: 20pt; FONT-FAMILY: Calibri; FONT-STYLE: normal; TEXT-DECORATION: none; PADDING-TOP: 0.cm; PADDING-BOTTOM: 0.cm; PADDING-RIGHT: 0.cm; PADDING-LEFT: 0.cm } .Style1 { BORDER-STYLE: solid; COLOR: #000000; BACKGROUND-COLOR: #fff200; BORDER-WIDTH: 1px; BORDER-COLOR: #000000; TEXT-ALIGN: center; WRITING-MODE: lr-tb; VISIBILITY: visible; FONT-WEIGHT: 400; FONT-SIZE: 14pt; FONT-FAMILY: Calibri; FONT-STYLE: normal; TEXT-DECORATION: none; PADDING-TOP: 0.cm; PADDING-BOTTOM: 0.cm; PADDING-RIGHT: 0.cm; PADDING-LEFT: 0.cm } .Style2 { BORDER-STYLE: none; COLOR: #000000; BACKGROUND-COLOR: #f9cdaa; BORDER-WIDTH: 1px; BORDER-COLOR: #000000; TEXT-ALIGN: left; WRITING-MODE: lr-tb; VISIBILITY: visible; FONT-WEIGHT: 400; FONT-SIZE: 14pt; FONT-FAMILY: Calibri; FONT-STYLE: normal; TEXT-DECORATION: none; PADDING-TOP: 0.cm; PADDING-BOTTOM: 0.cm; PADDING-RIGHT: 0.cm; PADDING-LEFT: 0.cm } .Style3 { BORDER-STYLE: solid; COLOR: #000000; BACKGROUND-COLOR: #d6dfec; BORDER-WIDTH: 1px; BORDER-COLOR: #000000; TEXT-ALIGN: general; WRITING-MODE: lr-tb; VISIBILITY: visible; FONT-WEIGHT: 400; FONT-SIZE: 11pt; FONT-FAMILY: Calibri; FONT-STYLE: normal; TEXT-DECORATION: none; PADDING-TOP: 0.cm; PADDING-BOTTOM: 0.cm; PADDING-RIGHT: 0.cm; PADDING-LEFT: 0.cm } .Style4 { BORDER-STYLE: none; COLOR: #000000; BACKGROUND-COLOR: transparent; BORDER-WIDTH: 1px; BORDER-COLOR: #ffffff; TEXT-ALIGN: general; WRITING-MODE: lr-tb; VISIBILITY: visible; FONT-WEIGHT: 400; FONT-SIZE: 11pt; FONT-FAMILY: Calibri; FONT-STYLE: normal; TEXT-DECORATION: none; PADDING-TOP: 0.cm; PADDING-BOTTOM: 0.cm; PADDING-RIGHT: 0.cm; PADDING-LEFT: 0.cm } .Style5 { BORDER-STYLE: groove; BACKGROUND-COLOR: #d6dfec; BORDER-WIDTH: 2px; BORDER-COLOR: ; VISIBILITY: visible } .Style6 { BORDER-STYLE: inset; BORDER-WIDTH: 2px; BORDER-COLOR: ; VISIBILITY: visible } .Style7 { BORDER-STYLE: none; COLOR: #000000; BACKGROUND-COLOR: #ffffff; BORDER-WIDTH: 1px; BORDER-COLOR: #ffffff; TEXT-ALIGN: general; WRITING-MODE: lr-tb; VISIBILITY: visible; FONT-WEIGHT: 400; FONT-SIZE: 11pt; FONT-FAMILY: Calibri; FONT-STYLE: normal; TEXT-DECORATION: none; PADDING-TOP: 0.cm; PADDING-BOTTOM: 0.cm; PADDING-RIGHT: 0.cm; PADDING-LEFT: 0.cm } .Style8 { BORDER-STYLE: outset; BACKGROUND-COLOR: #d8d8d8; BORDER-WIDTH: 2px; BORDER-COLOR: ; TEXT-ALIGN: general; VISIBILITY: visible } .Style9 { COLOR: #000000; VISIBILITY: visible; FONT-WEIGHT: 400; FONT-SIZE: 14pt; FONT-FAMILY: Calibri; FONT-STYLE: normal; TEXT-DECORATION: none }</style> 
  </head>
- <body link="#0c0000" vlink="#050000">
  <xsl:variable name="GlobalGroup" select="Neuer_x0020_Eintrag" /> 
- <!--  Calculate expressions and running sums 
  --> 
  <xsl:value-of select="fx:CalculateExpressions_Global($GlobalGroup[1], $GlobalGroup)" /> 
- <div style="BORDER-STYLE: none; WIDTH: 23.991cm; BACKGROUND-COLOR: #fff200; VISIBILITY: visible; HEIGHT: 1.227cm; POSITION: relative">
  <span class="Style0" style="LEFT: 5.797cm; TOP: 0.098cm; WIDTH: 4.666cm; HEIGHT: 1.126cm; OVERFLOW: hidden; POSITION: absolute">Lebenstage</span> 
  </div>
- <xsl:for-each select="Neuer_x0020_Eintrag">
- <!--  Calculate expressions and running sums 
  --> 
  <xsl:value-of select="fx:CalculateExpressions_Detail(., $GlobalGroup)" /> 
- <div style="BORDER-STYLE: none; WIDTH: 23.991cm; BACKGROUND-COLOR: #ffffff; VISIBILITY: visible; HEIGHT: 12.097cm; POSITION: relative">
- <span class="Style1" style="LEFT: 0.998cm; TOP: 0.098cm; WIDTH: 12.804cm; HEIGHT: 0.687cm; OVERFLOW: hidden; POSITION: absolute">
  <xsl:value-of select="fx:FormatFromXSL('Tag', 'Long Date', '', '', 7)" /> 
  </span>
- <span class="Style2" style="LEFT: 0.998cm; TOP: 0.899cm; WIDTH: 12.804cm; HEIGHT: 7.698cm; OVERFLOW: hidden; POSITION: absolute">
  <xsl:value-of select="Eintrag" disable-output-escaping="yes" /> 
  </span>
- <span class="Style3" style="LEFT: 3.098cm; TOP: 9.797cm; WIDTH: 10.671cm; HEIGHT: 0.582cm; OVERFLOW: hidden; POSITION: absolute">
  <xsl:value-of select="Titel" /> 
  </span>
  <span class="Style4" style="LEFT: 0.998cm; TOP: 9.797cm; WIDTH: 1.746cm; HEIGHT: 0.555cm; OVERFLOW: hidden; POSITION: absolute">Titel:</span> 
  <span class="Style7" style="LEFT: 9.363cm; TOP: 10.897cm; WIDTH: 1.455cm; HEIGHT: 0.555cm; OVERFLOW: hidden; POSITION: absolute">sehr gut</span> 
  <span class="Style7" style="LEFT: 7.989cm; TOP: 10.897cm; WIDTH: 0.661cm; HEIGHT: 0.555cm; OVERFLOW: hidden; POSITION: absolute">gut</span> 
  <span class="Style7" style="LEFT: 6.403cm; TOP: 10.897cm; WIDTH: 0.873cm; HEIGHT: 0.555cm; OVERFLOW: hidden; POSITION: absolute">geht</span> 
  <span class="Style7" style="LEFT: 4.183cm; TOP: 10.897cm; WIDTH: 1.507cm; HEIGHT: 0.555cm; OVERFLOW: hidden; POSITION: absolute">schwach</span> 
  <span class="Style7" style="LEFT: 1.098cm; TOP: 10.797cm; WIDTH: 1.931cm; HEIGHT: 0.555cm; OVERFLOW: hidden; POSITION: absolute">Bewertung</span> 
- <span class="Style3" style="LEFT: 3.998cm; TOP: 8.897cm; WIDTH: 3.cm; HEIGHT: 0.555cm; OVERFLOW: hidden; POSITION: absolute">
  <xsl:value-of select="Autorvorname" /> 
  </span>
  <span class="Style4" style="LEFT: 1.098cm; TOP: 8.897cm; WIDTH: 2.619cm; HEIGHT: 0.555cm; OVERFLOW: hidden; POSITION: absolute">Autorvorname:</span> 
- <span class="Style3" style="LEFT: 10.298cm; TOP: 8.897cm; WIDTH: 3.476cm; HEIGHT: 0.555cm; OVERFLOW: hidden; POSITION: absolute">
  <xsl:value-of select="Autornachname" /> 
  </span>
  <span class="Style4" style="LEFT: 7.197cm; TOP: 8.897cm; WIDTH: 2.857cm; HEIGHT: 0.555cm; OVERFLOW: hidden; POSITION: absolute">Autornachname:</span> 
  </div>
  </xsl:for-each>
- <!--  Prepare for any expressions in the report or page footer 
  --> 
  <xsl:value-of select="fx:PrepExpressions($GlobalGroup[1], $GlobalGroup)" /> 
  <div style="BORDER-STYLE: none; WIDTH: 23.991cm; BACKGROUND-COLOR: #fff200; VISIBILITY: visible; HEIGHT: 1.299cm; POSITION: relative" /> 
  </body>
  </html>
  </xsl:template>
- <msxsl:script language="VBScript" implements-prefix="fx" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
- <![CDATA[ 							
	Option Explicit
	
	' ********************************************************************************** 
	' **  Functions dynamically generated to evaluate expressions used as a Control Source   
	' ********************************************************************************** 
	
	
	' ********************************************************************************** 
	' **  Functions dynamically generated to evaluate running sums 
	' ********************************************************************************** 
	
		
	' This function will calculate the running sums and expressions for the Detail section
	Function CalculateExpressions_Detail(CurrentNode, GroupNodes)
		PrepExpressions CurrentNode, GroupNodes
		
		
		On Error Resume Next
	
	
		CalculateExpressions_Detail = ""
	End Function
	
		
	' This function will calculate the running sums and expressions for the Global section
	Function CalculateExpressions_Global(CurrentNode, GroupNodes)
		PrepExpressions CurrentNode, GroupNodes
		
		
		On Error Resume Next
	
	
		CalculateExpressions_Global = ""
	End Function
	

	' ********************************************************************************** 
	' **  Functions dynamically generated to be used for sorting and grouping
	' ********************************************************************************** 
	


	' ********************************************************************************** 
	' **  Code staticly copied for expressions to use    
	' ********************************************************************************** 
	
	'variable declaration
	Dim objCurrNode
	Dim objCurrNodeT
	Dim cGroupCount
	Dim objGroupNodes

	Set objGroupNodes = Nothing
	Set objCurrNode = Nothing
	cGroupCount = 0
	
	Function PrepExpressions(CurrentNode, GroupNodes)		
		CacheCurrentNode CurrentNode
		CacheGroupNodes GroupNodes
		PrepExpressions = ""
	End Function
	
	Function CacheCurrentNode(objNodeList)		
		Set objCurrNode = objNodeList.item(0)
		CacheCurrentNode = ""
	End Function
	
	Function CacheGroupNodes(objNodeList)
		Set objGroupNodes = objNodeList
		cGroupCount = objGroupNodes.length
		CacheGroupNodes = ""
	End Function

	Function GroupValue_quarter(strValue)
		GroupValue_quarter = Left(strValue, 4) & DatePart("q", BuildDateFromStr(strValue, False))
	End Function
	
	Function GroupValue_week(strValue)
		GroupValue_week = Left(strValue, 4) & DatePart("ww", BuildDateFromStr(strValue, False))
	End Function
	
	Function GroupValue_interval(nValue, nInterval)
		GroupValue_interval = Int(nValue / nInterval)
	End Function

	Function Page()
		Page = 1
	End Function
	
	Function Pages()
		Pages = 1
	End Function

	Function ToString(varValue)
		On Error Resume Next
		ToString = ""
		ToString = CStr(varValue)
	End Function

	Function ToNumber(varValue)
		On Error Resume Next
		ToNumber = 0
		ToNumber = CDbl(varValue)
	End Function
	
	Function FormatFromXSL(strRef, strFormat, iNumDecimals, LCID, nType)
		FormatFromXSL = ToString(Format(GetValue(strRef, nType), strFormat, iNumDecimals, LCID, nType))
	End Function

	Function Format(varValue, strFormat, iNumDe
