You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Barbara Post <ba...@ifrance.com> on 2002/07/31 11:54:27 UTC

Re : xalan and request generator

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 <ba...@ifrance.com>
To: <co...@xml.apache.org>
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>