cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasha Joachimsthal" <j.joachimst...@hippo.nl>
Subject RE: sql Transformer missing sql namespace
Date Mon, 21 May 2007 20:25:20 GMT
Hi,

which application do you use to view the result? Firefox leaves away the namespace declaration
often unless you view the 'source'.

Jasha

-----Original Message-----
From:	Christoph Klocker [mailto:e0528012@student.tuwien.ac.at]
Sent:	Mon 5/21/2007 10:19 PM
To:	users@cocoon.apache.org
Cc:	
Subject:	Re: sql Transformer missing sql namespace

Hi, 
thats what i did, forgot to comment it out in my previous posting.
so, this leads to the same result, no sql namespace declaration.

<map:match pattern="userUris">
			 <map:generate src="sql/userUri.xml" />
			 <map:transform type="sql">
				<map:parameter name="use-connection" value="vedanova" />
				<map:parameter name="show-nr-of-rows" value="true"/> 
   				<map:parameter name="clob-encoding" value="UTF-8"/> 
   				<map:parameter name="userId" value="1"/> 
			 </map:transform>			
			  	<map:serialize type="xml" />   
			</map:match>

regards

On Monday 21 May 2007 22:13:19 Joerg Heinicke wrote:
> On 21.05.2007 21:56, Christoph Klocker wrote:
> > I am using the sql transformer. I have the problem that the resulting xml
> > is missing the xmlns:sql declaration.
>
> Sorry, but this makes me laughing :) I only know the effect that the
> namespace declaration is coming out twice.
>
> Can you try it without the xslt transformation after it, so serializing
> directly to XML?
>
> Regards
> Joerg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org





Mime
View raw message