Hi,

You can have a look to the paragraph 2 to this page :
http://wiki.apache.org/lenya/DebuggingTips.

You will not see the output in your browser, but the stream after you
tranformer will be write in a file on your FS.

HTH

++

On Tue, 28 Jul 2009 02:36:28 -0700 (PDT), Frank Hamilton
<[email protected]> wrote:
> Hello,
> 
> 
> I need to see the result of a query in xml. This consultation is carried
> out
> through a sql transformer. This is my sitemaps:
> 
> <map:match pattern="fichasDestacadas-**.xml" >
>               <map:generate src="cocoon:/sqlFichas.xml"/>
>               <map:transform src="xslt/presentacionFichas.xsl">
>                       <map:parameter name="prefix" value="{1}"/>
>               </map:transform>
>               <map:serialize type="xhtml"/>
>       </map:match>
> 
>     </map:pipeline>
>          
>      <map:pipeline>
>             <map:match pattern="sqlFichas.xml">
>                 <map:generate src="fichasSql.xml"/>
>                 <map:transform type="sql">
>                     <map:parameter name="use-connection"
> value="PinturexBDConnection" />
>                     <map:parameter name="show-nr-of-rows" value="true"/>
>                     <map:parameter name="clob-encoding" value="UTF-8"/>
>                     <map:parameter name="uuid"
> value="{page-envelope:document-uuid}"/>    
>                     <map:parameter name="language"
> value="{page-envelope:document-language}"/>     
>                 </map:transform>
>                 <map:serialize type="xhtml"/>
>             </map:match>
>         </map:pipeline>
> 
> 
> I tried to get an  <map:serialize type="xml"/> for a xml output but not
as
> shown in my browser. I use this path in my browser:
> http://localhost:port/pub-id/area/sqlFichas.xml .
> 
> 
> You can tell me how he could see the outcome of the  query through xml in
> my
> browser.
> 
> Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to