Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Best way to display a large XML

From: rudigarude@----------.---
To: 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



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent