Write a xml schema for the validation of the document notes.

Assignment Help Data Structure & Algorithms
Reference no: EM13159212

write a XML schema for the validation of the document notes.xml. Write the schema according to the following three approaches;

1.- Based on the document structure

2.- Structured (bottom-up design)

3.- Type-based (top-down design)

Here is the note.xml code, i will need the .xsd schema codes

<?xml version="1.0" encoding="ISO-8859-1"?>
<notes>
<note>
    <date format="USA">
      <month> 04</month>
      <day>11</day>
      <year>2014</year>
   </date>
    <time>
      <hour> 23</hour>
      <minute>11</minute>
      <second>35</second>
   </time>
   <to id="101A" >Tove</to>
   <to id="314F">Joe</to>
   <from>Janie</from>
   <heading>Reminder</heading>
   <body>Don't forget me this weekend!</body>
</note>
<note>
    <date format="USA">
      <month> 04</month>
      <day>11</day>
      <year>2014</year>
   </date>
   <to id="102F" >Anthony</to>
   <from>Mary</from>
   <heading>Reminder</heading>
   <body>Please, bring me the textbook!</body>
</note>
</notes>

 

 

Reference no: EM13159212

Questions Cloud

Write a function that takes an integer array : 1. Write a function that takes an integer array and the array's size as parameters. The function will check if the array is sorted. If it is, it will return a 1. If it is not sorted it will return 0. The function should not  sort the array.
The mean and standard deviation : How do i write a program in c++ that use functions max, min, the total numbers, the mean and standard deviation to read a file text and return these values from the file text. note the file text has random numbers. note im not suppose to use arrays.
Write a count occurrences() function that accepts a string : Write a CountOccurrences() function that accepts a string to be searched and a sub-string to be found. The function should return the # of times the sub-string is found. Write a tester file that declares a secret sentence as a constant.
Allows the user to enter the coefficients for a system : Create a graphical (not text-based) Visual C++ program that allows the user to enter the coefficients for a system of four equations with four unknowns. Include a button that when clicked, will solve the system of equations and display the results in..
Write a xml schema for the validation of the document notes. : write a XML schema for the validation of the document notes.xml. Write the schema according to the following three approaches;1.- Based on the document structure2.- Structured (bottom-up design)3.- Type-based (top-down design)
Program to compute the total volume : Write a program to compute the total volume for a number of cylinders. A cylinder may have different values for height and radius.
Create a calculator function : This is the code for my trip planner,you need to figure out how to create a calculator function to enable users to calculate their own costs if they choose
The initial number for generating the sequences : Then, after the functions, read in the initial number for generating the sequences. Here, check that it is a positive integer. If it is not, give an error message and exit the program.
Write an array where the user can input 7 temperatures : Write an array where the user can input 7 temperatures; include a 'for' loop. Make sure the temperatures are larger than -100 and smaller than or equal to 120, if not, make sure the user enters a valid number. Make sure the temperature is between the..

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Devise algorithm to generate access control matrix

Devise an algorithm that generates an access control matrix A for any given history matrix H of the Chinese Wall model. A significant portion of the grade for this problem involves your justification of your algorithm.

  Algorithm to recognize substrings which form numbers

Given the string of numbers, recognize all the substrings which form numbers which are divisible by 3. For instance, applying algorithm on the string.

  Design analgorithm that decides for each node

Design an O(n) algorithm that decides (schedules) for each node at which time slot to start sending data such that the total number of time (slots) is minimized.

  Create algorithm to perform any sequence of two operations

Let A[1, n] be an array of real numbers. Create an algorithm to perform any sequence of the following two operations: Add(i, x): add the value x to A[i].

  Currency conversion development

Currency Conversion Development

  Addition and subtraction of numbers in binary

Addition and Subtraction of numbers in binary and round to the nearest decimal number with three significant decimal digits

  Computing time complexity of procedure

What is the time complexity of the procedure? If A[l .. r] = [24, 30, 09, 46, 15, 19, 29, 86,78], what is the output?

  Create a shell script to locate executable files

Create a shell script to locate executable documents? The script takes a list of document names from the command line and determines which would be executed had these names been given as commands.

  Creating a random file of the signs

Create a random file of the signs of all angles from zero degrees to ninety degrees. Make every entry accurate to three places. Write a program that will show the sign of any angle typed on the keyboard.

  Explain advantages of eager decision tree algorithm

Explain advantages and disadvantages of new algorithm compared with eager decision tree algorithm, and advantages and disadvantages of new algorithm compared with lazy kNN algorithm.

  Create algorithm prompt for and receive employee number

Create algorithm which will prompt for and receive the employee number from operator at terminal. Your program is to search array of valid employee numbers to check that employee number is XXXXX,

  Question about hardware requirements

When you purchase a new software package, why does it state minimum RAM and hard drive space your computer must have for you to run this program?

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