Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hint. Use namespaces to resolve naming conflicts. 1. Create an xml documents called company.xml containing two sections employees and invoices with the following specifications A.

image text in transcribed

Hint. Use namespaces to resolve naming conflicts.

1. Create an xml documents called company.xml containing two sections employees and invoices with the following specifications A. Employee ame o Last name o First name Address Hire Date Invoice . Order (Should have an order number attribute) o Name (of the customer) o Address (of the customer) o Total price (of the order) o Date (of the order) Shipping info o Name (of the company) - Use either of the following Fed Ex UPS o Total price (for shipping) o Date (Ship date]) . Description (This section should describe the ordered product. Use whenever the product is mentioned.) o Assume that in the first section (employees) you have chosen tags name, address, date to define the elements employee name, employee address and hire date correspondingly, while in the second section (invoices) you have chosen tags name, address, date to define the elements name of the customer, address of the customer, and date of the order correspondingly. When you create your xml file make sure that one set of tags will not conflict with another (see namespaces in my notes). For example, under the above assumption emplovees and invoices sections will have tags called name, address, date each referring to different types of data depending on the context (e.g. employee name and address vs customer name and address , etc.) Make sure the documents is well-formed and that your element names follow the specified naming convention in my notes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

International Baccalaureate Computer Science HL And SL Option A Databases Part I Basic Concepts

Authors: H Sarah Shakibi PhD

1st Edition

1542457084, 978-1542457088

More Books

Students also viewed these Databases questions