OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] website and jsp

So there are two completely different approaches.

1. Customize the XSL stylesheet you are already using, which currently 
generates XHTML, and have it stick JSP tags inside the output.

2. Write a JSP which spits out an XSLT-generated-docbook inbewteen JSP tags.

Doesn't approach 2 requires the XSLT to read and parse the entire document 
before you can transform the subtree you wish to generate, for each page you 
wish to view?

Approach 2 will require a lot more server-side XSLT transformations, using a 
very complicated stylesheet, and possibly a HUGE document (even if you are 
only processing a small subtree, it still requires the parsing of the whole 

Approach 1, sticking a few XML-format JSP tags into the generated output and 
writing to a file with a .jsp extension instead of a .html extension, would 
be the most efficient use of CPU time, especially for large docbooks which do 
not change frequently.

Anyway, I've been thinking about this problem myself, but I have not solved it 
yet. I'm trying to use XSLTproc to generate JSP tags in the sheets.

On July 1, 2004 06:44 am, Michael Ostermeier wrote:
> Am Donnerstag, 1. Juli 2004 12:08 schrieb Arnaud Vandyck:
> > The idea was to perform transformation before so the page could be
> > generated faster, but maybe I'm wrong and the transform process is
> > really fast? I got to try this...
> the performance should propably be ok, I do a xml to fo to pdf transform
> with a filter... but if the transform is to slow, you might want to add
> cache for transformed pages in the filter...
> To unsubscribe from this list, send a post to
> docbook-apps-unsubscribe@lists.oasis-open.org, or visit
> http://www.oasis-open.org/mlmanage/.

S. Alan Ezust
Ottawa, Ontario, Canada

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]