Basically I wanted to control the display of records say 10 records each time using Next and Previous Links/Buttons - If I wanted to Pass the Parameters say M and N to XSLT so that It can transform those M and N Position records how can I pass the parameters outside xslt ? I've this code that does the transformation: TransformerFactory tFactory = TransformerFactory.newInstance(); Transformer transformer = tFactory.newTransformer(new StreamSource("file:///ManageAnywhere/CommInterface.xsl")); response.setContentType( "text/html" ); PrintWriter out = new PrintWriter( new BufferedWriter( response.getWriter() ) ); transformer.transform( new StreamSource(new StringReader(appEesm.process("DAJAMES"))), new StreamResult(out)); out.flush(); out.close(); any Idea arsalan
Mapraputa Is
Leverager of our synergies
Sheriff
Joined: Aug 26, 2000
Posts: 10065
posted
0
How do you pass a parameter depends on XSLT processor you use. Xalan, for example, provides Transformer�s setParameter(String name, Object value) method. Also, Arsalan, unfortunately your name doesn�t comply with our official policy on registered names. Please, use both your first and last name. We are glad to see you here, just a formality. [This message has been edited by Mapraputa Is (edited July 05, 2001).]