Question
The Winterburg Museum wants to create a page to spotlight local artists who have some or all of their work displayed in the museum. The
The Winterburg Museum wants to create a page to spotlight local artists who have some or all of their work displayed in the museum. The page will showcase an artist profile consisting of name and biography and then list the artists main works. The museum wants you to create a schema for the xml page.
Using your text editor, open artwork.xml. Review the contents to familiarize yourself with the structure of the XML file.
Add a comment in the prolog with a description of the file, name, date, and the filename.
Create a text file called artwork.xsd. Add a comment at the top of the XSD file with a description of the file, your name, data, and the filename.
In the artwork.xsd file, add the root schema element to the document and declare the XML Schema namespace using the xs prefix.
In the artwork.xml file, attach the schema file artwork.xsd to this instance document, indicating that the schema and instance document do not belong to any namespace.
In the artwork.xsd file, declare the Artworks element, containing one or more Artworkchild elements.
In the artwork.xsd file, declare the Artwork element containing the following sequence of nested child elements: Title, Media, Description, Created, and Display. All of the child elements should contain string data.
Save your changes to the artwork.xsd file, and then validate the schema document. Correct any errors you find.
In the artwork.xml file, in the comment section add a supporting file list with artwork.xsd in the list.
Save your changes to the artwork.xml file.
Validate the artwork.xml file against the schema document you created. Correct any validation
errors you discover in the instance document.
artwork.xml
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started