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
 

-- 
View this message in context: 
http://www.nabble.com/SQL-Transform-tp24695844p24695844.html
Sent from the Lenya - Users mailing list archive at Nabble.com.


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

Reply via email to