Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Pro-JSP 2nd Edition - Filtering and CSS


Message #1 by fmunafo@c... on Fri, 8 Jun 2001 10:59:35
both could be on the client, at least in theory.
It is faulty anyway, as CSS is quite capable of working on XML, if the
client supports it (I have done it myself as a test).

> -----Original Message-----
> From: fmunafo@c... [mailto:fmunafo@c...]
> Sent: Friday, June 08, 2001 11:00
> To: Pro_JavaServer_Pages
> Subject: [pro_jsp] Pro-JSP 2nd Edition - Filtering and CSS
>
>
> Chapter 14, pag. 520, "Mapping Requests Throught a Filter Chain":
> '[...] For example, imagine a filter that transforms XML data from a
> resource to HTML via an XSLT (a stylesheet language for XML), and another
> filter that translates the HTML document via CSS1 (another stylesheet
> language, typically for HTML). If we place the XSLT filter first in the
> chain, the XML resource will be translated to HTML, and subsequently
> formatted by the CSS1 filter. If we place the CSS1 filter first, however,
> it will not work on the XML data. As a result, only the XSLT
> transformation will be applied in this chain. [...]'
>
> I don't thing that this example is right.
> The question is: how can a filter (server-side process) be involved in
> formatting HTML using CSS (client-side or browser-side process)?
>
> Filippo
> 

  Return to Index