XML Authoring Assignment 6

Teacher is very picky, document must have all these things

Sean has a new project for you to work on. In addition to digital games, the Harpe Gaming Store also sells board games. Sean is working on a page describing a few sample board games. He has created an XML document named games.xml that contains the description of two games, as well as scores the store has given the games on a 1 to 10 scale in seven categories. Sean also has an XML document named game_reviews.xml containing reviews written up in other gaming websites and an XML document named reviewers.xml that describes those websites.

Sean wants all of this information collected and displayed using a customized style sheet. He would like the style sheet to calculate the average score given to the selected board game and wants all numeric values and dates to be nicely formatted. Figure 6-46 shows a preview of the completed project. 

1. Using your editor, open the gamestxt.xml and gamestxt.xsl .Enter your name and the date in the comment section of each file and save them as games.xml and games.xsl , respectively.

2. Go the games.xml file in your editor. Take some time to review the contents of the file and then link the games.xsl style sheet file to the file. Close the games.xml file, saving your changes.

3. View the contents of the game_reviews.xml and reviewers.xml file in your editor, taking note of the structure and content of each document. Close the files. You do not have to save any changes to these documents. 

Leave a Comment

Your email address will not be published. Required fields are marked *

XML Authoring Assignment 6

Teacher is very picky, document must have all these things

Sean has a new project for you to work on. In addition to digital games, the Harpe Gaming Store also sells board games. Sean is working on a page describing a few sample board games. He has created an XML document named games.xml that contains the description of two games, as well as scores the store has given the games on a 1 to 10 scale in seven categories. Sean also has an XML document named game_reviews.xml containing reviews written up in other gaming websites and an XML document named reviewers.xml that describes those websites.

Sean wants all of this information collected and displayed using a customized style sheet. He would like the style sheet to calculate the average score given to the selected board game and wants all numeric values and dates to be nicely formatted. Figure 6-46 shows a preview of the completed project. 

1. Using your editor, open the gamestxt.xml and gamestxt.xsl .Enter your name and the date in the comment section of each file and save them as games.xml and games.xsl , respectively.

2. Go the games.xml file in your editor. Take some time to review the contents of the file and then link the games.xsl style sheet file to the file. Close the games.xml file, saving your changes.

3. View the contents of the game_reviews.xml and reviewers.xml file in your editor, taking note of the structure and content of each document. Close the files. You do not have to save any changes to these documents. 

Leave a Comment

Your email address will not be published. Required fields are marked *

Is this question part of your Assignment?

Get expert help

Girl in a jacket


We are a team of academic consultants with extensive experience in writing academic papers for college students in the US, Canada, UK, AU, and other parts of the world.

We help students with both technical and non-technical assignments across all majors & academic disciplines.

Unlike what our name suggests, we research and draft everything word for word. We do not use AI or any rewriting tool! We provide Turnitin reports for AI & Turnitin alongside every paper.

Need help? Send us your assignment now!

description here description here description here