VGLD#39269 OCI koppeling VGLD-Huuskes
svn path=/Website/branches/v2016.3/; revision=32977
This commit is contained in:
39
CUST/VGLD/xsl/Huuskes.xsl
Normal file
39
CUST/VGLD/xsl/Huuskes.xsl
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
<?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>
|
||||||
|
</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>
|
||||||
Reference in New Issue
Block a user