Question: XML DATASET preparation: You are going to apply some changes in the given dataset of assingment1 (consist of 2 menu each has some menultems). Try

 XML DATASET preparation: You are going to apply some changes in

XML DATASET preparation: You are going to apply some changes in the given dataset of assingment1 (consist of 2 menu each has some menultems). Try to add two more menus, each has 2 - menultem (from your hometown!). Also try to add the following element to all existingew menultems which shows the calorie of each menu i.e: light (we may have different menu-calorie including light, normal, heavy) Part A) Formulate the proper XPath expression for the following question, and take screenshot of the output. (You may use freeformatter com) You need to answer the following four questions. Q1: Write an absolute XPath expression that displays all itemName (originalName). Q2: Write an XPath expression that display the last menu's category and calorie. Q3: Write an XPath expression that selects all itemName (both original and old name) which their userRating is more than 1 million. Q4: Write an XPath expression that selects all itemName (both original and old name) which their description contains "Blueberry" Bonus) You will get bonus mark if you try to answer the above questions in XML spy. (hint xMLSpy is a proprietary XML editor and integrated development environment developed by zltova. You may download the trial version Note: Mac user may not able to use this tool. They can introduce a similar tool as bonus)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!