Create an xml file with markup tags

Assignment Help Programming Languages
Reference no: EM13191935

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: EM13191935

Questions Cloud

What percent of the available tickets was not sold : There were 400 tickets available for a school play. 368 tickets were sold. What percent of the available tickets was not sold?
State the precipitation reaction with balanced molecular : What are the precipitation reaction with balanced molecular, total ionic and net ionic equations for na2
How many will encounter undesireable side effects : the theoritical probability of undesirable side effects resultiing from taking grebex is 2 in 13. if 260 people take grebex , how many will encounter undesireable side effects.
Define net ionic equation for the precipitation reaction : Write a balanced, net ionic equation for the precipitation reaction of cacl2 and cs3po4 in an aquaeous solution.
Create an xml file with markup tags : 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.
What percentage of the time would you expect to draw : suppose that you randomly draw a large number of values from the standard normal distribution. what percentage of the time would you expect to draw a value greater than or equal to two?
At which the water is leaking out : at the instant when the water is 5 m deep find the rate at which the water is leaking out if the water level is falling at the rate of 0.1 m/hr.
What''s difference between fault tree one and fault tree two : Create a two fault or event trees (or one of each) that would support the exploration of risk for one of the above major construction projects
At what speed should the ship travel to arrive back : On what bearing and at what speed should the ship travel to arrive back at its starting point 24 hours after the voyage began? (Assume that one knot is a speed of one nautical mile per hour).

Reviews

Write a Review

Programming Languages Questions & Answers

  Pseudo code for recursive function to print prime numbers

Write in pseudo code the recursive function which receive 2 integers (a and b) and returns sum of all common prime dividers (1 is not prime).

  Write potential function to derive valid amortized cost

Consider base 3 counter and de ne actual cost of increment operation to be number of digits which get changed. Provide a potential function which enables you to derive smallest valid amortized cost.

  Write program to display company payroll report in list box

Write a program that display a company payroll report in a list box. the program should read each employees name, hourly rate and hours worked from a file and produce a report.

  Identify components that perform distinct service

Identify components that perform a distinct service. Although the details can be quite complex, these details are the basic principles of object-oriented programming

  Write program to prompt user to enter year-find leap year

Write down program to prompt the user to enter year, and then tells user whether it is leap year. If user doesn't enter valid year (i.e., a positive integer).

  Write program to print names of files with similarity

Write down the program which prints names of two files with highest similarity among files in collection, and names of two files with lowest similarity.

  Building airline reservation system

Problem Description The aim of this project is to build airline reservation system. System must give two basic sets of services to an airline: First set of services allows the airline to provision its system.

  Write statement to allot new value to element of array

Write down single statement which allots new value to element of ArrrayList indexed by j. This new value must be equal to twice value stored in next element of ArrayList.

  Compute service charge customer owes for writing bad check

Create the output and sketch the flowchart or write pseudocode for program which computes service charge a customer owes for writing bad check.

  Prepare a presentation on backgrounds and fonts

Can you still read the text? Is it too narrow or thick? Is an icon hidden by the background? You should also include tips for choosing backgrounds and fonts.

  How to complete input assertion and output assertion

Complete input assertion and output assertion which will guarantee that student always ends game passing class. Add assertions and invariants which can help reason about claim.

  Design algorithm to will read file and produce weekly report

Design an algorithm that will read file and produce a weekly report of the net earnings for those employees. Net earnings are gross earnings minus deductions.

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