[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Hi,
I need some help on counters.
The following is the sample XML file
Should get turned into a XML like
So for each contact I should be able to display index=1, 2, 3 etc., I tried Position but I get always only one.
Thanks for your help.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
[xsl] Reg Counters
Subject: [xsl] Reg Counters From: "Lawrence Pravin" <pravinl@xxxxxxxxxxx> Date: Mon, 19 Mar 2001 19:30:19 |
Hi,
I need some help on counters.
The following is the sample XML file
<Message> <ListOfContact> <Contact> <Name>AAA</Name> <Phone>123</Phone> </Contact> <Contact> <Name>BBB</Name> <Phone>321</Phone> </Contact> <Contact> <Name>CCC</Name> <Phone>432</Phone> </Contact> </ListOfContact> </Message>
Should get turned into a XML like
<NewMessage> <ListOfContact> <Contact> <Name index="1">AAA</Name> <Phone>123</Phone> <Name index="2">BBB</Name> <Phone>321</Phone> <Name index="3">CCC</Name> <Phone>432</Phone> </Contact> </ListOfContact> </NewMessage>
So for each contact I should be able to display index=1, 2, 3 etc., I tried Position but I get always only one.
Thanks for your help.
Regards Lawrence.
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Reg Counters, Diamond, Jason | Thread | RE: [xsl] Reg Counters, Lawrence Pravin |
Re: [xsl] Is XSLT the right name?, Martin Stricker | Date | [xsl] Xalan C++ include files., Raj Avula |
Month |
Keywords