on 12-18-2007 1:10 PM
Hi Experts,
for my diploma-thesis if have to write an value based XSLT Mapping for XI:
The source XML will look like this:
<order>
<orderNu> 123 </orderNu>
<article> jacket </article>
.
.
.
<size> S </size>
</order>
The target XML has to look like this:
<order>
<Order Number> 123 </Order Number>
<Article> jacket </Article>
.
.
.
<Size> Small </Size>
</order>
I was able to do the the Mapping with the tags form oderNU to Order Number but I have no idea how to map s to Small (bold).
Do you have any hints? I know its probably much easier to use the graphical Mapping, but it has to be in XSLT.
Thanks ans best Regars,
Sebastian
Edited by: Sebastian Geissler on Dec 18, 2007 2:30 PM
Hi,
U can do it with Choose......when fuctions in XSLT.
But go through this weblog by shabarish:
/people/shabarish.vijayakumar/blog/2006/04/12/if--else-if-and-xslt--a-better-work-around
He has given a very gud way of doing it.
Thanks,
Maheshwari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
please visit the blog
/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
in UnitOfMeasure[@type=$sapval]
you can set S as SMALL in value mapping of MSLT mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.