[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL Queries

Subject: Re: XSL Queries
From: Andrew Franz <afranz0@xxxxxxxxxxxxxxxx>
Date: Sat, 11 Feb 2006 16:52:05 +1100
Re:  XSL Queries
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@xxxxxxxxx

Thanks in Advance,
Manoj

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.