Xml file structure:
<InvoiceAddress>
<Name>Salauddin Fashion House</Name>
<PostalCode>1219</PostalCode>
<City>Dhaka</City>
<CountryCode>BD</CountryCode>
</InvoiceAddress>
XML file Transformation code:
" if invoice tag not available
<tt:cond s-check="not-initial(ref('INVOICEADD'))">
" if name tag not available.
<tt:cond s-check="not-initial(ref('INVOICEADD.NAME'))">
<Name tt:value-ref="INVOICEADD.NAME"/>
</tt:cond>
" if name tag available.
<tt:cond s-check="initial(ref('INVOICEADD.NAME'))">
<Name tt:value-ref="INVOICEADD.NAME"/>
</tt:cond>
<tt:cond s-check="not-initial(ref('INVOICEADD.POSTALCODE'))">
<PostalCode tt:value-ref="INVOICEADD.POSTALCODE"/>
</tt:cond>
<tt:cond s-check="initial(ref('INVOICEADD.POSTALCODE'))">
<PostalCode tt:value-ref="INVOICEADD.POSTALCODE"/>
</tt:cond>
<tt:cond s-check="not-initial(ref('INVOICEADD.CITY'))">
<City tt:value-ref="INVOICEADD.CITY"/>
</tt:cond>
<tt:cond s-check="initial(ref('INVOICEADD.CITY'))">
<City tt:value-ref="INVOICEADD.CITY"/>
</tt:cond>
<tt:cond s-check="not-initial(ref('INVOICEADD.COUNTRYCODE'))">
<CountryCode tt:value-ref="INVOICEADD.COUNTRYCODE"/>
</tt:cond>
<tt:cond s-check="initial(ref('INVOICEADD.COUNTRYCODE'))">
<CountryCode tt:value-ref="INVOICEADD.COUNTRYCODE"/>
</tt:cond>
</tt:cond>
" if invoice tag available
<tt:cond s-check="initial(ref('INVOICEADD'))">
<InvoiceAddress>
<tt:cond s-check="not-initial(ref('INVOICEADD.NAME'))">
<Name tt:value-ref="INVOICEADD.NAME"/>
</tt:cond>
<tt:cond s-check="initial(ref('INVOICEADD.NAME'))">
<Name tt:value-ref="INVOICEADD.NAME"/>
</tt:cond>
<tt:cond s-check="not-initial(ref('INVOICEADD.POSTALCODE'))">
<PostalCode tt:value-ref="INVOICEADD.POSTALCODE"/>
</tt:cond>
<tt:cond s-check="initial(ref('INVOICEADD.POSTALCODE'))">
<PostalCode tt:value-ref="INVOICEADD.POSTALCODE"/>
</tt:cond>
<tt:cond s-check="not-initial(ref('INVOICEADD.CITY'))">
<City tt:value-ref="INVOICEADD.CITY"/>
</tt:cond>
<tt:cond s-check="initial(ref('INVOICEADD.CITY'))">
<City tt:value-ref="INVOICEADD.CITY"/>
</tt:cond>
<tt:cond s-check="not-initial(ref('INVOICEADD.COUNTRYCODE'))">
<CountryCode tt:value-ref="INVOICEADD.COUNTRYCODE"/>
</tt:cond>
<tt:cond s-check="initial(ref('INVOICEADD.COUNTRYCODE'))">
<CountryCode tt:value-ref="INVOICEADD.COUNTRYCODE"/>
</tt:cond>
</InvoiceAddress>
</tt:cond>
nice blog...The leading training concern THE CREATING EXPERTS are providing SELENIUM training and here is the link
ReplyDeletehttp://thecreatingexperts.com/selenium-training-in-chennai/
contact 8122241286
Thank you. sir, Really I like your post on sap remote access free.
ReplyDeleteSAP ABAP training is provided in CHENNAI.
ReplyDeleteTHE CREATING EXPERTS is one of the leading trainer in SAP who provides real time training
http://thecreatingexperts.com/sap-abap-training-in-chennai/
contact 8122241286
Thank you. It is such a wonderful post. it has great information it is very useful topic on sap remote access.
ReplyDeleteIt was Nice post and very useful information on sap hana server access, Follow this Post More Information.
ReplyDeleteThank you for Wonderful information.
ReplyDeleteSAP ABAP training in CHENNAI BY THE CREATING EXPERTS
http://thecreatingexperts.com/sap-abap-training-in-chennai/
CONTACT 8122241286
Informative post...for a long time I was searching for a trainer in Chennai
ReplyDeleteAnd i landed with THE CREATING EXPERTS one of the leading trainer with real time training in Chennai
http://thecreatingexperts.com/sap-abap-training-in-chennai/
contact 8122241286 for more info.
Sap abap training in chennai by the creating experts, are you in search of a real time trainer
ReplyDeleteTake a look at the link below
http://thecreatingexperts.com/sap-abap-training-in-chennai/
contact 8122241286
best Thank you for sharing valuable information. Nice post. I enjoyed reading this post.
ReplyDeleteطراحی سایت
طراحی وب سایت
سئو
طراحی سایت شرکتی
طراحی سایت ارزان
طراحی سایت فروشگاهی
طراحی سایت
طراحی وب سایت
سئو
طراحی سایت
Superb explanation & it's too clear to understand the concept as well, keep sharing admin with some updated information with right examples.Keep update more posts.
ReplyDeleteSAP MM Training in Chennai
SAP HR Training in Chennai
Thank you. sir, Really I like your post on sap video.
ReplyDeleteThankyou for wonderful article. It has more Information in Your Website sapvideos.
ReplyDeleteThank you. It is such a wonderful post. it has great information it is very useful for sap hana videos.
ReplyDeleteThankyou for Sharing Great Information. It is Very Helpful Information on sap video tutorials.
ReplyDelete
ReplyDeleteThank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
sap business intelligence solutions
nice course. thanks for sharing this post.
ReplyDeleteSAP ABAP Training institute in Delhi
دانلود قالب وردپرس
ReplyDeleteدانلود قالب فروشگاهي وردپرس
دانلود رايگان قالب وردپرس
دانلود افزونه وردپرس
املاک تبريز
املاک وليعصرتبريز
املاک ائل گلي تبريز
کانال تلگرام املاک تبريز
املاک تبريز118
ملک تبريز
جستجوي ملک روي نقشه تبريز
Great article with lots of useful informations. Amazing blog to read with huge updates. Awesome information.
ReplyDeleteSAP Training in Chennai
Java Training in Chennai
QTP Training in Chennai
Hardware and Networking Training in Chennai
SAP ABAP Training in Chennai
SAP FICO Training in Chennai
SAP SD Training in Chennai
SAP MM Training in Chennai
SAP PP Training in Chennai
AWS Training in Chennai