Santiago,
I think it is better if you just update the EcsStylesheetElement properly,
I don't think using SimpleTransform in ECSStylesheet element or somewhere
else as a wrapper for the standard XML API is necessary. I think it is ok
to call the standard XML API from the EcsStylesheetElement directly. Using
the SimpleTransform class does not seem a lot simpler than just using the
XML APIs.
Best regards,
Thomas
Thomas Schaeck
Portal Architect
IBM Pervasive Computing Division
Phone: +49-(0)7031-16-3479 Mobile: +49-(0)171-6928407 e-mail:
[EMAIL PROTECTED] Fax: +49-(0)7031-16-4888
Address: IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032
Boeblingen, Germany
-----------------------------------
Santiago Gala wrote:
[EMAIL PROTECTED] wrote:
>
>
> Santiago,
>
> the EcsStyleSheet element works similarly to the EcsServletElement. The
> purpose of these classes is to allow for deferring exectution of a
> servlet/JSP or a stylesheet respectively until the ECS tree is traversed,
> so that the JSP or stylesheet processor can write directly to the output
> streem when it is time to do so instead of filling temporary buffers.
>
> Both the EcsStylesheetElement and the EcsServletElement are needed until
> we have template based, stream oriented aggregation with JSPs and
Velocity.
>
I understand it as: Please, don't do a dirty fix! :)
I'll commit a cleaned up version, possibly adding stream support to
SimpleTransform.java
and calling it from the EcsStyleSheet class.
I guess that, even if EcsStyleSheet is transient, stream support for
XSLT transformations will continue to be needed in the future.
Regards,
Santiago
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/jetspeed@list.working-dogs.com/>
List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/jetspeed@list.working-dogs.com/>
List Help?: [EMAIL PROTECTED]