Exercise 1the following is a fragment of an xml document

Assignment Help Application Programming
Reference no: EM13380309

Exercise 1

The following is a fragment of an XML document instance. Identify all the places where it fails to match the constraints for well-formedness.

<Procedure><Title>Advance Notice of Sick Leave</title><intro>All employees are required to provide at least one week's notice of sick leave. <p> The formal procedure is as follows.<intro><step>As soon as you know that you intend to take leave, obtain the following <?step><Item>Doctor's note</item> <ITEM>Application form </ITEM><item Manager's agreement</item><step>Complete the form and submit it to personnel</step><STEP>Personnel will confirm agreement within two working days, or <br>Deny sick leave <step><note>NOTE: Once agreed, sick leave cannot be cancelled or postponed <STEP>For postponement, a new form must be submitted</NOTE></procedure><Signed> A Nutter <Title> Head of Personnel</Signed></Title>

Exercise 2

Create an XML file with markup tags and some sample data to represent a list of invoices. Include the XML tags for two invoices in the list. Also, assume the invoices are created from a database whose tables are shown in the following database relationship diagram.

2178_Create an XML file with markup tags.png

That is, the invoice header information is stored in the table invoice. The invoice table is linked to lines, which hold the many line items of the invoice. Each line item is linked to a product containing information on the particular product, which in turn is linked to the suppliers table where information on the supplier of the product can be found.

Exercise 3

Modify the XML document in Exercise 2 to include a namespace URL from which the elements of the XML document in Exercise 3 will be associated with. Make any changes to the XML document that are necessary as a result of the namespace URL inclusion.

Create an actual Web page document which is referenced by the namespace URL, and include any information you feel necessary.

Reference no: EM13380309

Questions Cloud

1nbspunder the von neumann architecture a program and its : 1.nbspunder the von neumann architecture a program and its data are both stored in memory. it is therefore possible for
Question you have been asked to install an svn repository : question you have been asked to install an svn repository on a server. the svn will be remotely accessed using the
A user comes to you and explains that she needs some form : a user comes to you and explains that she needs some form of encrypted file system to store sensitive information on a
Questionon modern networked computers maintaining the : questionon modern networked computers maintaining the correct time on each machine is important. computers on a lan or
Exercise 1the following is a fragment of an xml document : exercise 1the following is a fragment of an xml document instance. identify all the places where it fails to match the
Question 1 write a program that can be used as a math tutor : question 1 write a program that can be used as a math tutor. the program should display two random numbers between land
Create a text file that contains account number 9-digit : create a text file that contains account number 9-digit number type one of the two types current denoted by cu or
Why are timestamps used in the kerberos protocolnbsp assume : why are timestamps used in the kerberos protocol?nbsp assume that alice shares a secret s with her companys server
User interface design the user interface provides : user interface design the user interface provides interaction between the user and the application. choose one of the

Reviews

Write a Review

Application Programming Questions & Answers

  In this project you will create an application to run in

in this project you will create an application to run in the amazon ec2 service and you will also create a client that

  Imagine that your company has decided to expand to the web

imagine that your company has decided to expand to the web. you want to reuse some data entry code that has been

  1 here is a short program it prints out the value of a

1. here is a short program. it prints out the value of a variable x. ernie and bert disagree about what will be printed

  If the user wants to read the input from a file then the

if the user wants to read the input from a file then the output will also go into a different file. if the user wants

  Question 1we are given the following knowledge base of

question 1we are given the following knowledge base of travel informationnbspbycaraucklandhamilton.

  Basic requirementsscreen one has three edittext views and

basic requirementsscreen one has three edittext views and one button.the edittext views allow you to enter a students

  Create a application using the mvc architecture no

create a application using the mvc architecture. no scripting elements are allowed in jsp

  Rtl sa is a company which develops bespoke solutions for

rtl sa is a company which develops bespoke solutions for the rubber industry. they produce both rubber compound which

  Design a program that models the worms behavior in the

design a program that models the worms behavior in the subsequent scenarioa worm is moving toward an apple. each time

  Problem build a class for a type called fractionnbspthis

problem build a class for a type called fraction.nbspthis class is used to show a ration of two integers.nbsp include

  Part - 1 object-oriented designwrite a program that allows

part - 1 object-oriented designwrite a program that allows an instructor to keep a grade book. each students has scores

  Soda vending machine designnbsp design a soda vending

soda vending machine designnbsp design a soda vending machine that can deliver three kinds of soda a b and c. allnbsp

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd