<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" 
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 xmlns:wkb="http://wkb.be/Publishing"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 exclude-result-prefixes="xml xsl wkb xsi"
 >
<xsl:output method="xml" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
<!--  xmlns:xml="http://www.w3.org/XML/1998/namespace" -->

<xsl:param name="language" select="nl"/>
<xsl:param name="hierarchical" select="true"/>
<xsl:param name="print-detail" select="true"/>
<xsl:param name="print-status" select="Approved-Proposed-Undefined"/>
<xsl:param name="start-at-term-id"/>

<xsl:key name="termId" match="/wkb:thesaurus/wkb:term" use="@id"/>
<xsl:key name="assocNt" match="/wkb:thesaurus/wkb:association[@type='BT-NT']" use="wkb:member[@role='NT']/wkb:term-reference/@id"/>
<xsl:key name="assocBt" match="/wkb:thesaurus/wkb:association[@type='BT-NT'][count(wkb:member[@role='NT']) &gt; 0]" use="wkb:member[@role='BT']/wkb:term-reference/@id"/>
<xsl:key name="assocRt" match="/wkb:thesaurus/wkb:association[@type='RT-RT']" use="wkb:member[@role='RT']/wkb:term-reference/@id"/>

<xsl:variable name="lc">abcdefghijklmnopqrstuvwxyzàáâãäåçèéêëìíîïðñòóôõöùúûüýÿĳÀÁÂÃÅÄÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝĲ </xsl:variable>
<xsl:variable name="uc">ABCDEFGHIJKLMNOPQRSTUVWXYZAAAAAACEEEEIIIIONOOOOOUUUUYYYAAAAAACEEEEIIIINOOOOOUUUUYY0</xsl:variable>

<xsl:template match="/">
	<xsl:comment><xsl:text>
Stylesheet: Print thesaurus
Version:    2005-06-09
Author:     Johan De Smedt
Copyright:  WKB &#x00a9; 2005-04-20
Parameters: language=</xsl:text><xsl:value-of select="$language"/><xsl:text>
            print-detail=</xsl:text><xsl:value-of select="$print-detail"/><xsl:text>
            print-status=</xsl:text><xsl:value-of select="$print-status"/><xsl:text>
            hierarchical=</xsl:text><xsl:value-of select="$hierarchical"/><xsl:text>
            start-at-term-id=</xsl:text><xsl:value-of select="$start-at-term-id"/><xsl:text>
</xsl:text>
	</xsl:comment>
	<xsl:apply-templates select="wkb:thesaurus"/>
</xsl:template>

<xsl:key name="topic" match="/wkb:thesaurus/wkb:term" use="@id"/>

<xsl:template match="wkb:thesaurus">
	<html lang="{$language}">
		<head>
			<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
			<title>
				<xsl:value-of select="wkb:description"/>
			</title>
		</head>
		<body>
			<h1 style="text-align: center">
				<xsl:value-of select="wkb:production-info/@command"/>
				<xsl:text>: </xsl:text>
				<xsl:value-of select="wkb:description"/>
			</h1>
			<p>
				<xsl:text>Classification System Id: </xsl:text>
				<xsl:value-of select="@public-id"/>
				<xsl:if test="$hierarchical='true' and string-length($start-at-term-id) &gt; 0">
					<xsl:text> starting at id: </xsl:text>
					<xsl:value-of select="$start-at-term-id"/>
				</xsl:if>
			</p>
			<xsl:variable name="style">
				<xsl:call-template name="get-style">
					<xsl:with-param name="level">2</xsl:with-param>
					<xsl:with-param name="status">Approved</xsl:with-param>
				</xsl:call-template>
			</xsl:variable>
			<ul style="{$style}">
			<xsl:choose>
				<xsl:when test="$hierarchical='true'">
					<xsl:call-template name="print-hierarchy"/>
				</xsl:when>
				<xsl:otherwise>
					<xsl:apply-templates select="wkb:term[contains($print-status ,@status) and wkb:name[@name-type='Base' and @xml:lang=$language]]">
						<xsl:sort select="translate(wkb:name[@name-type='Base' and @xml:lang=$language]/wkb:value,$lc,$uc)"/>
					</xsl:apply-templates>
				</xsl:otherwise>
			</xsl:choose>
			</ul>
		</body>
	</html>
</xsl:template>

<xsl:template name="print-hierarchy">
	<xsl:choose>
		<xsl:when test="/wkb:thesaurus/wkb:production-info/@command='print-descriptor'">
			<xsl:for-each select="/wkb:thesaurus/wkb:production-info/wkb:term-reference/@id">
				<xsl:variable name="tid" select="."/>
				<xsl:variable name="btid" select="/wkb:thesaurus/wkb:association[@type='BT-NT' and wkb:member[@role='NT']/wkb:term-reference[@id=$tid]]/wkb:member[@role='BT']/wkb:term-reference/@id"/>
				<xsl:variable name="start">
					<xsl:choose>
						<xsl:when test="string-length($btid) &gt; 0"><xsl:value-of select="$btid"/></xsl:when>
						<xsl:otherwise><xsl:value-of select="$tid"/></xsl:otherwise>
					</xsl:choose>
				</xsl:variable>
				<xsl:apply-templates select="//wkb:term[contains($print-status ,@status) and @id=$start]"/>
			</xsl:for-each>
		</xsl:when>
		<xsl:when test="string-length($start-at-term-id) &gt; 0">
			<xsl:apply-templates select="//wkb:term[contains($print-status ,@status) and @id=$start-at-term-id]"/>
		</xsl:when>
		<xsl:otherwise>
			<xsl:for-each select="wkb:term[contains($print-status ,@status) and wkb:name[@name-type='Base' and @xml:lang=$language] and (@level='1')]">
				<xsl:sort select="translate(wkb:name[@name-type='Base' and @xml:lang=$language]/wkb:value,$lc,$uc)"/>
				<xsl:apply-templates select="."/>
			</xsl:for-each>
		</xsl:otherwise>
	</xsl:choose>
</xsl:template>

<xsl:template name="print-term-intro">
	<xsl:param name="id"/>
	<xsl:param name="bid"/>
</xsl:template>

<xsl:template name="get-style">
	<xsl:param name="level"/>
	<xsl:param name="status"/>
	<xsl:variable name="color">
		<xsl:choose>
			<xsl:when test="not(contains($print-status,'-') or contains($print-status,' ') or contains($print-status,','))">
				<xsl:choose>
					<xsl:when test="$level='1'">red</xsl:when>
					<xsl:when test="$level='2'">black</xsl:when>
					<xsl:when test="$level='3'">darkblue</xsl:when>
					<xsl:when test="$level='4'">blue</xsl:when>
					<xsl:when test="$level='5'">darkgreen</xsl:when>
					<xsl:otherwise>green</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:otherwise>
				<xsl:choose>
					<xsl:when test="$status='Approved'">black</xsl:when>
					<xsl:when test="$status='Proposed'">darkblue</xsl:when>
					<xsl:when test="$status='Undefined'">red</xsl:when>
					<xsl:otherwise>green</xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:variable>
	<xsl:choose>
		<xsl:when test="$level='1'">
			<xsl:text>color: </xsl:text><xsl:value-of select="$color"/><xsl:text>; font-style: normal; font-size: medium; font-weight: 900</xsl:text>
		</xsl:when>
		<xsl:when test="$level='2'">
			<xsl:text>color: </xsl:text><xsl:value-of select="$color"/><xsl:text>; font-style: normal; font-size: small; font-weight: 700</xsl:text>
		</xsl:when>
		<xsl:when test="$level='3'">
			<xsl:text>color: </xsl:text><xsl:value-of select="$color"/><xsl:text>; font-style: normal; font-size: small; font-weight: 600</xsl:text>
		</xsl:when>
		<xsl:when test="$level='4'">
			<xsl:text>color: </xsl:text><xsl:value-of select="$color"/><xsl:text>; font-style: normal; font-size: small; font-weight: 500</xsl:text>
		</xsl:when>
		<xsl:when test="$level='5'">
			<xsl:text>color: </xsl:text><xsl:value-of select="$color"/><xsl:text>; font-style: normal; font-size: small; font-weight: 400</xsl:text>
		</xsl:when>
		<xsl:otherwise>
			<xsl:text>color: </xsl:text><xsl:value-of select="$color"/><xsl:text>; font-style: normal; font-size: small; font-weight: 300</xsl:text>
		</xsl:otherwise>
	</xsl:choose>
</xsl:template>

<xsl:template match="wkb:term">
	<xsl:variable name="style">
		<xsl:call-template name="get-style">
			<xsl:with-param name="level" select="@level"/>
			<xsl:with-param name="status" select="@status"/>
		</xsl:call-template>
	</xsl:variable>
	<li id="{@id}" style="{$style}">
		<xsl:if test="@level &gt; 1">
			<xsl:text>NT: </xsl:text>
		</xsl:if>
		<xsl:if test="@level = 1">
			<xsl:text>TT: </xsl:text>
		</xsl:if>
		<b>
			<xsl:for-each select="wkb:name[@name-type='Base' and (not(@xml:lang) or @xml:lang=$language)]">
				<xsl:value-of select="."/>
				<xsl:if test="not(position() = last())">
					<xsl:text> / </xsl:text>
				</xsl:if>
			</xsl:for-each>
		</b>
		<xsl:if test="wkb:name[@name-type='Qualification' and (not(@xml:lang) or @xml:lang=$language)]">
			<xsl:text> (</xsl:text><xsl:value-of select="wkb:name[@name-type='Qualification' and (not(@xml:lang) or @xml:lang=$language)]"/><xsl:text>)</xsl:text>
		</xsl:if>
		<xsl:if test="not($print-detail='true')">
			<tt  style="color: black; font-style: normal; font-size: xx-small; font-weight: 200">
				<xsl:text> [</xsl:text>
				<xsl:value-of select="@id"/>
				<xsl:text>]</xsl:text>
			</tt>
		</xsl:if>
		<xsl:if test="wkb:cu-info">
			<table border="0" width="100%" cellspacing="0" cellpadding="0">
				<xsl:apply-templates select="wkb:cu-info"/>
			</table>
		</xsl:if>
		<xsl:variable name="bt" select="key('assocBt', @id)"/>
		<xsl:variable name="rt" select="key('assocRt', @id)"/>
		<xsl:variable name="do-print-detail">
			<xsl:choose>
				<xsl:when test="count($rt/self::*) &gt; 0">true</xsl:when>
				<xsl:when test="count($bt/self::*) &gt; 0">true</xsl:when>
				<xsl:when test="wkb:name[(not(@xml:lang) or @xml:lang=$language) and not(@name-type='Base' or @name-type='Qualification')]">true</xsl:when>
				<xsl:when test="not($hierarchical='true') and (@level &gt; '1')">true</xsl:when>
				<xsl:when test="wkb:scope-note[not(@xml:lang) or @xml:lang=$language]">true</xsl:when>
				<xsl:when test="not($print-detail='true')">false</xsl:when>
				<xsl:otherwise>true</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>
		<xsl:if test="$do-print-detail='true'">
			<xsl:call-template name="print-term-detail">
				<xsl:with-param name="rt" select="$rt"/>
				<xsl:with-param name="bt" select="$bt"/>
			</xsl:call-template>
		</xsl:if>
	</li>
</xsl:template>

<xsl:template match="wkb:cu-info">
	<tr>
		<td colspan="1" style="width: 75%">
			<xsl:if test="wkb:classification-comment">
				<xsl:choose>
					<xsl:when test="wkb:classification-comment[@xml:lang=$language]">
						<xsl:value-of select="wkb:classification-comment[@xml:lang=$language]"/>
					</xsl:when>
					<xsl:otherwise>
						<xsl:value-of select="wkb:classification-comment[1]"/>
					</xsl:otherwise>
				</xsl:choose>
				<xsl:text>, </xsl:text>
			</xsl:if>
			<xsl:choose>
				<xsl:when test="wkb:cu-name[@xml:lang=$language]">
					<xsl:value-of select="wkb:cu-name[@xml:lang=$language]"/>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="wkb:cu-name[1]"/>
				</xsl:otherwise>
			</xsl:choose>
		</td>
		<td colspan="1" style="width: 25%">
			<xsl:call-template name="print-cu-reference"/>
		</td>
	</tr>
</xsl:template>

<xsl:template name="print-cu-reference">
	<xsl:choose>
		<xsl:when test="wkb:cu-reference/@xsi:type='wkb:ContentReferenceBronsType'">
			<xsl:text>BRONS: </xsl:text>
			<xsl:value-of select="wkb:cu-reference/@wkb:lexit-nr"/>
			<xsl:if test="wkb:classification-comment">
				<xsl:text>.</xsl:text>
				<xsl:value-of select="substring-before(substring-after(wkb:classification-comment/@href,').teller('),')')"/>
			</xsl:if>
		</xsl:when>
		<xsl:when test="wkb:cu-reference/@xsi:type='wkb:ContentReferenceSigmaLinkType'">
			<xsl:text>SigmaLink: </xsl:text>
			<xsl:value-of select="wkb:cu-reference/@wkb:obj-id"/>
			<xsl:if test="wkb:classification-comment">
				<xsl:text>.</xsl:text>
				<xsl:value-of select="substring-before(substring-after(wkb:classification-comment/@href,').Anchor('),')')"/>
			</xsl:if>
		</xsl:when>
		<xsl:otherwise>
			<xsl:value-of select="substring-after(wkb:cu-reference/@href,'#')"/>
		</xsl:otherwise>
	</xsl:choose>
</xsl:template>

<xsl:template name="print-term-detail">
	<xsl:param name="rt"/>
	<xsl:param name="bt"/>
	<!--xsl:variable name="style">
		<xsl:call-template name="get-style">
			<xsl:with-param name="level" select="@level + 1"/>
			<xsl:with-param name="status" select="@status"/>
		</xsl:call-template>
	</xsl:variable>
	<ul style="{$style}"-->
	<ul>
		<xsl:if test="$print-detail='true'">
			<li>
				<xsl:text>id = </xsl:text><xsl:value-of select="@id"/>
				<xsl:text>; level = </xsl:text><xsl:value-of select="@level"/>
				<xsl:if test="not(@classifying='true')">
					<xsl:text>; None classifying term</xsl:text>
				</xsl:if>
				<xsl:if test="@leaf='true'">
					<xsl:text>; Leaf node term</xsl:text>
				</xsl:if>
				<xsl:if test="@status">
					<xsl:text>; status = </xsl:text><xsl:value-of select="@status"/>
				</xsl:if>
				<xsl:for-each select="wkb:characteristics/wkb:property">
					<xsl:text>; </xsl:text><xsl:value-of select="@id"/>
					<xsl:text> = </xsl:text><xsl:value-of select="."/>
				</xsl:for-each>
			</li>
		</xsl:if>
		<xsl:for-each select="wkb:name[(not(@xml:lang) or @xml:lang=$language) and not(@name-type='Base' or @name-type='Qualification')]">
			<xsl:sort select="@name-type"/>
			<xsl:sort select="translate(wkb:value,$lc,$uc)"/>
			<xsl:apply-templates select="."/>
		</xsl:for-each>
		<xsl:if test="not($hierarchical='true')">
			<xsl:apply-templates select="key('assocNt', @id)" mode="asNT"/>
		</xsl:if>
		<xsl:if test="count($rt/self::*) &gt; 0">
			<xsl:call-template name="print-RT-assoc">
				<xsl:with-param name="assoc" select="$rt"/>
				<xsl:with-param name="my-id" select="@id"/>
			</xsl:call-template>
		</xsl:if>
		<xsl:apply-templates select="wkb:scope-note[not(@xml:lang) or @xml:lang=$language]"/>
		<xsl:choose>
			<xsl:when test="$hierarchical='true'">
				<xsl:apply-templates select="$bt" mode="asBTHierarchy"/>
			</xsl:when>
			<xsl:otherwise>
				<xsl:apply-templates select="$bt" mode="asBT"/>
			</xsl:otherwise>
		</xsl:choose>
	</ul>
</xsl:template>

<xsl:template match="wkb:scope-note">
	<li>SN: <xsl:value-of select="."/></li>
</xsl:template>

<xsl:template match="wkb:association" mode="asNT">
	<li>
		<xsl:text>BT: </xsl:text>
		<xsl:call-template name="print-term-reference">
			<xsl:with-param name="term" select="key('termId', wkb:member[@role='BT']/wkb:term-reference/@id)"/>
		</xsl:call-template>
	</li>
</xsl:template>

<xsl:template match="wkb:association" mode="asBT">
	<xsl:for-each select="key('termId', wkb:member[@role='NT']/wkb:term-reference/@id)[contains($print-status ,@status)]">
		<li>
			<xsl:text>NT: </xsl:text>
			<xsl:call-template name="print-term-reference">
				<xsl:with-param name="term" select="."/>
			</xsl:call-template>
		</li>
	</xsl:for-each>
	<xsl:if test="count(key('termId', wkb:member[@role='NT']/wkb:term-reference/@id)[contains($print-status ,@status)])=0">
		<li/>
	</xsl:if>
</xsl:template>

<xsl:template match="wkb:association" mode="asBTHierarchy">
	<xsl:variable name="nts" select="key('termId', wkb:member[@role='NT']/wkb:term-reference/@id)"/>
	<xsl:for-each select="$nts/self::wkb:term[contains($print-status ,@status) and wkb:name[@name-type='Base' and (not(@xml:lang) or @xml:lang=$language)]]">
		<xsl:sort select="translate(wkb:name[@name-type='Base' and (not(@xml:lang) or @xml:lang=$language)]/wkb:value,$lc,$uc)"/>
		<xsl:apply-templates select="self::wkb:term"/>
	</xsl:for-each>
	<xsl:if test="count($nts/self::wkb:term[contains($print-status ,@status) and wkb:name[@name-type='Base' and (not(@xml:lang) or @xml:lang=$language)]]) = 0">
		<xsl:text>.</xsl:text>
	</xsl:if>
</xsl:template>

<xsl:template name="print-RT-assoc">
	<xsl:param name="assoc"/>
	<xsl:param name="my-id"/>
	<xsl:variable name="rtt-key" select="$assoc/self::*/wkb:member[@role='RT'][not(wkb:term-reference/@id=$my-id)]/wkb:term-reference/@id"/>
	<xsl:variable name="rtt" select="key('termId', $rtt-key)"/>
	<xsl:variable name="RT-name">
		<xsl:text>RT</xsl:text>
		<xsl:if test="not(($assoc/@sub-type='See Also') or (string-length($assoc/@sub-type)=0))">
			<xsl:text>[</xsl:text><xsl:value-of select="$assoc/@sub-type"/><xsl:text>]</xsl:text>
		</xsl:if>
	</xsl:variable>
	<xsl:choose>
		<xsl:when test="count($rtt) = 0"><li><b><xsl:value-of select="$RT-name"/></b><xsl:text>: NOT FOUND - key[</xsl:text><xsl:value-of select="$rtt-key"/><xsl:text>]</xsl:text></li></xsl:when>
		<xsl:when test="count($rtt/self::wkb:term[contains($print-status ,@status) and wkb:name[@name-type='Base' and (not(@xml:lang) or @xml:lang=$language)]])=0">
			<li>
				<xsl:value-of select="$RT-name"/><xsl:text>: No basename for RT[</xsl:text><xsl:value-of select="$rtt-key"/><xsl:text>] in the desired language[</xsl:text><xsl:value-of select="$language"/><xsl:text>]</xsl:text>
			</li>
		</xsl:when>
		<xsl:otherwise>
			<xsl:for-each select="$rtt/self::wkb:term[contains($print-status ,@status) and wkb:name[@name-type='Base' and (not(@xml:lang) or @xml:lang=$language)]]">
				<xsl:sort select="translate(wkb:name[@name-type='Base' and (not(@xml:lang) or @xml:lang=$language)]/wkb:value,$lc,$uc)"/>
				<li>
					<xsl:value-of select="$RT-name"/><xsl:text>: </xsl:text>
					<xsl:call-template name="print-term-reference">
						<xsl:with-param name="term" select="."/>
					</xsl:call-template>
				</li>
			</xsl:for-each>
		</xsl:otherwise>
	</xsl:choose>
</xsl:template>

<xsl:template name="print-term-reference">
	<xsl:param name="term"/>
	<a href="#{$term/@id}">
		<xsl:for-each select="$term/wkb:name[@name-type='Base' and (not(@xml:lang) or @xml:lang=$language)]/wkb:value">
			<xsl:value-of select="."/>
			<xsl:if test="not(position() = last())">
				<xsl:text> / </xsl:text>
			</xsl:if>
		</xsl:for-each>
	</a>
</xsl:template>

<xsl:template match="wkb:name">
	<xsl:variable name="t">
		<xsl:choose>
			<xsl:when test="@name-type='Abbreviation'">Abbreviation</xsl:when>
			<xsl:when test="@name-type='Short'">Short</xsl:when>
			<xsl:otherwise>UF</xsl:otherwise>
		</xsl:choose>
	</xsl:variable>
	<li><i><xsl:value-of select="$t"/></i>: <xsl:value-of select="wkb:value"/></li>
</xsl:template>

</xsl:stylesheet><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2005. Progress Software Corporation. All rights reserved. --><!-- Stylus Studio meta-information - (c) 2004-2007. Progress Software Corporation. All rights reserved.

<metaInformation>
	<scenarios>
		<scenario default="yes" name="sr" userelativepaths="yes" externalpreview="no" url="..\..\WKB\SubjectRegister\Report\thesaurus-nl.xml" htmlbaseurl="" outputurl="..\..\WKB\SubjectRegister\Report\thesaurus-nl.xhtml" processortype="saxon8"
		          useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath=""
		          postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator="">
			<advancedProp name="sInitialMode" value=""/>
			<advancedProp name="bSchemaAware" value="true"/>
			<advancedProp name="bXsltOneIsOkay" value="true"/>
			<advancedProp name="bXml11" value="false"/>
			<advancedProp name="iValidation" value="0"/>
			<advancedProp name="bExtensions" value="true"/>
			<advancedProp name="iWhitespace" value="0"/>
			<advancedProp name="sInitialTemplate" value=""/>
			<advancedProp name="bTinyTree" value="true"/>
			<advancedProp name="bUseDTD" value="false"/>
			<advancedProp name="bWarnings" value="true"/>
			<advancedProp name="iErrorHandling" value="fatal"/>
		</scenario>
		<scenario default="no" name="hr" userelativepaths="yes" externalpreview="no" url="..\..\WKB\EIP\SOCO\20060711\thesaurus.xml" htmlbaseurl="" outputurl="..\..\WKB\EIP\SOCO\20060711\thesaurus-h.html" processortype="saxon8" useresolver="yes"
		          profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""
		          validateoutput="no" validator="internal" customvalidator="">
			<parameterValue name="hierarchical" value="'true'"/>
			<parameterValue name="language" value="'nl'"/>
			<advancedProp name="sInitialMode" value=""/>
			<advancedProp name="bSchemaAware" value="true"/>
			<advancedProp name="bXsltOneIsOkay" value="true"/>
			<advancedProp name="bXml11" value="false"/>
			<advancedProp name="iValidation" value="0"/>
			<advancedProp name="bExtensions" value="true"/>
			<advancedProp name="iWhitespace" value="0"/>
			<advancedProp name="sInitialTemplate" value=""/>
			<advancedProp name="bTinyTree" value="true"/>
			<advancedProp name="bUseDTD" value="false"/>
			<advancedProp name="bWarnings" value="true"/>
			<advancedProp name="iErrorHandling" value="fatal"/>
		</scenario>
		<scenario default="no" name="wkit5713" userelativepaths="yes" externalpreview="no" url="..\..\Documents\TenForce\Services\LTRE\CERES\Schema\WKIT\thes5173.xml" htmlbaseurl=""
		          outputurl="..\..\Documents\TenForce\Services\LTRE\CERES\Schema\WKIT\thes5173.html" processortype="saxon8" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath=""
		          additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator="">
			<parameterValue name="hierarchical" value="'true'"/>
			<parameterValue name="language" value="'it'"/>
			<advancedProp name="sInitialMode" value=""/>
			<advancedProp name="bSchemaAware" value="true"/>
			<advancedProp name="bXsltOneIsOkay" value="true"/>
			<advancedProp name="bXml11" value="false"/>
			<advancedProp name="iValidation" value="0"/>
			<advancedProp name="bExtensions" value="true"/>
			<advancedProp name="iWhitespace" value="0"/>
			<advancedProp name="sInitialTemplate" value=""/>
			<advancedProp name="bTinyTree" value="true"/>
			<advancedProp name="bUseDTD" value="false"/>
			<advancedProp name="bWarnings" value="true"/>
			<advancedProp name="iErrorHandling" value="fatal"/>
		</scenario>
		<scenario default="no" name="wkit5057" userelativepaths="yes" externalpreview="no" url="..\..\Documents\TenForce\Services\LTRE\CERES\Schema\WKIT\thes5057.xml" htmlbaseurl=""
		          outputurl="..\..\Documents\TenForce\Services\LTRE\CERES\Schema\WKIT\thes5057.html" processortype="saxon8" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath=""
		          additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator="">
			<parameterValue name="hierarchical" value="'true'"/>
			<parameterValue name="language" value="'it'"/>
			<advancedProp name="sInitialMode" value=""/>
			<advancedProp name="bSchemaAware" value="true"/>
			<advancedProp name="bXsltOneIsOkay" value="true"/>
			<advancedProp name="bXml11" value="false"/>
			<advancedProp name="iValidation" value="0"/>
			<advancedProp name="bExtensions" value="true"/>
			<advancedProp name="iWhitespace" value="0"/>
			<advancedProp name="sInitialTemplate" value=""/>
			<advancedProp name="bTinyTree" value="true"/>
			<advancedProp name="bUseDTD" value="false"/>
			<advancedProp name="bWarnings" value="true"/>
			<advancedProp name="iErrorHandling" value="fatal"/>
		</scenario>
		<scenario default="no" name="wkit4657" userelativepaths="yes" externalpreview="no" url="..\..\Documents\TenForce\Services\LTRE\CERES\Schema\WKIT\thes4657.xml" htmlbaseurl=""
		          outputurl="..\..\Documents\TenForce\Services\LTRE\CERES\Schema\WKIT\thes4657.html" processortype="saxon8" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath=""
		          additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator="">
			<parameterValue name="hierarchical" value="'true'"/>
			<parameterValue name="language" value="'it'"/>
			<advancedProp name="sInitialMode" value=""/>
			<advancedProp name="bSchemaAware" value="true"/>
			<advancedProp name="bXsltOneIsOkay" value="true"/>
			<advancedProp name="bXml11" value="false"/>
			<advancedProp name="iValidation" value="0"/>
			<advancedProp name="bExtensions" value="true"/>
			<advancedProp name="iWhitespace" value="0"/>
			<advancedProp name="sInitialTemplate" value=""/>
			<advancedProp name="bTinyTree" value="true"/>
			<advancedProp name="bUseDTD" value="false"/>
			<advancedProp name="bWarnings" value="true"/>
			<advancedProp name="iErrorHandling" value="fatal"/>
		</scenario>
		<scenario default="no" name="wkit16128" userelativepaths="yes" externalpreview="no" url="..\..\Documents\TenForce\Services\LTRE\CERES\Schema\WKIT\thes16128.xml" htmlbaseurl=""
		          outputurl="..\..\Documents\TenForce\Services\LTRE\CERES\Schema\WKIT\thes16128.html" processortype="saxon8" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath=""
		          additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator="">
			<parameterValue name="hierarchical" value="'true'"/>
			<parameterValue name="language" value="'it'"/>
			<advancedProp name="sInitialMode" value=""/>
			<advancedProp name="bSchemaAware" value="true"/>
			<advancedProp name="bXsltOneIsOkay" value="true"/>
			<advancedProp name="bXml11" value="false"/>
			<advancedProp name="iValidation" value="0"/>
			<advancedProp name="bExtensions" value="true"/>
			<advancedProp name="iWhitespace" value="0"/>
			<advancedProp name="sInitialTemplate" value=""/>
			<advancedProp name="bTinyTree" value="true"/>
			<advancedProp name="bUseDTD" value="false"/>
			<advancedProp name="bWarnings" value="true"/>
			<advancedProp name="iErrorHandling" value="fatal"/>
		</scenario>
		<scenario default="no" name="wkit5058" userelativepaths="yes" externalpreview="no" url="..\..\Documents\TenForce\Services\LTRE\CERES\Schema\WKIT\thes5058.xml" htmlbaseurl=""
		          outputurl="..\..\Documents\TenForce\Services\LTRE\CERES\Schema\WKIT\thes5058.html" processortype="saxon8" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath=""
		          additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator="">
			<parameterValue name="hierarchical" value="'true'"/>
			<parameterValue name="language" value="'it'"/>
			<advancedProp name="sInitialMode" value=""/>
			<advancedProp name="bSchemaAware" value="true"/>
			<advancedProp name="bXsltOneIsOkay" value="true"/>
			<advancedProp name="bXml11" value="false"/>
			<advancedProp name="iValidation" value="0"/>
			<advancedProp name="bExtensions" value="true"/>
			<advancedProp name="iWhitespace" value="0"/>
			<advancedProp name="sInitialTemplate" value=""/>
			<advancedProp name="bTinyTree" value="true"/>
			<advancedProp name="bUseDTD" value="false"/>
			<advancedProp name="bWarnings" value="true"/>
			<advancedProp name="iErrorHandling" value="fatal"/>
		</scenario>
		<scenario default="no" name="wke-thes-04-es" userelativepaths="yes" externalpreview="no" url="..\..\Documents\TenForce\Services\LTRE\CERES\Schema\WKES\TH0000000004_rels_sax.xml" htmlbaseurl=""
		          outputurl="..\..\Documents\TenForce\Services\LTRE\CERES\Schema\WKES\thes04es.html" processortype="saxon8" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath=""
		          additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator="">
			<parameterValue name="hierarchical" value="'true'"/>
			<parameterValue name="language" value="'es'"/>
			<advancedProp name="sInitialMode" value=""/>
			<advancedProp name="bSchemaAware" value="true"/>
			<advancedProp name="bXsltOneIsOkay" value="true"/>
			<advancedProp name="bXml11" value="false"/>
			<advancedProp name="iValidation" value="0"/>
			<advancedProp name="bExtensions" value="true"/>
			<advancedProp name="iWhitespace" value="0"/>
			<advancedProp name="sInitialTemplate" value=""/>
			<advancedProp name="bTinyTree" value="true"/>
			<advancedProp name="bUseDTD" value="false"/>
			<advancedProp name="bWarnings" value="true"/>
			<advancedProp name="iErrorHandling" value="fatal"/>
		</scenario>
		<scenario default="no" name="tax16128" userelativepaths="yes" externalpreview="no" url="..\..\Documents\TenForce\Services\LTRE\CERES\OpCo\WKI\20070521\Tax_16128\Tax_16128.xml" htmlbaseurl=""
		          outputurl="..\..\Documents\TenForce\Services\LTRE\CERES\OpCo\WKI\20070521\Tax_16128\Tax_16128.html" processortype="saxon8" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline=""
		          additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator="">
			<parameterValue name="hierarchical" value="'true'"/>
			<parameterValue name="language" value="'it'"/>
			<advancedProp name="sInitialMode" value=""/>
			<advancedProp name="bSchemaAware" value="true"/>
			<advancedProp name="bXsltOneIsOkay" value="true"/>
			<advancedProp name="bXml11" value="false"/>
			<advancedProp name="iValidation" value="0"/>
			<advancedProp name="bExtensions" value="true"/>
			<advancedProp name="iWhitespace" value="0"/>
			<advancedProp name="sInitialTemplate" value=""/>
			<advancedProp name="bTinyTree" value="true"/>
			<advancedProp name="bUseDTD" value="false"/>
			<advancedProp name="bWarnings" value="true"/>
			<advancedProp name="iErrorHandling" value="fatal"/>
		</scenario>
	</scenarios>
	<MapperMetaTag>
		<MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/>
		<MapperBlockPosition></MapperBlockPosition>
		<TemplateContext></TemplateContext>
		<MapperFilter side="source"></MapperFilter>
	</MapperMetaTag>
</metaInformation>
-->