Implement dynamic generation of &base; entity for XML documents and

activate it instead of using a static &base;.  Since an .xml database file
(or an .xslt stylesheet file) is used from various directories, the static
&base; no longer works.

PR:	www/102331
This commit is contained in:
Hiroki Sato 2006-08-21 18:27:43 +00:00
parent d7db3cd7ad
commit 9cc1640385
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=28508
17 changed files with 78 additions and 29 deletions

View file

@ -1,5 +1,5 @@
<!-- DTD for commercial gallery entries on the FreeBSD website. -->
<!-- $FreeBSD$ -->
<!-- $FreeBSD: www/share/sgml/gallery.dtd,v 1.1 2006/08/19 21:20:53 hrs Exp $ -->
<!ENTITY % xml.features "INCLUDE">
<!ENTITY % sgml.features "IGNORE">
@ -51,6 +51,11 @@
<!ELEMENT cvs:keyword (#PCDATA)>
<!ATTLIST cvs:keyword name CDATA #REQUIRED>
<!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">