DPIT128/UCIT128: Assignment 3 (Task 4 XSLT) /* BEGIN: Template CSS (DO NOT ALTER/REMOVE) ----------- */ XXXXXXXXXXbody { XXXXXXXXXXbackground-color:#ededed; XXXXXXXXXXtext-align:center; }...

1 answer below »
hit this is my assignment of intriduction to web technology simply 4 tasks I want you to do this for me all the information is mentioned in supporting document kindly submit to me on time and exact format of files as mentioned if there is required my details soSTUDENT NAME: AHMER NASIRSTUDENT ID: 6880101STUDENT MAIL: [email protected]


DPIT128/UCIT128: Assignment 3 (Task 4 XSLT) /* BEGIN: Template CSS (DO NOT ALTER/REMOVE) ----------- */ body { background-color:#ededed; text-align:center; } table { margin-left:auto; margin-right:auto; } /* END: Template CSS (DO NOT ALTER/REMOVE) ------------- */ /* INSERT INTERNAL CSS HERE */ DPIT128/UCIT128: Assignment 3 INSERT FULL NAME (INSERT STUDENT NUMBER) Date Due: 23/04/2021 I have viewed the College's policy regarding Academic Integrity as provided at the following URL: https://documents.uow.edu.au/content/groups/public/@web/@uowc/documents/doc/uow218734.pdf Task 4 XSLT INSERT SOLUTION HERE © INSERT FULL NAME Assignment 3 (Specification) - DPIT128/UCIT128 Assignment 3 Specification - DPIT128/UCIT128 Introduction to Web Technology (Autumn 2021) Assignment 3 (10%) due by Friday 23rd of April 2021 at 11:55 PM Learning Outcomes · Ability to develop well-formed and valid XML documents · Experience defining XML validation schemas using contemporary approaches (namely DTD and XSD) · Ability to use XSLT to display XML data in a more natural and meaningful format · Ability to validate XML documents against internal and external schemas using online validation services Submission Instructions You will need to submit a total of 5 files using the “Assignment 3” submission facility on Moodle. Please see the table below for an overview of the files (including their names and extensions) that are required for each task. Task Files Required 1 A3_TASK1.xml 2 A3_TASK2.xml 3 A3_TASK3.xsd 4 A3_TASK4.xml A3_TASK4.xsl The assessor will be using the Google Chrome browser. Please test your work with this browser prior to submission. This assignment is scheduled to be marked in the laboratory during Weeks 8 & 9. Marks will be deducted if you cannot answer the questions asked about your solution by the assessor. Please be aware of the following: 1. Late submissions will incur an awarded mark deduction of 10% for each day late. 2. Submissions more than 3 days late will not be marked (a zero will be automatically awarded). 3. If you need an extension, please apply for academic consideration before the assignment due date/time. The UOW College Academic Consideration Policy can be found at the following URL: https://www.uowcollege.edu.au/about/governance/policies-procedures/ 4. Plagiarism is treated seriously. If we suspect that work has been copied, ALL students involved are likely to be awarded a mark of zero for the assignment. There are 4 tasks in this assignment. Task 1: Download and extend the A3.xml file available on Moodle (also available here) to include all the information provided in the following table. The first hotel has already been inserted to demonstrate the structure that should be used for each record. Hotel Name Stars Reviews Score Novotel Wollongong Northbeach 4 3123 8.1 Sage Hotel Wollongong 4 3802 7.8 Adina Apartment Hotel Wollongong 4 1046 8.7 Quality Suites Pioneer Sands 4 656 8.6 Mantra Wollongong 4 1052 7.6 The Belmore All-Suite Hotel 3 1214 8.8 Information obtained from Hotels Combined on the 25th of February 2021. Please Note: · Save your completed file as “A3_TASK1.xml”. · This will be the first of 5 separate files that you must submit for this assignment. · Check that your XML is well-formed by using the validation service available at the following URL: https://www.xmlvalidation.com This task is worth 1 mark. Task 2: Create a copy of your XML file from the previous task and rename that copy to “A3_TASK2.xml”. You are now required to add an internal DTD to your “A3_TASK2.xml” file. This DTD should define the legal building blocks for your XML code structure. Please Note: · You must define all relevant elements and attributes within your DTD. · You should consider all attributes as ‘required’. · Save your completed file as “A3_TASK2.xml”. · This will be the second of 5 separate files that you must submit for this assignment. · Check that your XML file is valid by using the validation service available at the following URL: https://www.xmlvalidation.com This task is worth 2 marks. Task 3: Create an XML Schema Definition file named “A3_TASK3.xsd”. Use this file to define the legal building blocks for your XML code via XML Schema. Keep in mind that this comprehensive alternative to DTD is rapidly becoming the preferred method for describing XML structures. Please Note: · You must define all relevant elements and attributes within your XSD. · You should consider all attributes as ‘required’. · Carefully consider the data type that best applies to each value. · Save your completed file as “A3_TASK3.xsd”. · This will be the third of 5 separate files that you must submit for this assignment. · Check that your XSD validates the “A3_TASK1.xml” file by using the validation service available at the following URL: https://www.freeformatter.com/xml-validator-xsd.html This task is worth 2 marks. Task 4: Create a copy of your XML file from Task 1 and rename that copy to “A3_TASK4.xml”. You are now required to complete the XSL template available on Moodle (also available here) and link it with your XML code. The resulting XSLT output must have the same layout and inclusions as shown below. Design Requirements: · The heading text should be displayed within a h2 element. · The sub-heading text must be displayed within a caption element. · The caption should have a font size of 20px and a bottom padding value of 10px specified inline. · A border that matches the above illustration must be included (see “Design Resources”). · The table should utilise th and td elements where appropriate. · The background colour for all th elements must be specified internally (see “Design Resources”). · All th and td elements should have a padding value of 10px and a font size of 20px. · An :nth-child() pseudo-class must be applied to shade even table rows (see “Design Resources”). · A matching alignment for all numerical columns should be specified internally using a ‘class’ selector. · All “Total Reviews” and “Overall Score” values must be presented as shown. · Each “Overall Score” background colour should be specified internally using a ‘class’ selector. · The text shown beneath the table must be displayed within a h3 element. · The “Hotels Combined” hyperlink should display its destination in a new window/tab. · The date must be presented in an Australian format (specifically as DD/MM/YYYY). · An XSL for-each element should be used to iterate through the list of hotels. · An XSL choose element must be used to decide which “Overall Score” background colour to apply. · The test attribute conditions and hexadecimal colour values are provided in the table below. Score < 8="" 8="" ≤="" score="">< 8.5 otherwise #ff9999 #ffdb99 #99cc99 design resources: border effect 1px solid #808080 background (th) #a8a8a8 background (:nth-child) #e0e0e0 please note: · you must use all of the attribute values contained within the xml file. · each of the css rulesets provided in the template should be used within your final design. · be sure to include an appropriate/descriptive name for each of your ‘class’ selectors. · use indentation within your code to improve its overall readability. you will need to submit both the “a3_task4.xml” file and the xslt file, which should be named “a3_task4.xsl”, to the submission facility on moodle for this task. these will complete the set of 5 separate files that you must submit for this assignment. please ask your teacher if you are uncertain about the submission requirements for this assignment. this task is worth 3 marks. the following applies to all relevant components of your submission: additional marking criteria available marks xml documents validate without issue(s) using the specified validation service 1.0 xsl file displays xml content correctly and without issue(s) in google chrome 0.5 all code is neat and suitably indented (2 spaces only) 0.25 documents contain explanatory commenting where appropriate 0.25 - this is the end of the assignment - version 2.5 by jason rodriguez - assignment 3 (marking guide; unlocked) dpit128/ucit128: assignment 3 marking guidestudent number: task 1 no attempt not completed completed no problems 0 major/many issues minor issue(s) major/many issues minor issue(s) 1.0 0 0.25 0.5 0.75 omitting any elements, attributes or values will be considered a major issue. 3 or more minor issues will be considered as many issues. task 2 no attempt not completed completed no problems 0 major/many issues minor issue(s) major/many issues minor issue(s) 2.0 0.25 0.5 ~ 0.75 1.0 ~ 1.25 1.5 ~ 1.75 omitting any elements, attributes or content specifications will be considered a major issue. omitting the required descriptor for any attributes will be considered a major issue. 3 or more minor issues will be considered as many issues. dpit128/ucit128: assignment 3 marking guidestudent number: task 3 no attempt not completed completed no problems 0 major/many issues minor issue(s) major/many issues minor issue(s) 2.0 0.25 0.5 ~ 0.75 1.0 ~ 1.25 1.5 ~ 1.75 omitting any elements or attributes will be considered a major issue. omitting the required descriptor for any attributes will be considered a major issue. 1 or more incorrectly specified data types will be considered a major issue. 3 or more minor issues will be considered as many issues. task 4 no attempt not functioning/not rendering functioning/rendering no problems 0 major/many issues minor issue(s) major/many issues minor issue(s) 3.0 0.25 ~ 0.5 0.75 ~ 1.25 1 8.5="" otherwise="" #ff9999="" #ffdb99="" #99cc99="" design="" resources:="" border="" effect="" 1px="" solid="" #808080="" background="" (th)="" #a8a8a8="" background="" (:nth-child)="" #e0e0e0="" please="" note:="" ·="" you="" must="" use="" all="" of="" the="" attribute="" values="" contained="" within="" the="" xml="" file.="" ·="" each="" of="" the="" css="" rulesets="" provided="" in="" the="" template="" should="" be="" used="" within="" your="" final="" design.="" ·="" be="" sure="" to="" include="" an="" appropriate/descriptive="" name="" for="" each="" of="" your="" ‘class’="" selectors.="" ·="" use="" indentation="" within="" your="" code="" to="" improve="" its="" overall="" readability.="" you="" will="" need="" to="" submit="" both="" the="" “a3_task4.xml”="" file="" and="" the="" xslt="" file,="" which="" should="" be="" named="" “a3_task4.xsl”,="" to="" the="" submission="" facility="" on="" moodle="" for="" this="" task.="" these="" will="" complete="" the="" set="" of="" 5="" separate="" files="" that="" you="" must="" submit="" for="" this="" assignment.="" please="" ask="" your="" teacher="" if="" you="" are="" uncertain="" about="" the="" submission="" requirements="" for="" this="" assignment.="" this="" task="" is="" worth="" 3="" marks.="" the="" following="" applies="" to="" all="" relevant="" components="" of="" your="" submission:="" additional="" marking="" criteria="" available="" marks="" xml="" documents="" validate="" without="" issue(s)="" using="" the="" specified="" validation="" service="" 1.0="" xsl="" file="" displays="" xml="" content="" correctly="" and="" without="" issue(s)="" in="" google="" chrome="" 0.5="" all="" code="" is="" neat="" and="" suitably="" indented="" (2="" spaces="" only)="" 0.25="" documents="" contain="" explanatory="" commenting="" where="" appropriate="" 0.25="" -="" this="" is="" the="" end="" of="" the="" assignment="" -="" version="" 2.5="" by="" jason="" rodriguez="" -="" assignment="" 3="" (marking="" guide;="" unlocked)="" dpit128/ucit128:="" assignment="" 3="" marking="" guide="" student="" number:="" task="" 1="" no="" attempt="" not="" completed="" completed="" no="" problems="" 0="" major/many="" issues="" minor="" issue(s)="" major/many="" issues="" minor="" issue(s)="" 1.0="" 0="" 0.25="" 0.5="" 0.75="" omitting="" any="" elements,="" attributes="" or="" values="" will="" be="" considered="" a="" major="" issue.="" 3="" or="" more="" minor="" issues="" will="" be="" considered="" as="" many="" issues.="" task="" 2="" no="" attempt="" not="" completed="" completed="" no="" problems="" 0="" major/many="" issues="" minor="" issue(s)="" major/many="" issues="" minor="" issue(s)="" 2.0="" 0.25="" 0.5="" ~="" 0.75="" 1.0="" ~="" 1.25="" 1.5="" ~="" 1.75="" omitting="" any="" elements,="" attributes="" or="" content="" specifications="" will="" be="" considered="" a="" major="" issue.="" omitting="" the="" required="" descriptor="" for="" any="" attributes="" will="" be="" considered="" a="" major="" issue.="" 3="" or="" more="" minor="" issues="" will="" be="" considered="" as="" many="" issues.="" dpit128/ucit128:="" assignment="" 3="" marking="" guide="" student="" number:="" task="" 3="" no="" attempt="" not="" completed="" completed="" no="" problems="" 0="" major/many="" issues="" minor="" issue(s)="" major/many="" issues="" minor="" issue(s)="" 2.0="" 0.25="" 0.5="" ~="" 0.75="" 1.0="" ~="" 1.25="" 1.5="" ~="" 1.75="" omitting="" any="" elements="" or="" attributes="" will="" be="" considered="" a="" major="" issue.="" omitting="" the="" required="" descriptor="" for="" any="" attributes="" will="" be="" considered="" a="" major="" issue.="" 1="" or="" more="" incorrectly="" specified="" data="" types="" will="" be="" considered="" a="" major="" issue.="" 3="" or="" more="" minor="" issues="" will="" be="" considered="" as="" many="" issues.="" task="" 4="" no="" attempt="" not="" functioning/not="" rendering="" functioning/rendering="" no="" problems="" 0="" major/many="" issues="" minor="" issue(s)="" major/many="" issues="" minor="" issue(s)="" 3.0="" 0.25="" ~="" 0.5="" 0.75="" ~="" 1.25="">
Answered 1 days AfterApr 20, 2021

Answer To: DPIT128/UCIT128: Assignment 3 (Task 4 XSLT) /* BEGIN: Template CSS (DO NOT ALTER/REMOVE) -----------...

Ali Asgar answered on Apr 22 2021
139 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here