Revision 1596
Added by Jing Tao over 21 years ago
src/loaddtdschema.sql | ||
---|---|---|
1 |
DELETE FROM xml_catalog |
|
2 |
WHERE entry_type LIKE 'DTD' |
|
3 |
AND public_id LIKE '%@eml-version@%'; |
|
4 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
5 |
VALUES ('DTD', '-//ecoinformatics.org//eml-access-@eml-version@//EN', |
|
6 |
'@systemidserver@@html-path@/dtd/eml-access-@eml-version@.dtd'); |
|
7 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
8 |
VALUES ('DTD', '-//ecoinformatics.org//eml-attribute-@eml-version@//EN', |
|
9 |
'@systemidserver@@html-path@/dtd/eml-attribute-@eml-version@.dtd'); |
|
10 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
11 |
VALUES ('DTD', '-//ecoinformatics.org//eml-constraint-@eml-version@//EN', |
|
12 |
'@systemidserver@@html-path@/dtd/eml-constraint-@eml-version@.dtd'); |
|
13 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
14 |
VALUES ('DTD', '-//ecoinformatics.org//eml-coverage-@eml-version@//EN', |
|
15 |
'@systemidserver@@html-path@/dtd/eml-coverage-@eml-version@.dtd'); |
|
16 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
17 |
VALUES ('DTD', '-//ecoinformatics.org//eml-dataset-@eml-version@//EN', |
|
18 |
'@systemidserver@@html-path@/dtd/eml-dataset-@eml-version@.dtd'); |
|
19 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
20 |
VALUES ('DTD', '-//ecoinformatics.org//eml-entity-@eml-version@//EN', |
|
21 |
'@systemidserver@@html-path@/dtd/eml-entity-@eml-version@.dtd'); |
|
22 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
23 |
VALUES ('DTD', '-//ecoinformatics.org//eml-literature-@eml-version@//EN', |
|
24 |
'@systemidserver@@html-path@/dtd/eml-literature-@eml-version@.dtd'); |
|
25 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
26 |
VALUES ('DTD', '-//ecoinformatics.org//eml-physical-@eml-version@//EN', |
|
27 |
'@systemidserver@@html-path@/dtd/eml-physical-@eml-version@.dtd'); |
|
28 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
29 |
VALUES ('DTD', '-//ecoinformatics.org//eml-project-@eml-version@//EN', |
|
30 |
'@systemidserver@@html-path@/dtd/eml-project-@eml-version@.dtd'); |
|
31 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
32 |
VALUES ('DTD', '-//ecoinformatics.org//eml-protocol-@eml-version@//EN', |
|
33 |
'@systemidserver@@html-path@/dtd/eml-protocol-@eml-version@.dtd'); |
|
34 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
35 |
VALUES ('DTD', '-//ecoinformatics.org//eml-software-@eml-version@//EN', |
|
36 |
'@systemidserver@@html-path@/dtd/eml-software-@eml-version@.dtd'); |
|
37 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
38 |
VALUES ('Schema', '@eml2namespace@', '@systemidserver@@html-path@/schema/eml.xsd'); |
|
0 | 39 |
Also available in: Unified diff
sql for registrying dtd and schema into xml_catalog directory.