cocoon-users mailing list archives

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

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


-----Original Message-----
From:	Christoph Klocker []
Sent:	Mon 5/21/2007 10:19 PM
Subject:	Re: sql Transformer missing sql namespace

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:serialize type="xml" />   


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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message