diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2012-08-12 20:35:40 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2012-08-12 20:35:40 +0000 |
commit | 77ddadd891c49fd5a6ca8c8f69889f92ff64ee5b (patch) | |
tree | b8a04709516f919e2dd8612a1c9391af147a4faf /ja_JP.eucJP/htdocs/search | |
parent | 9b19e6243c69f3a3b03d6a6e8dfc15c5122fb6cb (diff) | |
download | doc-77ddadd891c49fd5a6ca8c8f69889f92ff64ee5b.tar.gz doc-77ddadd891c49fd5a6ca8c8f69889f92ff64ee5b.zip |
- 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)
Notes
Notes:
svn path=/projects/sgml2xml/; revision=39366
Diffstat (limited to 'ja_JP.eucJP/htdocs/search')
-rw-r--r-- | ja_JP.eucJP/htdocs/search/index-site.xsl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ja_JP.eucJP/htdocs/search/index-site.xsl b/ja_JP.eucJP/htdocs/search/index-site.xsl index a50763d1c7..1e5f7fc9de 100644 --- a/ja_JP.eucJP/htdocs/search/index-site.xsl +++ b/ja_JP.eucJP/htdocs/search/index-site.xsl @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="eucJP"?> <!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 "http://www.FreeBSD.org のサイトマップおよび索引"> +<!ENTITY title "サイトマップ"> ]> <!-- $FreeBSD$ --> @@ -9,15 +9,18 @@ <!-- The FreeBSD Japanese Documentation Project --> <!-- Original revision: 1.29 --> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> +<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/share/sgml/libcommon.xsl"/> <xsl:import href="http://www.FreeBSD.org/XML/www/share/sgml/xhtml.xsl"/> <xsl:key name="indexLetter" match="term" use="translate(substring(text, 1, 1), $lowercase, $uppercase)"/> - <xsl:template name="process.contentwrap"> - <h1>サイトマップ</h1> + <xsl:variable name="title">&title;</xsl:variable> + <xsl:template name="process.contentwrap"> <xsl:call-template name="html-sitemap"/> <h2>各ホームページ</h2> |