[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] group by number
Hi I have an xml file which looks pretty much like this: <items> <item>1</item> <item>2</item> <item>3</item> <item>4</item> <item>5</item> <item>6</item> <item>7</item> <item>8</item> <item>9</item> </items> I am planning to use XSLT to convert it to an xml file which should look like this: <group id="1"> <item>1</item> <item>2</item> <item>3</item> </group> <group id="2"> <item>4</item> <item>5</item> <item>6</item> </group> <group id="3"> <item>7</item> <item>8</item> <item>9</item> </group> Each group node should contain three item nodes. How should I do this with XSLT? Cheers, Andreas XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|