Hi,
>From reading the javadoc in the org.apache.struts2.views.xslt package,
I believe yet another option would be to create a custom AdapterNode
class for your Book object and register it with the XSLT AdapterFactory. If
I read it correctly, Struts2 would use your BookAdapterNode class to render
the XML. If you named your method, getBooks, this may give you the xml that you
are looking for.
Does anyone of you understand how I can register the custom
AdapterFactory? The Javadoc says I have to call the register method in
AdapterFactory, but where in my code do I do this... where is it
instantiated? Any ideas?
Matthias
--
-------------------------------------------------------------------
Matthias Fischer Fon: +49-7541-6047-148
doubleSlash Net-Business GmbH Fax: +49-7541-6047-111
Müllerstr. 12 B [EMAIL PROTECTED]
D-88045 Friedrichshafen http://doubleSlash.de
-------------------------------------------------------------------
doubleSlash Net-Business GmbH
Geschäftsführung: Konrad Krafft, Oliver Belikan, Jan Schubert
Sitz, Registergericht: Friedrichshafen, Amtsgericht Ulm HRB 631718
-------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]