xsl-list
[Top] [All Lists]

Re: XSL Queries

2006-02-07 07:34:36
On 2/7/06, manoj kumar <b_manoj(_at_)india(_dot_)com> 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

--~------------------------------------------------------------------
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>