Subject: Re: [design question]
From: "TP" <tpass001@xxxxxxxxxxx>
Date: Wed, 5 Feb 2003 07:58:59 -0600
|
> I have a servlet based application where the servlet recieves xml from
> another application and then uses xalan to transform that xml to html
using
> xsl on the server side.
>
> Now all that goes through to the browser is html so every transaction
using
> the mvc pattern has a stylesheet associated with it. The problem is that
now
> my stylesheets are too huge. One of them for example has 1653 lines, which
> is difficult to maintain, even though templated and also I am not sure
what
> it does for the loading time of each stylesheet before transformation.
Right
> now I dont see any problem but i was wondering whether I could improve
this
> design.
>
> Could I use import/include to put all the javascript in a separate .js
file
> and include it when the stylesheet loads. Would this slow down or fasten
the
> process.
>
> Could I do the same for templates in the stylesheets, for example, each
> stylesheet has a status bar, I could put that in a status.xsl and
> include/import on it later.
>
> Notice that I use import/include because I dont know what the difference
is.
> Can someone please tell me which is faster.
>
> Thanks in advance.
>
> TP.
Jeni, Micheal, Tobias any ideas/suggestions.
Thanks.
TP.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- RE: is XSLT 2.0 implementable? (was: N : M transformation), (continued)
- Michael Kay - Tue, 4 Feb 2003 06:12:22 -0500 (EST)
- David Carlisle - Tue, 4 Feb 2003 07:18:19 -0500 (EST)
- Michael Kay - Tue, 4 Feb 2003 09:07:24 -0500 (EST)
- TP - Tue, 4 Feb 2003 09:35:22 -0500 (EST)
- TP - Wed, 5 Feb 2003 08:57:02 -0500 (EST) <=
- Jeni Tennison - Wed, 5 Feb 2003 09:28:00 -0500 (EST)
- Tobias Reif - Tue, 4 Feb 2003 09:49:27 -0500 (EST)
- Michael Kay - Tue, 4 Feb 2003 12:25:09 -0500 (EST)
- Jeff Kenton - Tue, 4 Feb 2003 12:38:56 -0500 (EST)
|
|