Hello World BizTalk project. Gemaakt in BizTalk 2013 en omgezet naar 2016.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.4KB

  1. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
  2. xmlns:ScriptNS0="http://schemas.microsoft.com/BizTalk/2003/ScriptNS0"
  3. xmlns:ScriptNS1="http://schemas.microsoft.com/BizTalk/2003/ScriptNS1"
  4. xmlns:DateTime="TM.Shared.Components.DateTime"
  5. xmlns:SSO="TM.Shared.Components.SSO"
  6. xmlns:String="TM.Shared.Components.String"
  7. xmlns:s0="http://TM.KLG.com/KLG/OrderStatus"
  8. xmlns:ns0="TM.HelloBizTalk2013World.Schemas"
  9. exclude-result-prefixes="s0 ScriptNS0 ScriptNS1 DateTime SSO String">
  10. <xsl:output omit-xml-declaration="yes" method="xml" version="1.0" indent="yes" />
  11. <xsl:variable name="connectionString" select="SSO:GetValue('HelloBizTalk2013World', 'ESBLookupConnectionString')"/>
  12. <xsl:template match="/">
  13. <xsl:apply-templates select="/s0:StatusReport" />
  14. </xsl:template>
  15. <xsl:template match="/s0:StatusReport">
  16. <ns0:ShipmentStatus>
  17. <ShipmentStatusReport>
  18. <ShipmentNumber>
  19. <xsl:value-of select="Status/ShipmentReference"/>
  20. </ShipmentNumber>
  21. <StatusCode>D</StatusCode>
  22. <StatusDateTime>
  23. <xsl:value-of select="Status/StatusTimeStamp"/>
  24. </StatusDateTime>
  25. <SignedBy />
  26. <Remarks />
  27. </ShipmentStatusReport>
  28. </ns0:ShipmentStatus>
  29. </xsl:template>
  30. </xsl:stylesheet>