Homework 7: XML and build automation
2013-03-26
Apr 3, 11:59PM
Send an email to me at
jal2016@email.vccs.edu with subject CSC 185 HW7, containing your
your answers attached in a zip file.
Or, put your work in your Bitbucket repository in homework/185/hw7
, and
email me with subject CSC 185 HW7 when you're done.
-
Write a description of your favorite recipe using XML. To do this,
decide what tags to use to describe things like ingredients, measurements,
and step descriptions.
-
Find examples of 2 other file formats that are based on XML, and describe
what they're for. Show a small example, if possible. For example, SVG
is a format for vector graphics, and a simple example looks like:
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<circle cx="100" cy="50" r="50" fill="black" />
<circle cx="100" cy="50" r="40" fill="orange" />
<circle cx="100" cy="50" r="30" fill="black" />
<circle cx="100" cy="50" r="20" fill="orange" />
<circle cx="100" cy="50" r="10" fill="black" />
</svg>
And the processed file looks like:
-
Find a previous homework assignment in which you used Java, and create an Ant
build setup for it. Include a target that will run one of the programs in your
assignment (see the java task type).