JustAnswer > Computer
Ask A Question|Register|Login|Help
JustAnswer

Computer

Ask a Computer Question, Get an Answer ASAP!

Have your own Computer question?

13 Tech Support Specialists are Online Now
characters left:
Not a Computer Question?
Bookmark and Share

Question

Your customer ask you to design an XML document for supplies records. Here is an example of his supplies report.

Supplies

Item Code     Item name     Unit of measure     Quantity     Price for unit     Total price for the item     Supplier     Supplier’s country     Country code
A     B     C     D    &n bsp;F     G     H     I   &nbs p; G
Date of supply: 12.30.2001     Supply# 1       Inspector: D.Hunter
10     Potato     Lb     100    ;  3     300     Ranch A     USA     01
15     Milk     Gl     20   &n bsp; 2     40     Farm B     UK     12
10     Potato     Lb     100    ;  3     300     Ranch C     USA     01
07     Carrot     Lb     10       5     50     Ranch C     USA     01

Date of supply: 01.15.2002     Supply# 2
07     Carrot     Lb     15       4     60     Ranch A     USA     01
15     Milk     Gl     30   &n bsp; 3     90     Ranch C     USA     01
15     Milk     Gl     20   &n bsp; 2     50     Ranch A     USA     01

Date of supply: 02.08.2002     Supply# 3    Inspector: D.Hunter and J. Pinnock
05     Soap     Box     12   & nbsp; 50     600     Plant D     France     25

Total: $1490

Some data types:
Item code – an integer [001..999]
Unit of measure – a string, only 5 possible values on your choice
Quantity – positive integer
Prices – positive floats
Country code – byte
Date of supply - date

Design:
A. As many elements and as less attributes as possible
1.      XML instance document for DTD file
2.      DTD document to validate this and other supplies reports
3.      XML instance document for Schema file
4.      XML Schema document to validate this and other supplies reports.
B. As many attributes and as less elements as possible
1.      XML instance document for DTD file
2.      DTD document to validate this and other supplies reports
3.      XML instance document for Schema file
4.      XML Schema document to validate this and other supplies reports.
----------------------------------------------------------------------------------


Edited by XXXXXXXXXX on 6/29/2004 at 9:11 PM

Submitted: 1973 days and 12 hours ago.
Category: Computer
Value: $50
Status: AWAITING EXPERT REPLY

Related Computer Questions

  • Hello,
  • what program is best for downloading music? Limewire? Bearsh...
  • My burner does not recognize a disk has been inserted. Probl...
  • need windows98startupdisc where can i download it from
  • I lost my place - I was talking with a conputer expert
  • I have an emachine T2482, several years old. I am looking fo...
  • does my h p officejet 13640 all-in-one have the built in cap...
  • Had a problem earlier this p.m. and worked with W.Olson. Tho...



Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.
Question List | Become an Expert | Terms of Service | Security & Privacy | About Us
© 2003-2009 JustAnswer Corp.