xsl-list
[Top] [All Lists]

Question: Pairing sibling nodes

2005-11-15 01:35:36
Hi,

I have an xml fragment as following:

<PNR>

 <LNameInfo>
   <LName>A.</LName>
 </LNameInfo>

<LNameInfo>
   <LName>Smith</LName>
 </LNameInfo>

<LNameInfo>
   <LName>Johnson</LName>
 </LNameInfo>

<FNameInfo>
   <FName>Ahsan</LName>
 </FNameInfo>

<FNameInfo>
   <FName>Brad</FName>
 </FNameInfo>

<FNameInfo>
   <FName>Dave</FName>
 </FNameInfo>

</PNR>

I need to print the first Lname with the first Fname, and the second
with the second, and so on.

Any ideas on how to do this ?

Any help is appreciated.

Best Regards,

Ahsan A.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>