Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9564

Re: B1if update sales order rows and insert new rows

$
0
0

Sorry,

 

but if you have no idea of xsl transformation, it will be really difficult.

 

You must work with apply templates in the transform tag of your atom.

 

You can find everywhere online good xsl transfortmation definitions and tutorials online.

 

Here is a samle code:

<xsl:template name="transform">

        <xsl:apply-templates select="/vpf:Msg[1]/vpf:Body/vpf:Payload[./@id=&apos;atom41&apos;]/*"/>

    </xsl:template>

    <xsl:template match="node() | @*">

        <xsl:copy>

            <xsl:apply-templates select="node() | @*"/>

        </xsl:copy>

    </xsl:template>

    <xsl:template match="Comment">

        <xsl:copy>

            <xsl:value-of                select="/vpf:Msg[1]/vpf:Body/vpf:Payload[./@id=&apos;atom16&apos;]/DATA/MAIN/Document/Comment"

            />

        </xsl:value>       

    </xsl:template>

The apply-template is on your reciever atom.

Then you match the Comment-tag.

The xsl:copy copies the Comment-Element and with xsl:value of you can copy your value from another tag in an atom.

 

You must have activate WebDav in the xcellerator.config to get access to the atoms.


Viewing all articles
Browse latest Browse all 9564

Trending Articles