Jump to content

how to create an xml tv listing sample


alihero

Recommended Posts

What are you actually trying to do? It's not at all clear from your description... can you give some example stuff you want to end up with?

Link to comment
Share on other sites

I will rephrase my questionWe are going to create a TV Guide XML LanguageSteps to complete are : Data to analyze: http://www.tvguide.com/Listings/ define the elements that would be needed to create these elementsPlace the data in a table

  1. The features that we want to work:
    1. Change Location/Provider
    2. Date/Time
    3. Search Listings
    4. Tabs
    5. Legend
    6. Table Display of Shows
    7. Shows Details
    8. Filter for HD

[*]The information table should look like this:

Element

Contains

Restrictions

  1. Your XML Language should consist of:

XML Sample Data DTD to define the sample data Either an XML XSLT or and XSL-FO CSS if you select XSLT
Link to comment
Share on other sites

"We"? "Your XML language should..."? Is that a school assignment by any chance?Probably what they want you to do is use some language (whatever language is allowed: PHP, ASP.NET, etc.) to "screen scrap" this web page, and turn it into an XML document that contains said data. Read up on "DOM", and more specifically, the DOM as it appears in your language of choice.

Link to comment
Share on other sites

it sounds like they want you to parse that site and manipulate the desired data in xml, and xslt to format the data in back to a html presentetion with help of CSS and DTD to validate your parsed xml. as boen already said the answer is DOM to manipulate the XML data. to get any further help you have to be specific which server side langauge you are using or planed to using. so that we can help you more efficiently..

Link to comment
Share on other sites

it sounds like they want you to parse that site and manipulate the desired data in xml, and xslt to format the data in back to a html presentetion with help of CSS and DTD to validate your parsed xml. as boen already said the answer is DOM to manipulate the XML data. to get any further help you have to be specific which server side langauge you are using or planed to using. so that we can help you more efficiently..
Thank you Birbal for your answeri am going to use xml with dtd and xslt to format and transform it to xslt-fo
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...