CSUN#40729 -- Automatisering Facilitor koppelingen (bon PostNL)

svn path=/Website/branches/v2017.2/; revision=35763
This commit is contained in:
Arthur Egberink
2017-10-19 13:42:41 +00:00
parent 128fc90569
commit 9f737397ca

View File

@@ -1,40 +1,39 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<xsl:output method="xml" indent="yes" encoding="utf-8" /> <xsl:output method="xml" indent="yes" encoding="utf-8"/>
<xsl:decimal-format name="european" decimal-separator="," grouping-separator="." /> <xsl:decimal-format name="european" decimal-separator="," grouping-separator="."/>
<xsl:param name="mode" /> <xsl:param name="mode"/>
<xsl:variable name="Rev"> <xsl:variable name="Rev">
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)" /> <xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable> </xsl:variable>
<xsl:template match="werkorder"> <xsl:template match="werkorder">
<facilitor> <facilitor>
<xsl:element name="melding"> <xsl:element name="melding">
<xsl:attribute name="key"> <xsl:attribute name="key">
<xsl:value-of select="referencereq"/></xsl:attribute> <xsl:value-of select="referencereq"/>
<xsl:attribute name="type">insert</xsl:attribute> </xsl:attribute>
<datum><xsl:value-of select="concat(substring(senddate,7,4), '-', substring(senddate,4,2), '-', substring(senddate,1,2), 'T', substring(senddate,12,5))"/></datum> <xsl:attribute name="type">insert</xsl:attribute>
<stdmelding>41</stdmelding> <datum>
<locatiecode>ONBEKEND</locatiecode> <xsl:value-of select="concat(substring(senddate,7,4), '-', substring(senddate,4,2), '-', substring(senddate,1,2), 'T', substring(senddate,12,5))"/>
<omschrijving> </datum>
Extern nummer: <xsl:value-of select="referencereq"/> <stdmelding>41</stdmelding>
<locatiecode>ONBEKEND</locatiecode>
<omschrijving>Extern nummer: <xsl:value-of select="referencereq"/>
Melder: <xsl:value-of select="concat(requestorfirstname, ' ', requestorlastname)"/> Melder: <xsl:value-of select="concat(requestorfirstname, ' ', requestorlastname)"/>
Kostenplaats: <xsl:value-of select="costcenter"/> Kostenplaats: <xsl:value-of select="costcenter"/>
Telefoonnummer: <xsl:value-of select="telephonereq"/> Telefoonnummer: <xsl:value-of select="telephonereq"/>
Emailadres: <xsl:value-of select="emaildadres"/> Emailadres: <xsl:value-of select="emaildadres"/>
Omschrijving: <xsl:value-of select="description"/> Omschrijving: <xsl:value-of select="description"/>
Locatie: <xsl:value-of select="dimensioncode"/> Locatie: <xsl:value-of select="dimensioncode"/>
Ruimte: <xsl:value-of select="area"/> Ruimte: <xsl:value-of select="area"/></omschrijving>
</omschrijving> <kenmerk naam="Locatiecode klant">
</xsl:element> <xsl:value-of select="substring-before(dimensioncode, ' ')"/>
</facilitor> </kenmerk>
</xsl:template> </xsl:element>
</facilitor>
</xsl:template>
<xsl:template match="facilitor">
<xsl:copy-of select="."/>
</xsl:template>
<xsl:template match="facilitor">
<xsl:copy-of select="."/>
</xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
<!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2007. Progress Software Corporation. All rights reserved. --><!-- Stylesheet edited using Stylus Studio - (c) 2004-2009. Progress Software Corporation. All rights reserved. -->