1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
<!DOCTYPE html SYSTEM "../../dtd/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>MARC4J</title>
</head>
<body>
<div class="h2 app" style="border-left: 0px" id="customcontent">
<h2>Mission</h2>
<p> The goal of MARC4J is to provide an easy to use Application Programming Interface (API) for working with <a href="http://www.loc.gov/marc/">MARC</a> and <a href="http://www.loc.gov/standards/marcxml/">MARCXML</a> in Java. MARC stands for MAchine Readable Cataloging and is a widely used exchange format for bibliographic data. MARCXML provides a loss-less conversion between MARC (MARC21 but also other formats like UNIMARC) and XML.</p>
<h2>Background</h2>
<p>MARC4J releases beta 6 through beta 8a where based on an event based parser like SAX for XML. The MARC4J project started as James (Java MARC events), but since there is already an open source project called James, the project is renamed to MARC4J to avoid confusion in open source communities.</p>
<h2>Features</h2>
<p>The MARC4J library includes:</p>
<ul>
<li>An easy to use interface that can handle large record sets.</li>
<li>Readers and writers for both MARC and MARCXML.</li>
<li>A build-in pipeline model to pre- or post-process MARCXML using XSLT stylesheets.</li>
<li>A MARC record object model (like DOM for XML) for in-memory editing of MARC records.</li>
<li>Support for data conversions from MARC-8 ANSEL, ISO5426 or ISO6937 to UCS/Unicode and back.</li>
<li>A forgiving reader which can handle and recover from a number of structural or encoding errors in records.</li>
<li>Implementation independent XML support through JAXP and SAX2, a high performance XML interface.</li>
<li>Support for conversions between MARC and MARCXML.</li>
<li>Tight integration with the JAXP, DOM and SAX2 interfaces.</li>
<li>Easy to integrate with other XML interfaces like DOM, XOM, JDOM or DOM4J.</li>
<li>Command-line utilities for MARC and MARCXML conversions.</li>
<li>Javadoc documentation.</li>
</ul>
<p>MARC4J provides readers and writers for MARC and MARCXML. A <code>org.marc4j.MarcReader</code> implementation parses input data and provides an iterator over a collection of <code>org.marc4j.marc.Record</code> objects. The record object model is also suitable for in-memory editing of MARC records, just as DOM is used for XML editing purposes. Using a <code>org.marc4j.MarcWriter</code> implementation it is possible to create MARC or MARCXML. Once MARC data has been converted to XML you can further process the result with XSLT, for example to convert MARC to <a href="http://www.loc.gov/standards/mods/">MODS</a>.</p>
<p>Although MARC4J is primarily designed for Java development you can use the command-line utilities <code>org.marc4j.util.MarcXmlDriver</code> and <code>org.marc4j.util.XmlMarcDriver</code> to convert between MARC and MARCXML. It is also possible to pre- or postprocess the result using XSLT, for example to convert directly from MODS to MARC or from MARC to MODS.</p>
<h2>Publication</h2>
<p><i>Crosswalking: Processing MARC in XML Environments with MARC4J</i> is a concise book for library programmers who want to learn to use MARC4J to process bibliographic data. It is available through Lulu.com. Read the <a href="http://marc4j.tigris.org/servlets/NewsItemView?newsItemID=1799">announcement</a> or visit <a href="http://www.lulu.com/content/508067">Lulu.com</a> for more book details.</p>
<h2>Download</h2>
<p><font style="color:red; font-weight:bold;">New!</font> Latest release (MARC4J 2.4):</p>
<ul>
<li><a href="http://marc4j.tigris.org/files/documents/220/44058/marc4j-2.4.zip">marc4j-2.4.zip</a></li>
<li><a href="http://marc4j.tigris.org/files/documents/220/44059/marc4j-2.4.tar.gz">marc4j-2.4.tar.gz</a></li>
</ul>
<p>Check <a href="http://marc4j.tigris.org/files/documents/220/44060/changes.txt">here</a> for changes.</p>
<p>Check the <a href="http://marc4j.tigris.org/servlets/ProjectDocumentList">File sharing</a> section for older versions (including MARC4J event based and James releases).</p>
<h2>Donate</h2>
<p>If you like MARC4J and wish to make a donation you can do so by clicking one of the buttons:</p>
<div class="table">
<table>
<tr>
<th colspan="2">PayPal</th>
</tr>
<tr>
<th>USD</th>
<th>Euro</th>
</tr>
<tr>
<td>
<!-- dollar form -->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCJ2BX/g1Ee6at+eaBUZacggNIYmBEsEXBhWOyEYOYMS25S0ZFkcBexjnKwhH3GLaA0MglOY6QECtyi1e/A5lO8Q7s+uM32n2Vi6BK0PTssoa6WY5jbLZtkRg2D8jf7W2fiNeBKhDi02OvyleI3ZVGLHvmXh1wLOakeDNv8k2ADpTELMAkGBSsOAwIaBQAwgbwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIsmdGjLi+ZC+AgZg88UqX9tzd2nTnn2rzB2A79vwL4Iy5WjFxFZjrS3AmkssO7dFYU0iQvkby8rvfkmCmaNrEWRqUhQeOLJJxTcCcKnZWtk0J6cXJG2xVYRNM0dwxjcManxnZRMky8Lq3yhm+38J9jsy0Gfn5wIW1nbPep1zJ0jzMSzPZU/w8LmsSRbzCaLXYEZiywa4ev29pW93SvMpa+DEy4KCCA4cwggODMIIC7KADAgECAgEAMA0GCSqGSIb3DQEBBQUAMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwY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BgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA2MDkyODE1MDA1N1owIwYJKoZIhvcNAQkEMRYEFKYxw8axizTkLJCQKZE9QoNQq7MWMA0GCSqGSIb3DQEBAQUABIGABLd7/aedaK0w7jBsThEDHlScELeUNrx3VTyvOla1jKihwqh2nP0+6GqOwN4TS+tEj+VrXCR1M0YcxhJZawyT4rW8f32eUQQmkWpYEgLYn8nd3QCZuV669KEUi4/Rx5I+ZOuUdM7lJY9ZE6DRCBW1kX4l9XE2GwmLdqCJifP5Olc=-----END PKCS7-----
">
</form>
</td>
<td>
<!-- euro form -->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBKVWqTif8VTKZezp/E1g6b3VDI5ot7h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MODIRfTSOyT/1chxsdSryuGAntxZQqf9DqM=-----END PKCS7-----
">
</form>
</td>
</tr>
</table>
<br/>
</div>
<h2>Documentation</h2>
<p>A MARC4J <a href="http://marc4j.tigris.org/files/documents/220/33576/tutorial.html">tutorial</a> is available in the Documents & Files section. Check the Tutorial folder.</p>
<p>Javadoc documentation is included in the distribution. Please note that since verison 2.1 the Javadoc for <code>org.marc4j.marc</code> provides extensive examples to get you started using the record object model.</p>
<h2>About MARC</h2>
<p>MARC stands for MAchine Readable Cataloguing. The MARC format is a popular exchange format for bibliographic records. The structure of a MARC record is defined in the ISO 2709:1996 (Format for Information Exchange) standard (or ANSI/NISO Z39.2-1994, available <a href="http://www.niso.org/standards/resources/Z39-2.pdf">online</a> from NISO). The MARC4J API is not a full implementation of the ISO 2709:1996 standard. The standard is implemented as it is used in the MARC formats.</p>
<p>The most popular MARC formats are MARC21 and UNIMARC. The MARC21 format is maintained by the <a href="http://www.lcweb.loc.gov/">Library of Congress</a>. If you're not familiar with MARC21, you might want to read <a href="http://lcweb.loc.gov/marc/umb/">Understanding MARC Bibliographic</a>, "a brief description and tutorial" on the standard. For more information on the MARC21 format, visit the <a href="http://www.lcweb.loc.gov/marc">MARC formats</a> home page at the Library of Congress Web site. For more information about UNIMARC visit the <a href="http://www.ifla.org/VI/3/p1996-1/sec-uni.htm">UNIMARC Manual</a>.</p>
<h2>Related resources</h2>
<ul>
<li><a href="http://www.niso.org/standards/resources/Z39-2.pdf">Format for Information Exchange</a></li>
<li><a href="http://www.loc.gov/marc/">MARC21</a></li>
<li><a href="http://www.ifla.org/VI/3/p1996-1/sec-uni.htm">UNIMARC</a></li>
<li><a href="http://www.loc.gov/standards/marcxml/">MARCXML</a></li>
<li><a href="www.http://saxproject.org">SAX2</a></li>
<li><a href="http://java.sun.com/xml/jaxp/index.html">JAXP</a></li>
</ul>
</div>
</body>
</html>
|