[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] website and jsp
Dave Pawson <dpawson@nildram.co.uk> writes: > At 09:32 30/06/2004, Arnaud Vandyck wrote: >>I'd like to use jsp's in my website and I use the website >>stylesheets. The problem is I don't know how to embed the jsp tags. I >>already made some php and the processing tags works well. > http://www.dpawson.co.uk/xsl/sect4/N9767.html may help. The first one could work but I don't really like it. My problem is when you generate an xhtml page (with docbook stylesheet), you don't have the <jsp:root> element, and as I use the xml style for writting jsp's, it does not work. I was thinking about a <webpage> argument like 'type="jsp"' org something and instead of: <?xml version="1.0" encoding="US-ASCII"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta content="Website XSL Stylesheet V2.5.0" name="generator" /> <blablabla/> I would have something like: <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"> <jsp:directive.page contentType="text/html;charset=utf-8"/> <jsp:text> <html> <head> <meta content="Website XSL Stylesheet V2.5.0" name="generator" /> <blablabla/> Is this possible? Am I more clear? I don't even know if the idea is good! Maybe it's better to generate jsp only website, so I could override docbook-website's stylesheets... At the moment, I mix xhtml and jsp's. Do you think it'd be easier to have only jsp's? any ideas? any one interesting with this? Cheers, -- Arnaud Vandyck This is Unix we're talking about, remember. It's not supposed to be nice for the applications programmer. -- Matthew Danish on debian-devel
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]