Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<html lang="en">
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2006, 2009. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Site Information</title>
<link href="../../../book.css" rel="stylesheet" type="text/css">

<h1><strong>Site Information </strong></h1>

<h2>Site Description </h2>
<p>A site description may be as simple as a brief text description.  Alternately, you may specify a URL pointing to an HTML file. The URL can be specified as absolute of relative. If relative, the URL is   assumed to be relative to site.xml. </p>
<p><img src="../../../images/site_editor/archives_description.png" alt="Description"></p>

<h2>Site Mirrors</h2>
<p>An update site may point to the URL of a file listing update site mirror definitions. This URL can be absolute or relative to   this site.</p>
<p><img src="../../../images/site_editor/archives_mirrors.png" alt="Mirrors"></p>
Mirrors File</h3>
<p>The <tt>updates</tt> mirror file (the one specified in the <b>Site Mirrors</b> section above)
contains a list of mirror locations. Its format is defined by the following dtd:
<p><tt>&lt;?xml encoding="ISO-8859-1"?&gt;</tt></p>
<p><tt>&lt;!ELEMENT mirrors (mirror*))&gt;</tt></p>
<p><tt>&lt;!ELEMENT mirror EMPTY&gt;</tt></p>
<p><tt>&lt;!ATTLIST mirror</tt>
<br><tt>&nbsp;&nbsp;&nbsp; url&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
CDATA #REQUIRED</tt> <tt>&nbsp;&nbsp;&nbsp;  </tt>
<br><tt>&nbsp;&nbsp;&nbsp; label&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #REQUIRED</tt>
<li>&lt;mirrors&gt; - defines the available update site mirrors</li>
<li>&lt;mirror&gt; - defines a mirror site
<li>url - the URL of the mirror site</li>
<li>label - displayable label. Intended to be translated.</li>

New to GrepCode? Check out our FAQ X