XML Concepts (1)
Well-formed XML resources:
Make end-tags explicit:
Make empty elements explicit: <
img ...
/>
Quote attributes <
img src="logo.gif" height="20"
Use consistent upper/lower case
<p>
and
<P>
are different
XML Namespaces:
Mechanism for ensuring unique XML elements e.g. a library application containing the TITLE of the XML page, the TITLE of a book and the TITLE of:
<?xml:namespace ns="http://loc.org/.1998-001" prefix="i">
<p>Book: <i:TITLE>The Bible</i:TITLE>/p>
<p>Borrower: <j:TITLE>Mr</j:TITLE>
Brian Kelly, UKOLN and Jenny Craven, CERLIM
20 January, 2003
9 (42)