[Home] [By Thread] [By Date] [Recent Entries]

Subject: Adding child element based on attribute value [XSLT 1.0]
From: pankaj.c@xxxxxxxxxxxxxxxxxx
Date: Sat, 8 Jan 2011 17:20:42 +0530
Hello all,

Is there a way if I have XML.

<my_group count=3/>

The output I am expecting is adding child element based on value of 
@count.

Output something like

<my_group count="3">
        <group name="type1"/>
        <group name="type2"/>
        <group name="type3"/>
</mygroup>

Any ideas will be highly appreciated.

Best,

Pankaj

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member