Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Best way to display a large XML Best way to display a large XMLTo: NULL Date: 1/6/2009 7:58:00 AM Hi, I have a reasonably large XML file created for an image processing experiment, and have been displaying them using XSL. However since there are quite a few of them, what I want to be able to do is show a few of these objects at a time, e.g. 10 at a time. Below is an example of the XML sheet; <Objects> <object> <index>4</index> <picture>Object4.jpg</picture> <pixels>99</pixels> <bottom>83 337</bottom> <top>88 354</top> </object> <object> <index>5</index> <picture>Object5.jpg</picture> <pixels>621</pixels> <bottom>100 424</bottom> <top>154 472</top> </object> <object> <index>7</index> <picture>Object7.jpg</picture> <pixels>1344</pixels> <bottom>104 429</bottom> <top>149 468</top> </object> <object> <index>15</index> <picture>Object15.jpg</picture> <pixels>251</pixels> <bottom>112 348</bottom> <top>128 367</top> </object> <object> <index>18</index> <picture>Object18.jpg</picture> <pixels>1146</pixels> <bottom>121 280</bottom> <top>159 318</top> </object> </Objects> As you can see, the index isn't sequential in the XML, this is since the code that generates XML pages stores all the 'objects', but only some of them are relevant to the display, so those are displayed in the XML. I am not looking for anything pretty, but it needs to be simple since I don't have time to start implementing anything major. Is this possible in XSL? If anyone knows a suitable tutorial that shows someone doing something similar then that might help. Thank you Martin | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
