on 09-05-2006 5:46 AM
Hi All,
I am new to the XI technology I have the some doubts on XSLT Mapping.
1. What is the use of XSLT Mapping.
2. Where we can mapp in XI.
Please send explaining step by step scenario of XSLT
Thanks & Regards,
Satish.
Hi Satish,
I thought i will start of from scratch.Mapping is basically done to convert one form of xml into another form. This can be done using either of them mentioned below.
- Graphical mapping
- XSLT mapping
- JAVA mapping
- ABAP mapping
There is no hard and fast rule for using the mapping techniques. But, I will try to put things in the right perspective for you.
Graphical Mapping is used for simple mapping cases. When, the logic for your mapping is simple and straight forward and it does not involve any complex logic.
Java and XSLT mapping are used when graphical mapping cannot help you.
When the choice is between Java And XSLT, XSLT is simpler than java mapping and easier. But, it has its drawbacks. One among them being that you cannot use Java APIs and Classes in it. There might be cases in your mapping when you will have to perfrom something like a properties file look up or a DB lookup, such scenarios are not possible in XSLT and so, when you want to use some specific Java API's you will have to go for Java Mapping.
So we conclude that,XSLT mapping is generally done when you cannot run a scenario using graphical mapping which is always preferable.
Some of the scenario's are:
1. Nested structure: In case of multiple nested structure especially in ccase of IDocs, we use XSLT mapping
2. Maintaining the sequence of the input structure: If you want to maintain the sequence of the data fromt he incoming file.
Both these senarios can be done by Java mapping also... but the choice to use which as i told is with you...
Also Go through these links along with those provided by others...
http://www.zvon.org/xxl/XSLTutorial/Output/index.html
http://www.topxml.com/xsl/tutorials/intro/default.asp
http://nwalsh.com/docs/tutorials/xsl/
For info on XSLT Mapping, check out this link,
http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
for info on the XSL specification, check this link,
I hope it helps....
Regards,
Abhy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
XSLT is used to transform one XML structure to another XML structure, and you could use it in in complex mappings where you cannot use graphical mapping.
<b>XSLT tutorial</b> can be found here:
http://www.w3schools.com/xsl/default.asp
Some blogs on sdn on xslt mapping:
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
Also see this blog on how to <b>activate XSLT mapping</b> in the Integration repository of XI
/people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please refer to this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/83/2200cb50d345c793336d9a1683163e/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/a4/64b93d0d4e6b3be10000000a114084/frameset.htm
/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
Thanks and Regards,
Sudheer.
https://weblogs.sdn.sap.com/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.