• The theme of this work is creating a mark-up language attached television listings: Television Mark-up Language, TVML.
• Design and implement an XML application that will represent TV listings – this should include validation and transformations.
• no graphics, unless absolutely necessary.
• The XML application, TVML, will include:
o TVML file, including the TV listings for a single day for at least three channels.
o DTD file to validate TVML.
o XSL/t file to transform the information in the TVML file to XHTML file suitable for displaying in a web browser.
o XSL/t file to transform the information to another students representation and thus demonstrating elements of B2B commerce.
• Create an XML instance that will represent the knowledge and data for all the data in the TV listing.
• The XML file should include descriptive tag names, attributes and appropriate information. Look for hierarchical relationships.
• The XML file should include descriptive elements, appropriate attributes and accurate data.
• Create a DTD file that validates the file created.
• Appropriate use of DTD element types (empty, container and data).
• Appropriate use of various types of Attributes e.g. enumerator types.
• Appropriate use of Namespaces and entities.
• Flexible of the design.
• Create an XSL/t file that transforms the data in the XML file to an XHTML file.
• Use XSL/t commands.
• Structure must be similar between the XHTML file and the original timetable.
• Convert data to below attached DTD format. (MUST NOT use below DTD in the original DTD)
• Tidy code using indentation and comments.
• Include TVML, DTD, XSL file to transform to Listing, XSL file to transform to another XML file.
1. Flexibility - Is the design flexible enough for other users e.g. use of postal code and zip codes
2. Generic - ensuring that other instances can be represented and there are no specific tags. Multiple levels of data.
3. No duplication of data
4. Appropriate names of elements
5. Use of idref and id
DTD & Validation
1. Can not be malformed
2. Doctype and validation
3. Attributes: required, implied and fix
4. Empty tags
5. Use of entity and entities
6. Use of namespaces
7. Use of enumerator types
8. Use of relationships ?,*,+,-
9. Data and Container Elements
1. Correct use of XPaths
3. Selection and xpath predicates
4. Comments and indentation
5. Appropriate Template use and transform independency i.e. reliant on data in xml instance and not static
6. Appropriate Attribute extraction
7. Appropriate Element extraction
8. Must have connection to xsl/t and invalid xsl
Valid XHTML, Table Design & Attributes
1. Use of more than one template (high maintenance code)
2. Use of table elements and attributes
3. Valid and well-formed XHTML
4. Link to and use of CSS
Similarity of transformation
Compare XHTML output file to media format chosen and compare similarity
1. Output document passes Validation test