Hello World BizTalk project. Gemaakt in BizTalk 2013 en omgezet naar 2016.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Shared.OrderStatus_to_ShipmentStatus.xsl 1.4KB

pirms 4 nedēļām
123456789101112131415161718192021222324252627282930313233343536373839
  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('TM.HelloBizTalk2013World', 'ESBLookupConnectionString2016')"/>
  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>