POV-Ray : Newsgroups : povray.off-topic : The trouble with XSLT : Re: The trouble with XSLT Server Time
29 Jul 2024 08:10:37 EDT (-0400)
  Re: The trouble with XSLT  
From: clipka
Date: 21 Feb 2012 04:36:42
Message: <4f4365aa$1@news.povray.org>
Am 20.02.2012 17:21, schrieb Invisible:
> OK, so I've written a program that generates a bunch of XML as output.
> If you open that in a web browser, it shows up as a simple parse tree.
> Which is OK, but a little verbose.
>
> Fortunately, using the wonders of XSL (specifically, XSLT) you can have
> the browser transform the raw XML into a pretty-looking XHTML document.
>
> But *only* if you edit the original XML file to mention the XSLT file
> that you want to apply.

Why does this come as such a surprise to you?

Remember that the same thing is common practice for HTML and CSS as 
well: If you want the HTML to be rendered using a particular style 
sheet, you'll usually specify that in the HTML header.

I'm not sure whether all modern browsers support client-supplied CSS, 
but I wouldn't be surprised if there were still some out there that 
don't. For instance I have no idea how to choose a custom CSS in 
Firefox; you can disable all CSS, or choose which of multiple 
server-supplied CSS to use, but that seems to be about it.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.