aboutsummaryrefslogtreecommitdiff
path: root/hu_HU.ISO8859-2/share
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2012-08-10 10:13:04 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2012-08-10 10:13:04 +0000
commit056e74b19c02cecf4a69d8d4180ff2db9dead45f (patch)
tree1b47b41842ec35a9dd15744fc900bf317183644d /hu_HU.ISO8859-2/share
parent44ff87d9fa5560187a9fb2864c94e230c7cd4e02 (diff)
downloaddoc-056e74b19c02cecf4a69d8d4180ff2db9dead45f.tar.gz
doc-056e74b19c02cecf4a69d8d4180ff2db9dead45f.zip
- Convert these forgotten XSL files to the new convention
Approved by: doceng (implicit)
Notes
Notes: svn path=/projects/sgml2xml/; revision=39352
Diffstat (limited to 'hu_HU.ISO8859-2/share')
-rw-r--r--hu_HU.ISO8859-2/share/sgml/templates.events.xsl48
-rw-r--r--hu_HU.ISO8859-2/share/sgml/templates.newsflash.xsl32
-rw-r--r--hu_HU.ISO8859-2/share/sgml/templates.oldnewsflash.xsl35
-rw-r--r--hu_HU.ISO8859-2/share/sgml/templates.oldpress.xsl35
-rw-r--r--hu_HU.ISO8859-2/share/sgml/templates.pastevents.xsl44
-rw-r--r--hu_HU.ISO8859-2/share/sgml/templates.press.xsl35
6 files changed, 33 insertions, 196 deletions
diff --git a/hu_HU.ISO8859-2/share/sgml/templates.events.xsl b/hu_HU.ISO8859-2/share/sgml/templates.events.xsl
index 82497c6a2d..3337a3b34a 100644
--- a/hu_HU.ISO8859-2/share/sgml/templates.events.xsl
+++ b/hu_HU.ISO8859-2/share/sgml/templates.events.xsl
@@ -50,14 +50,7 @@
exclude-result-prefixes="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:output method="xml" encoding="&xml.encoding;"
- doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
- doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>
+ <xsl:import href="http://www.FreeBSD.org/XML/www/share/sgml/xhtml.xsl"/>
<xsl:param name="startyear">2009</xsl:param>
<xsl:param name="pastyears">2008 2007 2006 2005 2004 2003</xsl:param>
@@ -78,10 +71,9 @@
<xsl:variable name="charturl" select="'http://chart.apis.google.com/chart?cht=t&amp;chs=400x200&amp;chtm=world&amp;chco=ffffff,ffbe38,600000&amp;chf=bg,s,4D89F9'" />
- <!-- Template: events -->
- <xsl:template match="events">
+ <xsl:template name="process.content">
<xsl:variable name="chart-countries">
- <xsl:for-each select="event[
+ <xsl:for-each select="/events/event[
generate-id() =
generate-id(key('event-by-country', location/country/@code)[1])]">
<xsl:sort select="format-number(count(key('event-by-country', location/country/@code)), '000')" order="descending"/>
@@ -90,7 +82,7 @@
</xsl:variable>
<xsl:variable name="chart-country-counts">
- <xsl:for-each select="event[
+ <xsl:for-each select="/events/event[
generate-id() =
generate-id(key('event-by-country', location/country/@code)[1])]">
<xsl:sort select="format-number(count(key('event-by-country', location/country/@code)), '000')" order="descending"/>
@@ -101,16 +93,6 @@
<xsl:variable name="imageurl"><xsl:value-of select="$charturl"/>&amp;chd=t:<xsl:value-of select="$chart-country-counts"/>&amp;chld=<xsl:value-of select="$chart-countries"/></xsl:variable>
- <html>
- &header1;
-
- <body>
-
- <div id="containerwrap">
- <div id="container">
- &header2;
-
- <div id="content">
<div id="SIDEWRAP">
&nav;
<div id="FEEDLINKS">
@@ -137,6 +119,7 @@
format-number($curdate.day, '00'))"/>
</xsl:comment>
+ <xsl:for-each select="/events">
<xsl:call-template name="html-events-list-preface" />
<xsl:call-template name="html-events-map">
@@ -144,8 +127,9 @@
</xsl:call-template>
<xsl:call-template name="html-events-list-upcoming-heading" />
+ </xsl:for-each>
- <xsl:for-each select="event[generate-id() =
+ <xsl:for-each select="/events/event[generate-id() =
generate-id(key('event-by-month',
concat(startdate/year, format-number(startdate/month, '00')))[1])
and ((number(enddate/year) &gt; number($curdate.year)) or
@@ -182,9 +166,11 @@
</ul>
</xsl:for-each>
+ <xsl:for-each select="/events">
<xsl:call-template name="html-events-list-past-heading" />
+ </xsl:for-each>
- <xsl:for-each select="event[generate-id() =
+ <xsl:for-each select="/events/event[generate-id() =
generate-id(key('event-by-month', concat(startdate/year,
format-number(startdate/month, '00')))[1])
and ((number(enddate/year) &gt;= $startyear)) and
@@ -225,24 +211,14 @@
<p>A kor&aacute;bbi &eacute;vek rendezv&eacute;nyei:</p>
<ul id="events-past-years">
+ <xsl:for-each select="/events">
<xsl:call-template name="split-string">
<xsl:with-param name="seperator" select="' '"/>
<xsl:with-param name="text" select="$pastyears"/>
</xsl:call-template>
+ </xsl:for-each>
</ul>
</div> <!-- contentwrap -->
-
- <br class="clearboth" />
- </div> <!-- content -->
-
- <div id="FOOTER">
- &copyright;<br />
- &date;
- </div> <!-- FOOTER -->
- </div> <!-- container -->
- </div> <!-- containerwrap -->
- </body>
- </html>
</xsl:template>
<!-- Template: event -->
diff --git a/hu_HU.ISO8859-2/share/sgml/templates.newsflash.xsl b/hu_HU.ISO8859-2/share/sgml/templates.newsflash.xsl
index d296308175..81d7250223 100644
--- a/hu_HU.ISO8859-2/share/sgml/templates.newsflash.xsl
+++ b/hu_HU.ISO8859-2/share/sgml/templates.newsflash.xsl
@@ -20,26 +20,12 @@
<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:import href="http://www.FreeBSD.org/XML/www/share/sgml/xhtml.xsl"/>
<xsl:param name="news.project.xml-master" select="'none'" />
<xsl:param name="news.project.xml" select="'none'" />
- <xsl:output type="html" encoding="&xml.encoding;"/>
-
- <xsl:template match="news">
- <html>
- &header1;
- <body>
-
- <div id="CONTAINERWRAP">
- <div id="CONTAINER">
- &header2;
-
- <div id="CONTENT">
+ <xsl:template name="process.content">
<div id="SIDEWRAP">
&nav;
<div id="FEEDLINKS">
@@ -61,6 +47,7 @@
<div id="CONTENTWRAP">
&header3;
+ <xsl:for-each select="/news">
<xsl:call-template name="html-news-list-newsflash-preface" />
<xsl:call-template name="html-news-list-newsflash">
@@ -71,19 +58,8 @@
<xsl:call-template name="html-news-make-olditems-list" />
<xsl:call-template name="html-news-list-newsflash-homelink" />
+ </xsl:for-each>
</div> <!-- CONTENTWRAP -->
- <br class="clearboth" />
- </div> <!-- CONTENT -->
-
- <div id="FOOTER">
- &copyright;<br />
- &date;
- </div> <!-- FOOTER -->
- </div> <!-- CONTAINER -->
- </div> <!-- CONTAINERWRAP -->
-
- </body>
- </html>
</xsl:template>
</xsl:stylesheet>
diff --git a/hu_HU.ISO8859-2/share/sgml/templates.oldnewsflash.xsl b/hu_HU.ISO8859-2/share/sgml/templates.oldnewsflash.xsl
index f17ab050a7..393d5740df 100644
--- a/hu_HU.ISO8859-2/share/sgml/templates.oldnewsflash.xsl
+++ b/hu_HU.ISO8859-2/share/sgml/templates.oldnewsflash.xsl
@@ -18,33 +18,17 @@
xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
<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="year">
<xsl:value-of select="descendant::year/name"/>
</xsl:variable>
- <xsl:variable name="date">
- <xsl:value-of select="//cvs:keyword[@name='freebsd']"/>
- </xsl:variable>
-
- <xsl:output type="html" encoding="&xml.encoding;"/>
<xsl:template match="p">
<xsl:copy-of select="." />
</xsl:template>
- <xsl:template match="news">
- <html>
-
- &header1;
-
- <body>
-
- <div id="CONTAINERWRAP">
- <div id="CONTAINER">
-
- &header2;
-
- <div id="CONTENT">
+ <xsl:template names="process.content">
<div id="SIDEWRAP">
&nav;
</div> <!-- SIDEWRAP -->
@@ -77,21 +61,6 @@
<a href="&base;/news/news.html">H&iacute;rek f&#245;oldal</a>
</div> <!-- CONTENTWRAP -->
- <br class="clearboth" />
-
- </div> <!-- CONTENT -->
-
- <div id="FOOTER">
- &copyright;<br />
- &date;
-
- </div> <!-- FOOTER -->
-
- </div> <!-- CONTAINER -->
- </div> <!-- CONTAINERWRAP -->
-
- </body>
- </html>
</xsl:template>
<xsl:template match="month">
diff --git a/hu_HU.ISO8859-2/share/sgml/templates.oldpress.xsl b/hu_HU.ISO8859-2/share/sgml/templates.oldpress.xsl
index b52a73fb5e..f650c1b717 100644
--- a/hu_HU.ISO8859-2/share/sgml/templates.oldpress.xsl
+++ b/hu_HU.ISO8859-2/share/sgml/templates.oldpress.xsl
@@ -18,30 +18,13 @@
xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
<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="year">
<xsl:value-of select="descendant::year/name"/>
</xsl:variable>
- <xsl:variable name="date">
- <xsl:value-of select="//cvs:keyword[@name='freebsd']"/>
- </xsl:variable>
-
- <xsl:output type="html" encoding="&xml.encoding;"/>
-
- <xsl:template match="press">
- <html>
-
- &header1;
-
- <body>
-
- <div id="CONTAINERWRAP">
- <div id="CONTAINER">
-
- &header2;
-
- <div id="CONTENT">
+ <xsl:template name="process.content">
<div id="SIDEWRAP">
&nav;
</div> <!-- SIDEWRAP -->
@@ -68,20 +51,6 @@
<a href="&base;/news/news.html">H&iacute;rek f&#245;oldal</a>
</div> <!-- CONTENTWRAP -->
- <br class="clearboth" />
-
- </div> <!-- CONTENT -->
-
- <div id="FOOTER">
- &copyright;<br />
- &date;
- </div> <!-- FOOTER -->
-
- </div> <!-- CONTAINER -->
- </div> <!-- CONTAINERWRAP -->
-
- </body>
- </html>
</xsl:template>
<xsl:template match="month">
diff --git a/hu_HU.ISO8859-2/share/sgml/templates.pastevents.xsl b/hu_HU.ISO8859-2/share/sgml/templates.pastevents.xsl
index 0850ac512b..0115384677 100644
--- a/hu_HU.ISO8859-2/share/sgml/templates.pastevents.xsl
+++ b/hu_HU.ISO8859-2/share/sgml/templates.pastevents.xsl
@@ -50,14 +50,7 @@
exclude-result-prefixes="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:output method="xml" encoding="&xml.encoding;"
- doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
- doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>
+ <xsl:import href="http://www.FreeBSD.org/XML/www/share/sgml/xhtml.xsl"/>
<xsl:param name="pastyears">2008 2007 2006 2005 2004 2003</xsl:param>
@@ -77,10 +70,9 @@
<xsl:variable name="charturl" select="'http://chart.apis.google.com/chart?cht=t&amp;chs=400x200&amp;chtm=world&amp;chco=ffffff,ffbe38,600000&amp;chf=bg,s,4D89F9'" />
- <!-- Template: events -->
- <xsl:template match="events">
+ <xsl:template name="process.content">
<xsl:variable name="chart-countries">
- <xsl:for-each select="event[
+ <xsl:for-each select="/events/event[
generate-id() =
generate-id(key('event-by-country', location/country)[1])]">
<xsl:sort select="format-number(count(key('event-by-country', location/country)), '000')" order="descending"/>
@@ -89,7 +81,7 @@
</xsl:variable>
<xsl:variable name="chart-country-counts">
- <xsl:for-each select="event[
+ <xsl:for-each select="/events/event[
generate-id() =
generate-id(key('event-by-country', location/country)[1])]">
<xsl:sort select="format-number(count(key('event-by-country', location/country)), '000')" order="descending"/>
@@ -100,16 +92,6 @@
<xsl:variable name="imageurl"><xsl:value-of select="$charturl"/>&amp;chd=t:<xsl:value-of select="$chart-country-counts"/>&amp;chld=<xsl:value-of select="$chart-countries"/></xsl:variable>
- <html>
- &header1;
-
- <body>
-
- <div id="containerwrap">
- <div id="container">
- &header2;
-
- <div id="content">
<div id="SIDEWRAP">
&nav;
<div id="FEEDLINKS">
@@ -136,6 +118,7 @@
format-number($curdate.day, '00'))"/>
</xsl:comment>
+ <xsl:for-each select="/events">
<xsl:call-template name="html-events-list-preface" />
<xsl:call-template name="html-events-map">
@@ -144,8 +127,9 @@
<!-- with parameter $year here? -->
<xsl:call-template name="html-events-list-past-heading" />
+ </xsl:for-each>
- <xsl:for-each select="event[generate-id() =
+ <xsl:for-each select="/events/event[generate-id() =
generate-id(key('event-by-month', concat(startdate/year,
format-number(startdate/month, '00')))[1])
and ((number(enddate/year) = $year))]">
@@ -182,25 +166,15 @@
<p>Az elm&uacute;lt &eacute;vek rendezv&eacute;nyei:</p>
<ul id="events-past-years">
+ <xsl:for-each select="/events">
<xsl:call-template name="split-string">
<xsl:with-param name="seperator" select="' '"/>
<xsl:with-param name="text" select="$pastyears"/>
</xsl:call-template>
+ </xsl:for-each>
</ul>
</div> <!-- contentwrap -->
-
- <br class="clearboth" />
- </div> <!-- content -->
-
- <div id="FOOTER">
- &copyright;<br />
- &date;
- </div> <!-- FOOTER -->
- </div> <!-- container -->
- </div> <!-- containerwrap -->
- </body>
- </html>
</xsl:template>
<!-- Template: event -->
diff --git a/hu_HU.ISO8859-2/share/sgml/templates.press.xsl b/hu_HU.ISO8859-2/share/sgml/templates.press.xsl
index 2f81cb4923..1a13a6fd61 100644
--- a/hu_HU.ISO8859-2/share/sgml/templates.press.xsl
+++ b/hu_HU.ISO8859-2/share/sgml/templates.press.xsl
@@ -21,27 +21,12 @@
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:import href="http://www.FreeBSD.org/XML/www/share/sgml/xhtml.xsl"/>
<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">
+ <xsl:template name="process.content">
<div id="SIDEWRAP">
&nav;
<div id="FEEDLINKS">
@@ -59,6 +44,7 @@
&header3;
+ <xsl:for-each select="/press">
<xsl:call-template name="html-news-list-press-preface" />
<xsl:call-template name="html-news-list-press">
@@ -69,21 +55,8 @@
<xsl:call-template name="html-press-make-olditems-list" />
<xsl:call-template name="html-news-list-newsflash-homelink" />
+ </xsl:for-each>
</div> <!-- CONTENTWRAP -->
- <br class="clearboth" />
-
- </div> <!-- CONTENT -->
-
- <div id="FOOTER">
- &copyright;<br />
- &date;
- </div> <!-- FOOTER -->
-
- </div> <!-- CONTAINER -->
- </div> <!-- CONTAINERWRAP -->
-
- </body>
- </html>
</xsl:template>
</xsl:stylesheet>