hi all,
       i m generating pdf by querying database using esql. here for a
particular value got from database table, i have to display some 
particular information. the xsp code contains:
-----------  
<perosn>
<esql:execute-query>
<esql:query>select * from person</esql:query>
<esql:results>
<esql:row-results>


<!--other codes-->

<para>
  <esql:get-string column="branch"/>
</para>

<!--other codes-->

</person>
-----------

while the xsl-fo file contains:
------------

<xsl:template match="person">

<!--other codes-->

  <xsl:choose>
   <xsl:when test="self::node()[para='CSE']">
        <fo:block font-size="13pt" font-family="serif">Computer Science
        </fo:block>
   </xsl:when>
  </xsl:choose>

</xsl:template>
----------------

In other words, i have to simply display "Computer Science" when the
value under 'para' node (queried from "branch" field in the database
table) equals "CSE".

But the output displays nothing....
This is a simple task, i suppose, & may be various methods to do this, but
this one is not working.
plz help me how can i do it.


ashish


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

Reply via email to