RTF template coding, XSLT coding

Posted by sujith on Stack Overflow See other posts from Stack Overflow or by sujith
Published on 2011-01-01T03:21:10Z Indexed on 2011/01/01 11:54 UTC
Read the original article Hit count: 413

Filed under:
|
|

I have the below requirement

<data>
<dataset1>
     <number>1</number>
     <name>red</name>
     <number>2</number>
     <name>Yellow</name>
     <number>3</number>
     <name>black</name>
     <number>4</number>
     <name>Violet</name> 
</dataset1>

<dataset2>
     <index>1</index>
     <index>2</index>
     <index>3</index>
     <index>4</index>
</dataset2>
</data> 

I need to loop through dataset2 take the index value, compare it with the value of number tag in dataset1. If a match occurs then display value of corresponding name tag. I need to get the output in rtf format. Please give BI tags or relevent xslt code to do the same. Thanks in advance.

© Stack Overflow or respective owner

Related posts about templates

Related posts about xslt