Subject: Re: [xsl] XHTML html validation|
From: John Steel <john.steel@xxxxxxxxxxxxxxx>
Date: Sat, 17 Feb 2007 12:05:38 +0000
Just developed from the examples here: http://www.caucho.com/resin-3.1/doc/xslt-filter.xtp
This clears things up quite a bit. What I understand now, is the following (see my comments)
<%@ page contentType='x-application/xslt' %>
This means that you are not using Resin at all for transformation. The browser does the transformation. With this instruction, you ask the browser to search on the path 'xslt/dev.xsl' (relative to the *.jsp file and available though http) to load and apply the dev.xsl file to the XML content of your page.No, resin does the tranformation - I suspect I screwed up in trying to create a smaller example then, for which I sincerely apologise. The test is to view the source in the browser - if the browser transforms, you'd see the xml structure, if it was the server you'd just see formed html right?