- Add namespace to XHTML fragments generated by XSLT stylesheets
- Properly define titles, navigation bars and RSS links for generated pages - Minor cleanup Approved by: doceng (implicit)
This commit is contained in:
parent
9b19e6243c
commit
77ddadd891
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/projects/sgml2xml/; revision=39366
95 changed files with 573 additions and 765 deletions
|
|
@ -3,24 +3,28 @@
|
|||
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
|
||||
<!ENTITY base "..">
|
||||
<!ENTITY rsslink "&base;/java/rss.xml">
|
||||
<!ENTITY title "FreeBSD &java; Project: Newsflash">
|
||||
<!ENTITY title "FreeBSD &java; Project News Flash">
|
||||
<!ENTITY rsstitle "FreeBSD Java Project News">
|
||||
<!ENTITY email "freebsd-java">
|
||||
<!ENTITY % navinclude.developers "INCLUDE">
|
||||
<!ENTITY % header.rss "INCLUDE">
|
||||
]>
|
||||
|
||||
<!-- $FreeBSD$ -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||
xmlns:cvs="http://www.FreeBSD.org/XML/CVS" exclude-result-prefixes="cvs">
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
|
||||
<xsl:import href="http://www.FreeBSD.org/XML/www/share/sgml/xhtml.xsl"/>
|
||||
|
||||
<xsl:variable name="title">&title;</xsl:variable>
|
||||
|
||||
<xsl:variable name="rsstitle">&title;</xsl:variable>
|
||||
|
||||
<xsl:variable name="rsslink">&rsslink;</xsl:variable>
|
||||
|
||||
<xsl:template name="process.content">
|
||||
<div id="SIDEWRAP">
|
||||
&nav;
|
||||
&nav.developers;
|
||||
<div id="FEEDLINKS">
|
||||
<ul>
|
||||
<li>
|
||||
|
|
@ -33,7 +37,7 @@
|
|||
</div> <!-- SIDEWRAP -->
|
||||
|
||||
<div id="CONTENTWRAP">
|
||||
&header3;
|
||||
<h1>&title;</h1>
|
||||
|
||||
<img src="&base;/gifs/news.jpg" align="right" border="0" width="193"
|
||||
height="144" alt="FreeBSD Java News"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue