<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet exclude-result-prefixes="xsl fmrs fml fmq" version="1.0" xmlns:fml="http://www.filemaker.com/fmpxmllayout" xmlns:fmq="http://www.filemaker.com/xml/query" xmlns:fmrs="http://www.filemaker.com/xml/fmresultset" xmlns:fmxslt="xalan://com.fmi.xslt.ExtensionFunctions" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<?xslt-cwp-query params="-db=WebRSP&-lay=Invulscherm&-grammar=fmresultset&-encoding=UTF-8"?>
<xsl:param name="authenticated-xml-base-uri"/>
<xsl:param name="request-query"/>
<!--Include utility / error stylesheets-->
<xsl:include href="utilities.xsl"/>
<xsl:include href="errorreply.xsl"/>
<!--Request layout XML grammar for value lists-->
<xsl:variable name="layout-uri" select="concat($authenticated-xml-base-uri, '/fmi/xml/FMPXMLLAYOUT.xml?-db=', $_query-params[@name = '-db'], '&-lay=', $_query-params[@name = '-lay'], '&-view=')"/>
<xsl:variable name="valuelists" select="document($layout-uri)/fml:FMPXMLLAYOUT/fml:VALUELISTS/fml:VALUELIST"/>
<!--Retrieve the stored find request from the session-->
<xsl:variable name="stored-find">
<xsl:call-template name="get-stored-find"/>
</xsl:variable>
<xsl:output encoding="UTF-8" indent="yes" method="html"/>
<xsl:template match="/fmrs:fmresultset">
<xsl:choose>
<!--Display Error Reply-->
<xsl:when test="$_errorcode != $_errorcode-none and $_errorcode != $_errorcode-no-records">
<xsl:call-template name="display-error-reply"/>
</xsl:when>
<!--Display Add Record-->
<xsl:otherwise>
<html>
<head>
<title>Add Record</title>
<style type="text/css">
<xsl:comment>
.stijl1 {
font-size: 10px;
font-family: Arial, Helvetica, sans-serif;
}
.stijl2 {
font-family: Arial, Helvetica, sans-serif; font-size: 12px;
}
.stijl3 {font-family: Arial, Helvetica, sans-serif}
</xsl:comment>
</style>
</head>
<body bgcolor="#ffffff" text="#000000">
<xsl:comment>Navigation Menu</xsl:comment>
<xsl:comment>Page Description</xsl:comment>
<xsl:comment>Page Body</xsl:comment>
<p class="stijl1">To apply for a Radboud Scholarship, please fill in the following fields. By clicking on the print screen-button below, you can print the form and send it to the International Office. You can find the address on the form. All fields must be filled in in order for us to be able to process your application. Your application can only be processed once we have received a signed paper version of the request form.</p>
<form method="post" target="_blank" onsubmit="return validate_form(this)">
<xsl:attribute name="action">browserecord.xsl</xsl:attribute>
<input name="-db" type="hidden" value="{fmrs:datasource/@database}"/>
<input name="-lay" type="hidden"><xsl:attribute name="value">Invulscherm</xsl:attribute></input>
<input name="-grammar" type="hidden" value="fmresultset"/>
<table width="100%" class="stijl1">
<xsl:comment>Display record field values</xsl:comment>
<tr>
<td align="left" width="35%">
<p >Desired Master's Programme: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='Categorie|Programma']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<select style="width: 400px;">
<xsl:attribute name="name">Categorie|Programma(<xsl:value-of select="position()"/>)</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Master|Programma']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<select style="width: 400px;">
<xsl:attribute name="name">Categorie|Programma</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Master|Programma']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Family name: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='AanvrNaam']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">AanvrNaam(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">AanvrNaam</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Initials: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='AanvrVoorv']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">AanvrVoorv(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">AanvrVoorv</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Official first name(s) as in passport: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='AanvrVoornamen']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">AanvrVoornamen(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">AanvrVoornamen</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >First name by which you want to be known: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='AanvrRoepnaam']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">AanvrRoepnaam(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">AanvrRoepnaam</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Gender: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='AanvrGeslacht']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<select size="1">
<xsl:attribute name="name">AanvrGeslacht(<xsl:value-of select="position()"/>)</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Gender']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<select size="1">
<xsl:attribute name="name">AanvrGeslacht</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Gender']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Date of birth: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='AanvrGebDag']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<select size="1">
<xsl:attribute name="name">AanvrGebDag(<xsl:value-of select="position()"/>)</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Dag']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<select size="1">
<xsl:attribute name="name">AanvrGebDag</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Dag']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:otherwise>
</xsl:choose>
<span >(day) </span>
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='AanvrGebMaand']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<select size="1">
<xsl:attribute name="name">AanvrGebMaand(<xsl:value-of select="position()"/>)</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Maand']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<select size="1">
<xsl:attribute name="name">AanvrGebMaand</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Maand']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:otherwise>
</xsl:choose>
<span > (month) </span>
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='AanvrGebJaar']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<select size="1">
<xsl:attribute name="name">AanvrGebJaar(<xsl:value-of select="position()"/>)</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Jaar geboorte']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<select size="1">
<xsl:attribute name="name">AanvrGebJaar</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Jaar geboorte']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:otherwise>
</xsl:choose>
<span >(year) </span> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Place of birth: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='AanvrGebPlaats']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="30" type="text">
<xsl:attribute name="name">AanvrGebPlaats(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="30" type="text">
<xsl:attribute name="name">AanvrGebPlaats</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose>
<span > (city)</span>
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='AanvrGebLandCode']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<select style="width: 130px;">
<xsl:attribute name="name">AanvrGebLandCode(<xsl:value-of select="position()"/>)</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Landcode|Engels']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<select style="width: 130px;">
<xsl:attribute name="name">AanvrGebLandCode</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Landcode|Engels']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:otherwise>
</xsl:choose>
<span > (country) </span> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Marital status: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='AanvrBurgStaat']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<select size="1">
<xsl:attribute name="name">AanvrBurgStaat(<xsl:value-of select="position()"/>)</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Burg Staat']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<select size="1">
<xsl:attribute name="name">AanvrBurgStaat</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Burg Staat']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Nationality: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='AanvrNationaliteitsCode']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<select size="1">
<xsl:attribute name="name">AanvrNationaliteitsCode(<xsl:value-of select="position()"/>)</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Nationaliteitscode|Engels']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<select size="1">
<xsl:attribute name="name">AanvrNationaliteitsCode</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Nationaliteitscode|Engels']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Permanent address </p> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >(Street and number) </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='btlAdres1']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">btlAdres1(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">btlAdres1</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Address line 2: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='btlAdres2']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">btlAdres2(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">btlAdres2</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >City: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='btlAdres3Plaats']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">btlAdres3Plaats(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">btlAdres3Plaats</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Postal code: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='btlAdres3Postcode']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">btlAdres3Postcode(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">btlAdres3Postcode</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Address line 4: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='btlAdres4']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">btlAdres4(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">btlAdres4</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Country code: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='btlAdres5LandCode']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<select size="1">
<xsl:attribute name="name">btlAdres5LandCode(<xsl:value-of select="position()"/>)</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Landcode|Engels']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<select size="1">
<xsl:attribute name="name">btlAdres5LandCode</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Landcode|Engels']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Telephone number: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='btlTelnrStudent_LandCode']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="5" type="text">
<xsl:attribute name="name">btlTelnrStudent_LandCode(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="5" type="text">
<xsl:attribute name="name">btlTelnrStudent_LandCode</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose>
<span >telnr2: </span>
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='btlTelnrStudent_Plaats']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="5" type="text">
<xsl:attribute name="name">btlTelnrStudent_Plaats(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="5" type="text">
<xsl:attribute name="name">btlTelnrStudent_Plaats</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose>
<span>telnr3: </span>
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='btlTelnrStudent_AbonneeNr']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="10" type="text">
<xsl:attribute name="name">btlTelnrStudent_AbonneeNr(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="10" type="text">
<xsl:attribute name="name">btlTelnrStudent_AbonneeNr</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Mobile/cellphone number: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='btlTelnrStudentMobiel_Land']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="5" type="text">
<xsl:attribute name="name">btlTelnrStudentMobiel_Land(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="5" type="text">
<xsl:attribute name="name">btlTelnrStudentMobiel_Land</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose>
<span >mobile2: </span>
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='btlTelnrStudentMobiel_Plaats']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="5" type="text">
<xsl:attribute name="name">btlTelnrStudentMobiel_Plaats(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="5" type="text">
<xsl:attribute name="name">btlTelnrStudentMobiel_Plaats</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose>
<span >mobile3: </span>
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='btlTelnrStudentMobiel_AbonneeNr']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="10" type="text">
<xsl:attribute name="name">btlTelnrStudentMobiel_AbonneeNr(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="10" type="text">
<xsl:attribute name="name">btlTelnrStudentMobiel_AbonneeNr</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Email address: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='btlEmailStudent']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">btlEmailStudent(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">btlEmailStudent</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Full name university (code): </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='UniversiteitsCode']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<select size="1">
<xsl:attribute name="name">UniversiteitsCode(<xsl:value-of select="position()"/>)</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Universiteitscode']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<select name="select" size="1">
<xsl:attribute name="name">UniversiteitsCode</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Universiteitscode']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >University city: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='UniversiteitsStad']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">UniversiteitsStad(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">UniversiteitsStad</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >University country code: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='UniversiteitsLandCode']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<select size="1">
<xsl:attribute name="name">UniversiteitsLandCode(<xsl:value-of select="position()"/>)</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Landcode|Engels']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<select size="1">
<xsl:attribute name="name">UniversiteitsLandCode</xsl:attribute>
<option value="">Select One</option>
<xsl:for-each select="$valuelists[@NAME = 'Landcode|Engels']/fml:VALUE">
<option>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/> </option>
</xsl:for-each>
</select>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Faculty: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='UniversiteitFaculteit']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">UniversiteitFaculteit(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">UniversiteitFaculteit</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Field of study: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='UniversiteitStudy']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">UniversiteitStudy(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">UniversiteitStudy</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Highest degree completed or in progress at home university: </p> </td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='Universiteithighest degree']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">Universiteithighest degree(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">Universiteithighest degree</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<tr>
<td align="left" width="25%">
<p >Did you or will you also apply for another scholarship: </p>
</td>
<td align="left">
<span>HSP:</span>
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='Categorie|Finbron|HSP']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text" value="yes">
<xsl:attribute name="name">Categorie|Finbron|HSP(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="checkbox" value="yes">
<xsl:attribute name="name">Categorie|Finbron|HSP</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose>
<span > STUNED: </span>
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='Categorie|Finbron|STUNED']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text" value="yes">
<xsl:attribute name="name">Categorie|Finbron|STUNED(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="checkbox" value="yes">
<xsl:attribute name="name">Categorie|Finbron|STUNED</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose>
<span >NFP: </span>
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='Categorie|Finbron|NFP']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text" value="yes">
<xsl:attribute name="name">Categorie|Finbron|NFP(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="checkbox" value="yes">
<xsl:attribute name="name">Categorie|Finbron|NFP</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose>
<span > Other, namely: </span> </td></tr>
<tr>
<td align="left" width="25%">
</td>
<td align="left">
<xsl:variable name="field-value" select="fmrs:resultset/fmrs:record/fmrs:field[@name='Categorie|Finbron|Other namely']/fmrs:data"/>
<xsl:choose>
<xsl:when test="$_found-count>0 and string-length($field-value)>0">
<xsl:for-each select="$field-value">
<xsl:if test="position() != 1"><br/></xsl:if>
<input size="50" type="text">
<xsl:attribute name="name">Categorie|Finbron|Other namely(<xsl:value-of select="position()"/>)</xsl:attribute>
</input>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<input size="50" type="text">
<xsl:attribute name="name">Categorie|Finbron|Other namely</xsl:attribute>
</input>
</xsl:otherwise>
</xsl:choose> </td>
</tr>
<xsl:comment>Display record form controls</xsl:comment>
<tr>
<td align="right"><xsl:text disable-output-escaping="yes">&nbsp;</xsl:text></td>
<td>
<br/>
<input name="-new" type="submit" id="Submit" onsubmit="return validate_form(this)">
<xsl:attribute name="value">Save Record</xsl:attribute>
</input>
<xsl:text> </xsl:text>
<br/> </td>
</tr>
</table>
</form>
<hr/>
</body>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>