XSLT SCENARIO

/* Below is the conversion XSLT code , it will fetch data from XML and display */

<xsl:stylesheet version=”2.0″
xmlns:xsl=”http://www.w3.org/1999/XSL/Transform”
xmlns:soap-env=”http://schemas.xmlsoap.org/soap/envelope/”
xmlns:ns4=”http://bradycorp.com/integration/boomi/Quote/”
xmlns:ns2=”http://www.w3.org/2001/XMLSchema-instance”
xmlns:ns1=”http://schemas.xmlsoap.org/soap/envelope/”>

Dear
,

Thank you for your enquiry!

This quotation is valid for 14 days from quotation date. Please review details and contact our Quotes &amp; Specials Team to place your order on freephone telephone number 0800 585 501 or 01295 226677 or by sending an email to quotes@seton.co.uk. When placing your order please quote your unique Quotation number below to qualify for these prices.

If we can be of any further assistance, please do not hesitate to contact us.

Seton Quotes &amp; Specials Team

Tel: 0800 585 501

Email: quotes@seton.co.uk

OUR QUOTATION NUMBER QUOTATION DATE CUSTOMER REFERENCE NUMBER
Customer Account Number:

Quote Prepared For:

Delivery Address:

Delivery Method:

Carrier:
Terms:
Payment Information:

Terms:
Currency:

If paid by credit card; payment taken at time of despatch.

ITEM NUMBER &amp; DESCRIPTION QTY UOM LIST PRICE NET PRICE NET TOTAL
Line Number:

Product Code:

Your Part Number:

Product Desc:


Ship To PO #:

Ship-to:

£€$

 

£€$

£€$

£€$

Net Total:
Estimated Shipping &amp; Handling:

VAT:

Quote Total:

£€$

£€$

£€$

£€$

Important Information

Code Execute:

TransformXML(S1,S2)
Applies an XSL transform to an XML document.
%%= TransformXML(GetPortfolioItem(“XML Name”),GetPortfolioItem(“XSL Name”)) =%%
@XML : XML file will be getting from DE dynamically.
%%=treatascontent (TransformXML(@XML,GetPortfolioItem(“XSL”)))=%%
To test XSLT code in browser use below link.
First Box: should use XML Code input
Second Box: Should use XSL Code and click on Run Transformation button once run successfully click on Open Result button.

URL: http://xslttest.appspot.com/

Sample XML CODE : Click here

Output: Click here

Leave a comment

Create a free website or blog at WordPress.com.

Up ↑