[Mplayer-cvslog] CVS: main/DOCS/xml/ru html-chunk.xsl,NONE,1.1 html-common.xsl,NONE,1.1 Makefile,1.2,1.3 html.xsl,1.3,1.4

Dmitry Baryshkov CVS lumag at mplayerhq.hu
Mon Oct 20 11:56:52 CEST 2003


Update of /cvsroot/mplayer/main/DOCS/xml/ru
In directory mail:/var/tmp.root/cvs-serv21313/ru

Modified Files:
	Makefile html.xsl 
Added Files:
	html-chunk.xsl html-common.xsl 
Log Message:
Add support for building all-in-one HTML docs. (Files go to DOCS/HTML-single)


--- NEW FILE ---
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">

  <xsl:import href="../html-chunk.xsl"/>
  <xsl:include href="html-common.xsl"/>

</xsl:stylesheet>

--- NEW FILE ---
<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">

  <xsl:param name="chunker.output.encoding" select="'KOI8-R'"/>
  <xsl:output encoding="KOI8-R"/>

  <!-- This forces Saxon to output chars from KOI8-R as is and not as something like &#444;
    WARNING: This will probably work with HTML output, and won't with output XML.
    Anyway, this file will generate only HTML :)
    -->
  <xsl:param name="saxon.character.representation" select="'native;decimal'"/>

</xsl:stylesheet>

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/xml/ru/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile	8 Oct 2003 02:00:59 -0000	1.2
+++ Makefile	20 Oct 2003 09:56:48 -0000	1.3
@@ -7,4 +7,5 @@
 USE_SYMLINKS = yes
 
 # Dependency information.
-$(HTMLDIR)/index.html: $(wildcard *.xml)
+$(HTMLDIR)/index.html: $(wildcard *.xml) html-common.xsl
+$(HTMLFILE): $(wildcard *.xml) html-common.xsl

Index: html.xsl
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/xml/ru/html.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- html.xsl	22 Sep 2003 08:20:53 -0000	1.3
+++ html.xsl	20 Oct 2003 09:56:48 -0000	1.4
@@ -1,15 +1,8 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 version="1.0">
 
   <xsl:import href="../html.xsl"/>
-  <xsl:param name="chunker.output.encoding" select="'KOI8-R'"/>
-
-  <!-- This forces Saxon to output chars from KOI8-R as is and not as something like &#444;
-    WARNING: This will probably work with HTML output, and won't with output XML.
-    Anyway, this file will generate only HTML :)
-    -->
-  <xsl:param name="saxon.character.representation" select="'native;decimal'"/>
+  <xsl:include href="html-common.xsl"/>
 
 </xsl:stylesheet>



More information about the MPlayer-cvslog mailing list