Newbie XML/XSL question
-
I am doing a simple task where I am trying to create a table of cars with co lumn headers such as model, make, color etc and then have details of the dif ferent cars underneath ..... and I have to create a dtd, xml and xls file fo r them. I have tried entering one set of data for a Mercedes car but the dat a just all comes out together on one line and doesn't create the table as I had hoped! My output looks like this: Cars for Sale makemodelyearcolorengineradioair conditioningpower windowspower steeringpowe r brakes1Mercedes BenzE2402003Black8fuel_injected yes yes yes yes yes Any help MUCH appreciated. Thanks Here is my code: cars_for_sale.DTD: cars_for_sale.XML: &me; E240 2003 Black 8 fuel_injected 5 Diesel yes yes yes yes yes cars_for_sale.XSL:
-
I am doing a simple task where I am trying to create a table of cars with co lumn headers such as model, make, color etc and then have details of the dif ferent cars underneath ..... and I have to create a dtd, xml and xls file fo r them. I have tried entering one set of data for a Mercedes car but the dat a just all comes out together on one line and doesn't create the table as I had hoped! My output looks like this: Cars for Sale makemodelyearcolorengineradioair conditioningpower windowspower steeringpowe r brakes1Mercedes BenzE2402003Black8fuel_injected yes yes yes yes yes Any help MUCH appreciated. Thanks Here is my code: cars_for_sale.DTD: cars_for_sale.XML: &me; E240 2003 Black 8 fuel_injected 5 Diesel yes yes yes yes yes cars_for_sale.XSL:
I'm assuming that you are trying to write out a html table. If you are then you need to output a table tag as well as the rows and cells.