1 |
robbat2 08/01/06 23:39:31 |
2 |
|
3 |
Added: mirror.dtd |
4 |
Log: |
5 |
New mirror.dtd for mirrors.xml. |
6 |
|
7 |
Revision Changes Path |
8 |
1.1 xml/htdocs/dtd/mirror.dtd |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/dtd/mirror.dtd?rev=1.1&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/dtd/mirror.dtd?rev=1.1&content-type=text/plain |
12 |
|
13 |
Index: mirror.dtd |
14 |
=================================================================== |
15 |
<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/dtd/mirror.dtd,v 1.1 2008/01/06 23:39:30 robbat2 Exp $ --> |
16 |
<!-- This file is used for keeping the new mirrors.xml file --> |
17 |
|
18 |
<!--<!ENTITY % common SYSTEM "common.dtd"> |
19 |
|
20 |
%common; |
21 |
--> |
22 |
|
23 |
<!-- |
24 |
element: mirrors |
25 |
description: A set of mirrorgroups |
26 |
example: <mirrors> |
27 |
<mirrorgroup country="US" region="North America"> |
28 |
... |
29 |
</mirrorgroup> |
30 |
... |
31 |
</mirrors> |
32 |
--> |
33 |
|
34 |
<!ELEMENT mirrors (mirrorgroup+)> |
35 |
|
36 |
<!-- |
37 |
element: mirrorgroup |
38 |
description: Group mirrors by region and country. |
39 |
example: <mirrorgroup region="South America" country="BZ"> |
40 |
<mirror> |
41 |
... |
42 |
</mirror> |
43 |
... |
44 |
</mirrorgroup |
45 |
--> |
46 |
|
47 |
<!ELEMENT mirrorgroup (mirror+)> |
48 |
<!ATTLIST mirrorgroup region CDATA #REQUIRED |
49 |
country CDATA #REQUIRED |
50 |
ipv4 CDATA #IMPLIED |
51 |
ipv6 CDATA #IMPLIED> |
52 |
<!-- |
53 |
element: mirror |
54 |
description: One per mirror; name the mirror and provide one or more uris |
55 |
example: <mirror> |
56 |
<uri link="http">http://gentoo.osuosl.org/</uri> |
57 |
<name>OSU Open Source Lab (USA/http)</name> |
58 |
</mirror> |
59 |
--> |
60 |
<!ELEMENT mirror (name, uri*)> |
61 |
|
62 |
<!-- |
63 |
element: name |
64 |
description: Name of the mirror |
65 |
example: <name>OSU Open Source Lab</name> |
66 |
--> |
67 |
<!ELEMENT name (#PCDATA)> |
68 |
|
69 |
<!-- |
70 |
element: uri |
71 |
description: A Uniform Resource Locator for a given mirror |
72 |
example: <uri protocol='http' ipv4='y' ipv6='y'>http://gentoo.osuosl.org/</uri |
73 |
--> |
74 |
<!ELEMENT uri (#PCDATA)> |
75 |
<!ATTLIST uri ipv4 (Y|y|N|n) "y" |
76 |
ipv6 (Y|y|N|n) "n" |
77 |
protocol (http|ftp|rsync) "http"> |
78 |
|
79 |
|
80 |
|
81 |
-- |
82 |
gentoo-commits@l.g.o mailing list |