thanks :) I'm trying to use sourcewrite with XSP here is the source: ( i'm getting to variable termo the query parameter from form, then I'll merge the term with a search URL, fetch the XML data and put it into the source:fragment down there)
<?xml version="1.0" encoding="ISO-8859-1"?> <xsp:page language="java" xmlns:xsp="http://apache.org/xsp"> <xsp:logic> String termo = request.getParameter("query"); </xsp:logic> <source:write xmlns:source="http://apache.org/cocoon/source/1.0"> <source:source>teste.xml</source:source> <source:fragment><page><xsp:expr>termo</xsp:expr></page></source:fragment> </source:write> </xsp:page> message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error while instantiating org\apache\cocoon\www\pubmed\xsp\pa_xsp: java.lang.NullPointerException I'll try your sugestion, thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]