Have a look on the output of the render-logic5.xsl transformation. You have maybe kicked the sql:* elements out of your XML.

Joerg

Paul Tomsic wrote:
I'm trying to import a static XML file into the
results of my SQL call. Here's my sitemap.xmap block:
<map:match pattern="ameddReportByBDE/*.pdf">
<map:generate type="request"/>
<map:transform type="xslt" src="render-logic.xsl">
<map:parameter name="label" value="{1}"/>
</map:transform>
<map:transform type="xinclude"/>


<map:transform type="xslt" src="render-logic.xsl"/>
<map:transform type="xinclude"/>

<map:transform type="xslt" src="render-logic5.xsl">   
<map:parameter name="label" value="{1}"/>
</map:transform>
<map:transform type="sql">
                                        <map:parameter name="dburl"
value="jdbc:mysql://localhost/amedd?user=admin&amp;password=alpha"
/>
                                </map:transform>
<map:transform type="xinclude"/>                        

<!--

<map:transform src="ameddReportByBDE.xsl"/>

                                <map:serialize type="fo2pdf"/>
-->
                        <map:serialize type="xml"/>
        </map:match>

and inside render-logic5.xsl, I've got :
        
<xsl:template match="mops:report-sql">
                <mops:report-xinclude-headlines>
                        <xi:include>
                                <xsl:attribute name="href">reports/<xsl:value-of
select="$label"/>/headlines.xml#xpointer(/headlines)</xsl:attribute>
                        </xi:include>                     
                </mops:report-xinclude-headlines>
        </xsl:template>

but my final XML only includes the "included" xml, and
not the results from the sql query.

Help?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to