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
		
			
				
	
	
		
			69 lines
		
	
	
	
		
			1.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			69 lines
		
	
	
	
		
			1.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="ISO-8859-1" ?>
 | 
						|
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
 | 
						|
				"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
 | 
						|
<!ENTITY title "FreeBSD in the Press">
 | 
						|
<!ENTITY email "freebsd-www">
 | 
						|
<!ENTITY % navinclude.about "INCLUDE">
 | 
						|
]>
 | 
						|
 | 
						|
<!-- $FreeBSD: www/share/sgml/templates.press.xsl,v 1.1 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">
 | 
						|
 | 
						|
  <xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
 | 
						|
 | 
						|
  <xsl:variable name="date">
 | 
						|
    <xsl:value-of select="//cvs:keyword[@name='freebsd']"/>
 | 
						|
  </xsl:variable>
 | 
						|
 | 
						|
  <xsl:param name="news.press.xml-master" select="'none'" />
 | 
						|
  <xsl:param name="news.press.xml" select="'none'" />
 | 
						|
 | 
						|
  <xsl:output type="html" encoding="&xml.encoding;"/>
 | 
						|
 | 
						|
  <xsl:template match="press">
 | 
						|
    <html>
 | 
						|
      &header1;
 | 
						|
      <body>
 | 
						|
 | 
						|
  <div id="CONTAINERWRAP">
 | 
						|
    <div id="CONTAINER">
 | 
						|
 | 
						|
	&header2;
 | 
						|
 | 
						|
	<div id="CONTENT">
 | 
						|
              <div id="SIDEWRAP">
 | 
						|
                &nav;
 | 
						|
              </div> <!-- SIDEWRAP -->
 | 
						|
 | 
						|
	      <div id="CONTENTWRAP">
 | 
						|
 | 
						|
	      &header3;
 | 
						|
 | 
						|
		<xsl:call-template name="html-news-list-press-preface" />
 | 
						|
 | 
						|
	<xsl:call-template name="html-news-list-press">
 | 
						|
          <xsl:with-param name="news.press.xml-master" select="$news.press.xml-master" />
 | 
						|
          <xsl:with-param name="news.press.xml" select="$news.press.xml" />
 | 
						|
	</xsl:call-template>
 | 
						|
 | 
						|
		<xsl:call-template name="html-news-list-newsflash-homelink" />
 | 
						|
 | 
						|
	  	</div> <!-- CONTENTWRAP -->
 | 
						|
		<br class="clearboth" />
 | 
						|
 | 
						|
	</div> <!-- CONTENT -->
 | 
						|
 | 
						|
            <div id="FOOTER">
 | 
						|
               ©right;<br />
 | 
						|
               &date;
 | 
						|
            </div> <!-- FOOTER -->
 | 
						|
 | 
						|
        </div> <!-- CONTAINER -->
 | 
						|
   </div> <!-- CONTAINERWRAP -->
 | 
						|
 | 
						|
      </body>
 | 
						|
    </html>
 | 
						|
  </xsl:template>
 | 
						|
</xsl:stylesheet>
 |