Alex Vishnev wrote:

>Marcelo,
>
>What is dbprism? Is this your software? If Not, can you reply with URL to
>it.  Where can I find dbprism/excel.xsl?
>
>
>TIA
>Alex
>
>
>
>
  DB Prism is at plenix web site:

http://www.plenix.com/dbprism/

  At this moment this site do not include excel.xsl because is a new 
files wich came with 2.0.0-alpha version to be released this week.
  I attached this file.
  Best regards, Marcelo.

PD: DB Prism 2.0.0 is working with Cocoon 2.0.0rc2 release and it works 
as a Custom Generator (db generator) generating the XML in the database 
side.

-- 
Marcelo F. Ochoa - [EMAIL PROTECTED]
Do you Know DB Prism? Look @ http://www.plenix.com/dbprism/
More info?
Chapter 21 of the book "Professional XML Databases" (Wrox Press 
http://www.wrox.com/)
Chapter 8 of the book "Oracle & Open Source" (O'Reilly 
http://www.oreilly.com/catalog/oracleopen/)
-----------------------------------------------
Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN
Paraje Arroyo Seco - Campus Universitario
(7000) Tandil - Bs. AS. - Argentina
Te: +54-2293-444430 Fax: +54-2293-444431



<?xml version="1.0"?>
<!-- Written by Marcelo F. Ochoa "[EMAIL PROTECTED]" -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
  <xsl:template match="/">
   <xsl:processing-instruction name="cocoon-format">type="application/vnd.ms-excel"</xsl:processing-instruction>
   <html>
	<table>
	   <tr><th>Emp Number</th><th>Name</th><th>Job</th><th>Sal</th></tr>
           <xsl:for-each select="ROWSET/ROW">
              <xsl:sort select="sal"
                          data-type="number"
                          order="ascending"/>
	      <tr>
                <td><xsl:value-of select="@empno"/></td>
                <td><xsl:value-of select="name"/></td>
                <td><xsl:value-of select="job"/></td>
                <td><xsl:value-of select="sal"/></td>
	      </tr>
           </xsl:for-each>
	</table>
   </html>
  </xsl:template>
</xsl:stylesheet>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to