Hi All!
I try to configure a custom XSD scheme, and can't understand what need to put in the tag MessageId to get GUID of a created message?
what I try
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msg="http://schemas.microsoft.com/dynamics/2011/01/documents/Message"
xmlns:doc="http://schemas.microsoft.com/dynamics/2008/01/documents/SalesOrder">
<xsl:template match="/">
<SalesOrderUpdate>
<xsl:for-each select="/msg:Envelope/msg:Body/msg:MessageParts/doc:SalesOrder/doc:SalesTable">
<OrderHeader>
<MessageId><xsl:value-of select="msg:MessageId"/></MessageId> this not works
<MessageId><xsl:value-of select="/msg:MessageId"/></MessageId> this not works
and etc.
<SalesId><xsl:value-of select="doc:SalesId"/></SalesId> //this works
</OrderHeader>
</xsl:for-each>
</SalesOrderUpdate>
</xsl:template>
</xsl:stylesheet>
*This post is locked for comments
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156