JavaDeploy
SiteMap
Perl 1
Perl 2
ASP
XML
Creating Documents
«Prev
Next»
XML Introduction
XML Explanation
Describe Markup Languages
Define XML Metalanguage
Metalanguage Relationships
Lmitations of HTML
XML Intelligence
Describing Intelligent Terms
XML Goals
Approaches using XML
XML Conclusion
Creating XML Documents
XML Document Rules
Well Formed XML
DTD Basics
Beyond Well Formedness
DTD Defined
DTD Creation Process
Element Type Declarations (L5)
Defining DTD - Quiz
Mixed Content Elements
XML Mixed Content
Referencing DTD Declarations (L7)
DTD XML File
File Declarations
DTD Checklist
Simple Complex DTD
XML Document - Quiz
Attributes Entities
Declaring Attributes - DTD
Defining Entities
XML Schemas
XML Parsers
Adding information to XML documents
Create a well-formed document and check its well-formedness
Objective:
Create a well-formed XML document for a business order form and check its well-formedness.
Exercise Scoring
This exercise is worth a total of 5 points. To receive full credit, you will need to create all XML elements that are needed to describe the business order form and use these elements to build a well-formed XML document.
Background/overview
XML is ideal for representing business-related documents. In this exercise, you will create a well-formed XML document that represents an order form.
Instructions
Business Order Form
Click the Easy Reference button for a printable version of the Business Order Form in its own window. All the Easy Reference files for this course are also available from the Resources page.
Create a well-formed XML document that will represent this order form. In your answer you should:
Create a simple diagram that represents that structure of this order form. This will be a tree-like structure. Begin by identifying the root element of the tree, then identify braches and sub-branches as needed.
Identify the XML elements you will use to represent the document structure.
Create a well-formed XML document that represents the order form using the XML elements you have defined.
Submit your well-formed XML document.
Optional
If you have access to Internet Explorer 7.x, load the XML document into the browser.
If Internet Explorer loads the document correctly, then it is well-formed. Otherwise, Internet Explorer will list any errors it encountered while parsing the document.
Submitting your exercise
Enter your answer into the text box below.
Click the
Submit
button to submit your answer.
Submit