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
Hi John,
This clears things up quite a bit. What I understand now, is the following (see my comments)
<%@ page contentType='x-application/xslt' %>
<?xml-stylesheet href='xslt/dev.xsl'?>
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?
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XHTML html validation, Abel Braaksma | Thread | Re: [xsl] XHTML html validation, Owen Rees |
Re: [xsl] Books on XSLT/XPATH, Evan Lenz | Date | Re: [xsl] Books on XSLT/XPATH, Dimitre Novatchev |
Month |