[xsl] Getting Node Name

Subject: [xsl] Getting Node Name
From: Mukul.Mudgal@xxxxxxxxxxx
Date: Fri, 24 May 2002 15:24:00 +0530
Hi all

Can I get the node name like this.

input file
 <AccountDetails>
    <SortCode>1001</SortCode>
    <AccountNumber>1000</AccountNumber>
    <Name>Johan</Name>
    <Balance>12000</Balance>
    <Currency>EUR</Currency>
    <PrimaryAccount>Yes</PrimaryAccount>
  </AccountDetails>

Output file

<Node>AccountDetails</Node>
<Node>SortCode</Node>
<Node>AccountNumber</Node>
<Node>Name</Node>
<Node>Balance</Node>
<Node>Currency</Node>
<Node>PrimaryAccount</Node>



Thanks

Mukul Mudgal





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread