Re: [xsl] Any samples of client-side XSLT to generate webpages?

Subject: Re: [xsl] Any samples of client-side XSLT to generate webpages?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 27 Jul 2004 16:48:53 +0100
  - works in Mozilla - currently need to manually add the '?transform=true',
  but I might automate this later
  - nothing visible (except background graphic) in IE

well this one is the easier of the two, probably
this one is an XHTML document served as text/html (no client side xslt)
so it will be handled by mozilla and IEs _HTML_ parser as such, things
<td class="box_right"/> <br/> etc
(any instance of /> ) are all syntax errors and so whatever the browser
does is just dependent on its error recovery, so its not surprising if
you get differing effects.

If you are generating html on the server, make sure your XSLT at that
end is generating _html_ (it will do this automatically if the top level
element is <html> in no-namespace).

  - works in IE
  - unable to submit form in Mozilla

This one is a bit harder It's served as text/xml (application/xml is
better) and claims to be (and is) utf-8 in its xml declaration.

the trouble is (I think, couldn't really check from here), after the
client side transform it's whatever encoding it's in after the transform
I understand that browsers are a little variable in what encoding they
use to return form data in these situations. When you say unable to
submit form in Mozilla do you mean that you don't get back the login
info that you expected or that you get nothing back, it may be worth
looking if you get data back in an unexpected encoding.


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

Current Thread