cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT-Mapping

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (1)

Answers (1)

GabrielSagaya
Active Contributor
0 Kudos

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