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

  Write program to establish two savings accounts

Write program which establishes two savings accounts with saver1 having account number 10002 with initial balance of $2,000, and saver2 having account 10003 with initial balance of $3,000.

  Write program to ask user for low and high integer

Write a program that asks the user for the low and high integer in a range of integers. The program then asks the user for integers to be added up.

  Create a program that uses the same formula

Create a program that uses the same formula above to output the result; this time, however, prompt the user for the values a, b, x, and y.

  Sql statements coded as transaction

Write a set of 3 SQL statements coded as transaction to reflect following change: United Parcel Service has been purchased by federal Express Corporation.

  Create application which permits user to input a price

Create an application which allows a user to input a price until suiatble sentinel value is entered. Output is a price of each item on each day,one through seven.

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

  Write program to open the text file-reads its contents

Write down a program which opens the text file and reads its contents into the stack of characters. Program must then pop characters from stack and save them in second text file.

  Describe logic why it is not enough to show reduction

If we can only show: if x belongs to A, then y does not belongs to B;explain the logic why it is not enough to show A reduction B.IN other words why the theory needs to prove"if and only if"?

  Design logic that continuously prompt user for numeric value

Design the logic for a program that continuously prompts a user for a numeric value until the user enters 0. The application passes the value in turn to a method that squares the number

  Explain the interaction framework

Explain the Interaction Framework discussed by Steven Heim (2008). Choose a computing device (like an ATM machine or the self-check-out at a grocery store

  Prepare clear button which will clear result text box

Make the compute button the Accept button. Prepare Clear button which will clear result text box and reset all text boxes, 4. controls, and internal variables used.

  Design program that stores information of products

You are asked to design a program that stores information of given products. Your program must be menu driven. The program menu must include the following options: Add product information (Ask user to input product id, name and price)

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