cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barbara Post" <bab...@ifrance.com>
Subject Re : xalan and request generator
Date Wed, 31 Jul 2002 09:54:27 GMT
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 <babs33@ifrance.com>
To: <cocoon-users@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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message