diff schemas/doxygen/csharp/file.xsl @ 7:fa7a99c2d079

dox library templates and schemas
author sergey
date Wed, 14 May 2014 01:22:21 +0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schemas/doxygen/csharp/file.xsl	Wed May 14 01:22:21 2014 +0400
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet
+    version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+>
+    <xsl:import href="default.xsl"/>
+    <xsl:template name="compounddefType">
+	    <h1>file <xsl:apply-templates select="compoundname" mode="compounddefType"/></h1>
+	    <div class="dox-source-code">
+			<xsl:apply-templates select="programlisting" mode="compounddefType"/>
+		</div>
+    
+    </xsl:template>
+    <xsl:template name="listingType">
+		<xsl:apply-templates mode="listingType"/>
+	</xsl:template>
+	<xsl:template name="codelineType">
+		<div>
+			<xsl:apply-templates mode="codelineType"/>
+		</div>
+	</xsl:template>
+	<xsl:template match="sp" mode="highlightType">
+		<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
+	</xsl:template>
+	<xsl:template match="highlight" mode="codelineType">
+		<span class="{@class}"><xsl:call-template name="highlightType"/></span>
+	</xsl:template>
+</xsl:stylesheet>
\ No newline at end of file