xsl-list
[Top] [All Lists]

[xsl] modify the tag name of a given List Node

2010-04-23 10:31:08
hi,


i got a node like this:

<keywordDetails>
        <key><label>PRP</label></key>
        <key><label>PRPI</label></key>
        <key><label>vf</label></key>
        <key><label>vfvfv</label></key>
        <key><label>dfvdv</label></key>
        <key><label>svddvvd</label></key>
</keywordDetails>

and i need to tranform it to  output like :

<keywordDetails>
        <key1><label>PRP</label></key1>
        <key2><label>PRPI</label></key2>
        <key3><label>vf</label></key3>
        <key4><label>vfvfv</label></key4>
        <key5><label>dfvdv</label></key5>
        <key6><label>svddvvd</label></key6>
</keywordDetails>

anybody have an idea about how to do that

and thanks


      

--~------------------------------------------------------------------
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>
--~--