OK I have the solution : in the xsl declare "rg" namespace as http://xml.apache.org/cocoon/requestgenerator/2.0 and then prefix every element in xpath queries by it...
Learned something ! Barbara ----- Original Message ----- From: Barbara Post <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 31, 2002 11:41 AM Subject: xalan and request generator > Since the root of the document returned by <map:generate type="request"/> > contains xmlns declaration, my xpath query against this document does not > work. Using xalan 2.3.1. > > Any workaround ? or would need to have another stylesheet to move xmlns > declaration ? > > <?xml version="1.0" encoding="UTF-8"?> > <request xmlns="http://xml.apache.org/cocoon/requestgenerator/2.0" > target="/baepp/getcheckedplugs" source=""> > <requestHeaders> > > Thanks > > Barbara > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>