XSLT nested list problem [modified]
-
Hi, I'm new to XSLT and i was hoping someone could point me in the right direction with the problem below... I have the following XML: <list level="1"> <item>1</item> <list level="2"> <item>1</item> <item>2</item> <item>3</item> </list> <item>2</item> </list> I would like to extract the nested list and insert it between item 1 and 2 of the parent list: <list level="1"> <item>1</item> </list> <list level="1"> <item>1</item> <item>2</item> <item>3</item> </list> <list level="1"> <item>2</item> </list> Any suggestions?
modified on Wednesday, February 25, 2009 11:14 AM
-
Hi, I'm new to XSLT and i was hoping someone could point me in the right direction with the problem below... I have the following XML: <list level="1"> <item>1</item> <list level="2"> <item>1</item> <item>2</item> <item>3</item> </list> <item>2</item> </list> I would like to extract the nested list and insert it between item 1 and 2 of the parent list: <list level="1"> <item>1</item> </list> <list level="1"> <item>1</item> <item>2</item> <item>3</item> </list> <list level="1"> <item>2</item> </list> Any suggestions?
modified on Wednesday, February 25, 2009 11:14 AM
PeOpLesChAmP wrote:
Any suggestions?
Check out www.w3schools.com. They have tutorials tailored for beginners as well as a complete reference.