Create an xml file with markup tags and some sample data

Assignment Help Programming Languages
Reference no: EM13915066

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.

2272_Untitled.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: EM13915066

Questions Cloud

What is the next time that the buses will stop together : One bus has a routa that takes 25 minutes. The other bus has a routa that takes 55 minutes. Both buses leave the bus- stop leaves at 6 a.m and run continuously. What is the next time that the buses will stop together
Valid v/s invalid arguments : Chapters 5 and 6 of Critical Thinking cover fallacies and rhetoric. Can you think of two examples of persuasion (not found in the text) that are not valid arguments according to the text? Why are your examples of persuasion invalid arguments?
Long-term recruitment plan : Outline a long-term recruitment plan that contains at least four (4) components, is aligned with your company's recruitment strategy, but also addresses possible job skill or credential shortages. Note: Consider concepts such as succession plannin..
How reliable is your data : What are some methods you might use to determine the reliability of the data you gather? Why is it important to analyze your data to determine if it is reliable? Be sure that you understand the specialized meaning of this term before responding.
Create an xml file with markup tags and some sample data : Create an XML file with markup tags and some sample data to represent a list of invoices
Create an interface design : Create an Interface design
Define the function and module breakup : Define the Function and module breakup
How will lutzs actions affect ladys profitability : How will Lutz's actions affect Lady's profitability in 2014? How will they affect Lady's profitability in 2015? Were Lutz's actions ethical? Why or why not?
Illustrate correcting entry : 1. A correcting entry A). is another name for a closing entry. B). may involve any combination of accounts. C). is a required step in the accounting cycle. D). must involve one balance sheet account and one income statement account

Reviews

Write a Review

Programming Languages Questions & Answers

  Create a function that takes a one dimentional array

Create a function that takes a one dimentional array us a argument the function should return only these members from the array which are divisible by 4.

  What type of hurricane you have

Prepare a VBA statements that employ a CASE statement to determine what type of hurricane you have based on a given wind speed stored in a variable WIND.

  Write a program to input the temperature in celsius

Write a program to input the temperature in Celsius and convert it to Fahrenheit. Try your program with C = -40°, C = 20°, and C = 100°

  Write program which asks user for number of bolts

Write C++ program which asks user for number of bolts and number of nuts in their purchase and then computes and prints out total cost.

  Write a program learn multiplication

Write a program which will help the elementary school student learn multiplication. Use Random object to produce two positive one-digit integers.

  Write program compute salary by adding base tax

Compute by adding base tax for that salary range and product of percentage of excess and amount of salary over minimum salary for that range. Write a program which solves this problem.

  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 program to reads student-s name with test scores

Write down a program which reads student's name together with his or her test scores. Program must calculate the average test score for each student and allot the suitable grade.

  Wilkerson-irwin algorithm to minimize mean tardiness

Write a program to implement the Wilkerson-Irwin algorithm to minimize mean tardiness.

  Explain inheritance structures of galaga

Write a 3-page paper about inheritance structures of Galaga. Recognize the parent and child classes and describe what each class has for events and data.

  What runtimeexception if any will the following program

q1. what runtimeexception if any will the following program throw?class exception1 public static void mainstring

  Write function template that accepts array

Write a function template arraySum () whihc accepts an array and number of values stored in it and returns sum of those values.

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