Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Newbie XML/XSL question

Newbie XML/XSL question

Scheduled Pinned Locked Moved XML / XSL
xmlhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    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:

    U 1 Reply Last reply
    0
    • A Anonymous

      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:

      U Offline
      U Offline
      User 642242
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups