PERFORCE change 148424 for review
Robert Watson
rwatson at FreeBSD.org
Mon Aug 25 19:14:53 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=148424
Change 148424 by rwatson at 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']" />
More information about the p4-projects
mailing list