1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd>
8
Copyright © 2002, 2003, 2005 Elliotte Rusty Harold
10
This library is free software; you can redistribute it and/or
11
modify it under the terms of version 2.1 of
12
the GNU Lesser General Public License as published by the
13
Free Software Foundation.
15
This library is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
Lesser General Public License for more details.
20
You should have received a copy of the GNU Lesser General Public
21
License along with this library; if not, write to the Free Software
22
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24
You can contact Elliotte Rusty Harold by sending e-mail to
25
elharo@metalab.unc.edu. Please include the word "XOM" in the
26
subject line. The XOM home page is http://www.xom.nu/
30
<body bgcolor="white">
33
<code>nu.xom.samples</code> includes several dozen example programs that
34
demonstrate different parts of the XOM API.
35
These are intended for tutorial purposes. They are not designed as reusable code
36
for the most part. Most of the examples are adapted
37
from <cite><a target="_top"
38
href="http://www.cafeconleche.org/books/xmljava/">Processing XML with Java</a></cite>
39
by Elliotte Rusty Harold. Please consult that book
40
(available in its entirety online) if you'd like more information
41
about what particular samples are intended to show.
42
That book provides SAX, DOM, and/or JDOM implementations
43
of most of these samples.
47
These classes are not officially part of the XOM API.
48
They have not been extensively tested, and I make no promises
49
that they will be part of any future XOM release; or, if they are,
50
that their APIs will remain compatible.
51
Should you find any of them useful and wish to use them in your
52
own code, I recommend you copy the source code, and place it in your
53
own package. It probably wouldn't hurt to add a lot of unit tests as well.