Alternatives to xml-stylesheet procssing instructions

J

Jon

I have experimented in the past with the <?xml-stylesheet ...?>
processing instruction with mixed success between different browsers
but my principle object to it is that it has to be embedded in the
prologue XML document itself. What I would like to be able to do is
to control the style sheet applied to an XML document as the browser
follows the link to that document from an HTML document. I have
looked at the syntax for the <a> and <link> HTML tags and am not
certain regarding this capability. Can anyone confirm whether this is
possible?

regards,

Jon Trauntvein
 
P

Pavel Lepin

Jon said:
I have experimented in the past with the <?xml-stylesheet
...?> processing instruction with mixed success between
different browsers but my principle object to it is that
it has to be embedded in the prologue XML document itself.
What I would like to be able to do is to control the style
sheet applied to an XML document as the browser follows
the link to that document from an HTML document.

Transform server-side and serve the results. That way you
have full control over the transformation you're using on
your source document, and can even parametrise the
transformation using the feedback from the client. This was
discussed recently in the thread 'Pushing multiple xml
through a xsl file to generate a single html page'.
I have looked at the syntax for the <a> and <link> HTML
tags and am not certain regarding this capability. Can
anyone confirm whether this is possible?

It's not.
 
J

Jon

Transform server-side and serve the results. That way you
have full control over the transformation you're using on
your source document, and can even parametrise the
transformation using the feedback from the client. This was
discussed recently in the thread 'Pushing multiple xml
through a xsl file to generate a single html page'.


Unfortunately, the server side is a datalogger with limited processing
power and memory so server side transformation does not appear to be
an option. Regardless, I thank you for your response.

Regards,

Jon Trauntvein
 
P

Pavel Lepin

Jon said:
Unfortunately, the server side is a datalogger with
limited processing power and memory so server side
transformation does not appear to be
an option. Regardless, I thank you for your response.

*shrug* Tools for tasks. If your datalogger is not powerful
enough for this, leave it to its datalogging and set up a
proper server that would yank your documents from the
datalogger, transform them and serve to the end-user.
 

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,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top