Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions