moved xsl files to get better overview

svn path=/branches/test/; revision=29187
This commit is contained in:
paul 2014-09-07 15:03:52 +00:00
parent 879e94f4f5
commit 0c5d9b4218
5 changed files with 29 additions and 21 deletions

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="pdfreaders_head.xsl" />
<xsl:import href="pdfreaders_body.xsl" />
<xsl:import href="xslt/pdfreaders_head.xsl" />
<xsl:import href="xslt/pdfreaders_body.xsl" />
<xsl:output method="html" omit-xml-declaration="yes" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:include href="../build/xslt/fsfe_document.xsl" />
<xsl:include href="pdfreaders_list.xsl" />
<xsl:include href="xslt/pdfreaders_list.xsl" />
<xsl:include href="../build/xslt/fsfe_nolocal.xsl" />
</xsl:stylesheet>

17
pdfreaders/wgen2xhtml.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
sed -rn '
/---/,/---/{
s:^HeaderTitle\: *(.+)$:<?xml version="1.0" encoding="utf-8" ?>\
<html> <head>\
<title>\1</title>\
</head> <body>\
:p;d
};
1,${
s:\{link\: *\{path\: *([^,]+), *attr\: *\{\:link_text\: *([^\}]+)\}\}\}:<a href="\1">\2</a>:g
s:href="index.html":href="pdfreaders.html":g
s:\{relocatable\: *(.+)\}:.\1:g
s:^.*$: &:p
};
$a</body> </html>
'

View File

@ -2,25 +2,16 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- xsl:import href="../build/xslt/fsfe_headings.xsl" / -->
<!--xsl:include href="../build/xslt/fsfe_pageclass.xsl" /-->
<!--xsl:include href="../build/xslt/fsfe_pageheader.xsl" /-->
<xsl:include href="../build/xslt/notifications.xsl" />
<!--xsl:include href="../build/xslt/fsfe_mainsection.xsl" /-->
<!--xsl:include href="../build/xslt/fsfe_followupsection.xsl" /-->
<!--xsl:include href="../build/xslt/body_scripts.xsl" /-->
<xsl:include href="../build/xslt/translation_list.xsl" />
<xsl:include href="../build/xslt/footer_sitenav.xsl" />
<xsl:include href="../build/xslt/footer_sourcelink.xsl" />
<xsl:include href="../build/xslt/footer_legal.xsl" />
<!-- xsl:import href="../../build/xslt/fsfe_headings.xsl" / -->
<xsl:include href="../../build/xslt/notifications.xsl" />
<!--xsl:include href="../../build/xslt/fsfe_followupsection.xsl" /-->
<xsl:include href="../../build/xslt/translation_list.xsl" />
<xsl:include href="../../build/xslt/footer_sitenav.xsl" />
<xsl:include href="../../build/xslt/footer_sourcelink.xsl" />
<xsl:include href="../../build/xslt/footer_legal.xsl" />
<xsl:include href="../tools/xsltsl/static-elements.xsl" />
<xsl:include href="../tools/xsltsl/translations.xsl" />
<!--xsl:call-template name="fsfe_pageclass" />
<xsl:call-template name="fsfe_pageheader" />
<xsl:call-template name="fsfe_mainsection" />
<xsl:call-template name="fsfe_followupsection" /-->
<xsl:include href="../../tools/xsltsl/static-elements.xsl" />
<xsl:include href="../../tools/xsltsl/translations.xsl" />
<xsl:template name="page-body">
<xsl:element name="body">