XSLT ?

A

Andrew Neiderer

Thanks for the reply !

He is probably RIGHT.

Any thoughts on this as a possibility ?

Let my Java program, which I will edit to make as fast as possible,
generate the SVG (a 2D XML application) and use XSLT to update ?
Maybe this reduce the 10 second delay.

I don't know XSLT but will learn if this is a possibility.

- Andrew M. Neiderer
(e-mail address removed)


-----------------------------------------------------------

Subject: Re: binary XML ?

Andrew said:
I have written a Java application which generates lots (150 x 150) of
Scaleable Vector Graphics (SVG), which is a 2D XML application, <rect>s.
The problem is that it takes about 10 seconds to display the frame. I
need to approach real-time display if possible. So I thought a binary
representation of the data would speed it up.

Do you really think that the XML representation of your data is responsible
for the slow display ? I would rather guess that your Java implementation
of the display is to be blamed.
..
..
..
I bet that the bottleneck in your application is SVG, its interpretation and
the rest of the display process.
 
J

J??rgen Kahrs

Andrew said:
Let my Java program, which I will edit to make as fast as possible,
generate the SVG (a 2D XML application) and use XSLT to update ?

I am not sure if I understood your processing pipeline
correctly. Anyway, the idea to let an XSLT modify an
XML file in real-time (frame to frame) will lead you
into a dead end. XSL processors are simply too slow
for this. It's a waste of CPU power.
Maybe this reduce the 10 second delay.

I don't know XSLT but will learn if this is a possibility.

If you have to display things in real-time,
you should try to get rid of XML data.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top