Files
Facilitor/CUST/VGLD/xsl/Huuskes.xsl
Suzan Wiegerinck 7c4601302e VGLD#39269 OCI koppeling VGLD-Huuskes, reference toevoegen voor Facilitor ordernr
svn path=/Website/branches/v2016.3/; revision=33039
2017-03-04 15:19:25 +00:00

41 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" encoding="UTF-8"/>
<xsl:variable name="Rev">
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
<xsl:decimal-format name="european" decimal-separator="." grouping-separator=","/>
<xsl:param name="mode"/>
<xsl:template match="bestelopdracht">
<ordervalidaterequest xmlns="http://huib.huuskes.nl/ei" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://huib.huuskes.nl/ei/ordervalidaterequest.xsd">
<username>facilitor</username>
<password>vogel01</password>
<orderid><xsl:value-of select="bestelling/kenmerk[@naam='Orderid']"/></orderid>
<reference><xsl:value-of select="bestelling/key"/></reference>
</ordervalidaterequest>
</xsl:template>
<xsl:template match="facilitor">
<xsl:apply-templates select="bestelopdracht"/>
</xsl:template>
<xsl:template match="/">
<xsl:choose>
<xsl:when test="$mode='getExtension'">
<xsl:element name="format">
<xsl:element name="extension">xml</xsl:element>
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="facilitor"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>