Re: [xsl] XSL Queries

Subject: Re: [xsl] XSL Queries
From: Jon Gorman <jonathan.gorman@xxxxxxxxx>
Date: Tue, 7 Feb 2006 08:34:36 -0600
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

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