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

Re: XSL Queries

Subject: Re: XSL Queries
From: Jon Gorman <jonathan.gorman@xxxxxxxxx>
Date: Tue, 7 Feb 2006 08:34:36 -0600
Re:  XSL Queries
On 2/7/06, manoj kumar <b_manoj@xxxxxxxxx> 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 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 [Note XML file may vary].

Just a quick word since you seem to be going down the wrong path.  XSL
is used to transform a file from one format to another.    Hence there
is nothing like the XSL file you describe.  On the other hand, you can
generate a HTML file (which is what people often want to do) that
might look like that if it generates a page with the appropriate
javascript.

Google for a tutorial, what you want requires little code.  At the
same time it's hard to give good advice due to the fact I'm not sure
what approach to the resulting HTML code would fit your needs.


Jon Gorman

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.