xsl-list
[Top] [All Lists]

Re: XSL Queries

2006-02-10 22:52:05
Easy.

This should solve your problem:

<xsl:template match="bookstore">
<xsl:apply-templates select="book[(@author='Kay') or (@author='Tennyson')]" />
   <xsl:call-template name="diy" />
   <xsl:choose>
   <xsl:when test="($basics &gt;= 'understood')">
       <xsl:message terminate = "yes">Feel free to ask</xsl:message>
   </xsl:when>
   </xsl:choose>
</xsl:template>

<xsl:template match="book">
   <xsl:call-template name="read">
       <xsl:with-param name="effort">basics</xsl:with-param>
   </xsl:call-template>
</xsl:template>


manoj kumar wrote:

Hi everyone,

    I have an xml file with details
<orders>
<category type='shirt'>
<price>100</price>
</category>
<category type='Tshirt'>
<price>150</price>
</category>
<category type='Jeans'>
<price>500</price>
</category>
<category type='Pant'>
<price>750</price>
</category>
</orders>

     In an xsl file i have to list type of categories in left side on clicking=
 particular tag  the price details should be displayed on right. Give me a =
sample of this, so that i can develop  it further [

EX: click link pant should display 750 on right hand side

Please send to this email-ID :b_manoj(_at_)india(_dot_)com

Thanks in Advance,
Manoj





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>