[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|