Skip to Content
author's profile photo Former Member
Former Member

XSLT mapping problem


Im doign xslt mapping in XI bw two structures..while doing htis i have come across a requirment, where i have to map different values to nodes which are repeating in different sub structures.

Ex: source structure and target structure are same..


















In this each <fltno>,<fltname> nodes have seperate values...

I have mapped 'fltno' under each sub structure using this statement.

<xsl:value-of select=".//*[local-name() = 'fltno'

Here problem is in target structure it is getting same 'fltno' under all structures. it means it will be passing the value of 'fltno' under first structure(Pflight) to all the <fltno> nodes.

But my requirment is <Pflight>, <Wflight>, <Rflight> have seperate 'fltno' and they should get their own value in target structure.

Can somebody help me.....Really Appreciated

Thanks And Regards


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 30, 2007 at 10:47 AM

    Use the whole path or a partial path which is unique:

    <xsl:value-of select="/Flight/Pflight/fltno">


    <xsl:value-of select="//Pflight/fltno">

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.