Hello Cocoon-Users,
I am currently writing a customized serializer (a binding for the
Antenna House XSL Formatter). For each serializer instance
I need some customized parameters, it might look like:
<map:serialize type="html" myparam1="value1" myparam2="value2"/>
I am relatively new to the component framework. Can anyone point
my out how to get the attributes from the component context?
It might also be possible to have nested elements instead of attributes:
<map:serialize type="html">
<myparam1>value1</myparam1>
<myparam2>value2</myparam2>
</map:serialize>
or just like in a transformer:
<map:transform src="context://stylesheets/system/status2html.xslt">
<map:parameter name="myparam1" value="value1"/>
<map:parameter name="myparam2" value="value2"/>
</map:transform>
I read lots of code, but I didnt find a clue. I liked the setup-method
used in the interface for
generator and transformer which provides access to a Map of Parameters,
but Serializer
doesnt have it.
Thank you very much,
Michael Wirz
--
abs IT Service GmbH
abs gruppe
Michael Wirz
Entwicklung
Landsberger Straße 57
82266 Stegen am Ammersee
Telefon: +49 (0)8143 999 43
Telefax: +49 (0)8143 999 49
[EMAIL PROTECTED]
www.eFonds24.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]