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

  To design a class-based solution to a problem using

to design a class-based solution to a problem using multiple data structures.the problemwrite a program to help an

  When you write a program using an abstract data structure

when you write a program using an abstract data structure you can complete the design of the program before you

  Please do it as simple as you can build your own maze and

please do it as simple as you can. build your own maze and make it so easy so i can understand it. try to use for while

  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

  Standard calculatortask write a windows application in

standard calculatortask write a windows application in visual basic to perform functions of a standard

  Given grammar grammar m following1nbspnbsp

given grammar grammar m following1nbspnbsp ltprogramgtnbspnbsp - - gt begin ltstatement listgtnbsp end2nbspnbsp

  In industry plant conditions are monitored and if there are

in industry plant conditions are monitored and if there are problems it is necessary to have some way of indicating

  Question 1we are given the following knowledge base of

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

  A the following diagram shows the classes used in a

a the following diagram shows the classes used in a calculator application. this calculator application can do addition

  Hypertext markup languagethe basics of hypertext markup

hypertext markup languagethe basics of hypertext markup language and world wide web. first you will learn about

  There is a 10 by 10 grid on which the first player hides

there is a 10 by 10 grid on which the first player hides three battleships. each battleship takes up five consecutive

  Assessment taskwrite a java application that calculates

assessment taskwrite a java application that calculates and displays the property tax for n property owners. n

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