- Add XML DTD and make the multimedia database well-formed and valid XML
Approved by: doceng (implicit)
This commit is contained in:
parent
9b77547545
commit
5a7bdd7b8b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/projects/sgml2xml/; revision=39324
3 changed files with 527 additions and 472 deletions
File diff suppressed because it is too large
Load diff
|
@ -59,6 +59,9 @@
|
|||
<public
|
||||
publicId="-//FreeBSD//DTD FreeBSD XML Database for Sitemap//EN"
|
||||
uri="sitemap.dtd"/>
|
||||
<public
|
||||
publicId="-//FreeBSD//DTD FreeBSD XML Database for Multimedia//EN"
|
||||
uri="multimedia.dtd"/>
|
||||
<public
|
||||
publicId="-//FreeBSD//DTD FreeBSD XML Database for Events//EN"
|
||||
uri="events.dtd" />
|
||||
|
|
54
share/sgml/multimedia.dtd
Normal file
54
share/sgml/multimedia.dtd
Normal file
|
@ -0,0 +1,54 @@
|
|||
<!ELEMENT multimedia (items, sources)>
|
||||
|
||||
<!ELEMENT items (item*)>
|
||||
<!ELEMENT item (title, overview, desc, tags)>
|
||||
<!ELEMENT overview (#PCDATA)>
|
||||
<!ELEMENT tags (#PCDATA)>
|
||||
|
||||
<!ATTLIST item
|
||||
source IDREF #REQUIRED
|
||||
added CDATA #REQUIRED>
|
||||
|
||||
<!ELEMENT sources (source*)>
|
||||
<!ELEMENT source (name, url)>
|
||||
<!ELEMENT name (#PCDATA)>
|
||||
<!ELEMENT url (#PCDATA)>
|
||||
|
||||
<!ATTLIST source
|
||||
id ID #REQUIRED>
|
||||
|
||||
<!ENTITY % html.orig PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
%html.orig;
|
||||
|
||||
<!ELEMENT desc %Flow;>
|
||||
|
||||
<!ENTITY % autogen.ent
|
||||
PUBLIC "-//FreeBSD//ENTITIES FreeBSD Automatically Generated Entities//EN"
|
||||
"http://www.FreeBSD.org/XML/cwd/autogen.ent">
|
||||
%autogen.ent;
|
||||
|
||||
<!ENTITY % iso8879.ent
|
||||
PUBLIC "-//FreeBSD//ENTITIES ISO 8879:1986 Entity Set//EN//XML"
|
||||
"http://www.FreeBSD.org/XML/www/share/sgml/iso8879.ent">
|
||||
%iso8879.ent;
|
||||
|
||||
<!ENTITY % l10n.ent
|
||||
PUBLIC "-//FreeBSD//ENTITIES FreeBSD L10N Entities//EN"
|
||||
"http://www.FreeBSD.org/XML/www/lang/share/sgml/l10n.ent">
|
||||
%l10n.ent;
|
||||
|
||||
<!ENTITY % l10n-common.ent
|
||||
PUBLIC "-//FreeBSD//ENTITIES FreeBSD L10N Common Entities//EN"
|
||||
"http://www.FreeBSD.org/XML/www/share/sgml/l10n.ent">
|
||||
%l10n-common.ent;
|
||||
|
||||
<!ENTITY % release.ent
|
||||
PUBLIC "-//FreeBSD//ENTITIES FreeBSD Release Entities//EN"
|
||||
"http://www.FreeBSD.org/XML/www/share/sgml/release.ent">
|
||||
%release.ent;
|
||||
|
||||
<!ENTITY % common.ent
|
||||
PUBLIC "-//FreeBSD//ENTITIES FreeBSD Common Entities//EN"
|
||||
"common.ent">
|
||||
%common.ent;
|
Loading…
Reference in a new issue