This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]