Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2008 19:14:52 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 148424 for review
Message-ID:  <200808251914.m7PJEqKm076649@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=148424

Change 148424 by rwatson@rwatson_fledge on 2008/08/25 19:14:37

	Improve XML happiness.
	
	Submitted by:	bz

Affected files ...

.. //depot/projects/trustedbsd/www/bib-stylesheet.xsl#3 edit
.. //depot/projects/trustedbsd/www/dev-stylesheet.xsl#3 edit
.. //depot/projects/trustedbsd/www/page.xsl#8 edit

Differences ...

==== //depot/projects/trustedbsd/www/bib-stylesheet.xsl#3 (text+ko) ====

@@ -29,12 +29,12 @@
      OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
      SUCH DAMAGE.
  
-     $P4: //depot/projects/trustedbsd/www/bib-stylesheet.xsl#2 $
+     $P4: //depot/projects/trustedbsd/www/bib-stylesheet.xsl#3 $
 -->
 
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
                 xmlns:cvs="http://www.FreeBSD.org/XML/CVS">;
-  <xsl:output type="xml" />
+  <xsl:output method="xml" indent="yes"/>
 
   <xsl:template match="bibliography">
     <page role="docs">

==== //depot/projects/trustedbsd/www/dev-stylesheet.xsl#3 (text+ko) ====

@@ -29,12 +29,12 @@
      OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
      SUCH DAMAGE.
      
-     $P4: //depot/projects/trustedbsd/www/dev-stylesheet.xsl#2 $
+     $P4: //depot/projects/trustedbsd/www/dev-stylesheet.xsl#3 $
 -->
 
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
                 xmlns:cvs="http://www.FreeBSD.org/XML/CVS">;
-  <xsl:output select="xml" indent="yes"/>
+  <xsl:output method="xml" indent="yes"/>
 
   <xsl:template match="developers">
     <page role="developers">

==== //depot/projects/trustedbsd/www/page.xsl#8 (text+ko) ====

@@ -2,7 +2,9 @@
                 xmlns:cvs="http://www.FreeBSD.org/XML/CVS">;
   <xsl:import href="includes.xsl"/>
   <xsl:import href="heading.xsl"/>
-  <xsl:output type="html"/>
+  <xsl:output method="html" indent="yes" encoding="UTF-8" />
+  <!-- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" -->
+  <!-- doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" /> -->
 
   <xsl:variable name="date">
     <xsl:value-of select="//cvs:keyword[@name='freebsd']" />



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808251914.m7PJEqKm076649>