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,13 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD Fragment//EN"
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
<!ENTITY base "../..">
<!ENTITY title "User Groups">
<!ENTITY email "freebsd-www">
<!ENTITY % navinclude.community "INCLUDE">
]>
<!-- $FreeBSD$ -->
<!-- $FreeBSD: www/share/sgml/templates.usergroups.xsl,v 1.7 2006/08/19 21:20:54 hrs Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cvs="http://www.FreeBSD.org/XML/CVS"