Hi,
 
1. Can I use normal Java Servlets instead of Producers or XSP to create my XML pages to work with Cocoon? If yes, where do I need to place them in the Cocoon file structure?
 
 
2. Say my XML page is as follows:
 
 <SUPPLIER>
<NAME>sName</NAME>
<ADDRESS>sAddress</ADDRESS>
<PRODUCT>sProduct</PRODUCT>
....
 </SUPPLIER>
 
I now want to give users the option of viewing in HTML/PDF. How can I apply different XSL to the same XML file, say when the user clicks on a particular button (View in HTML/View in PDF)?
 
Thanks
Hema

Reply via email to