Question: Part 1: Using an XML Schema You will find an XML Schema for a simple tool catalog here: http://weblab.kennesaw.edu/toolschema.xsd Read the schema to find out
Part 1: Using an XML Schema You will find an XML Schema for a simple tool catalog here: http://weblab.kennesaw.edu/toolschema.xsd Read the schema to find out what XML elements are expected and what they contain. (Hint: The comments are your friend. If you've forgotten what the URLs for the tool pictures look like, they are lab 2.
Write an XML file containing information for at least three types of tools. To get you started, I've done the hard part:
Place your XML file on the server as l6p1.xml. Put a link to your XML file on your index page.
To validate your XML, navigate to this address: https://devutilsonline.com/xml/validate Paste the URL of your XML file in the left-hand box, which is labeled XML URL. Paste a link to the XSD file: http://weblab.kennesaw.edu/toolschema.xsd into the right-hand box, labeled XSD URL. Then click the "Validate XML" button at the bottom left. Correct any errors the validator finds.
Part 2; Validating form data: Make a copy of the order form from lab exercise 4 and name it l6p2.php. Remove the JavaScript code to calculate the total price. If you used anything other than a plain text box for quantities, change the quantity inputs to type="text". (The goal of this part of the assignment is for you to use regular expressions to validate text.)
Add JavaScript code to produce an error message and suppress submission of the form if any quantity field contains non-numeric data. (It's OK for a quantity to be empty, but if it's non-empty, it must have only numbers.) Add an action= attribute to your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
