summaryrefslogtreecommitdiff
path: root/docs/xsl/common.xsl
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-13 05:57:20 -0800
committerStefano Karapetsas <[email protected]>2014-01-13 05:57:20 -0800
commit342daa42359da5edb023cbd6bb6afd4fd63a088c (patch)
tree08f23ffbaab794432dcb18d5bdc554d37e495db3 /docs/xsl/common.xsl
parent276b5f84da52084c31321cb363f90e2de55242e0 (diff)
parent0ce31a551ded5d0e03a7309a0cfcb38add3d203a (diff)
downloadpython-caja-342daa42359da5edb023cbd6bb6afd4fd63a088c.tar.bz2
python-caja-342daa42359da5edb023cbd6bb6afd4fd63a088c.tar.xz
Merge pull request #12 from infirit/master
Revert "Do not dlopen libpython" + various fixes and cleanups
Diffstat (limited to 'docs/xsl/common.xsl')
-rw-r--r--docs/xsl/common.xsl19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/xsl/common.xsl b/docs/xsl/common.xsl
new file mode 100644
index 0000000..606313f
--- /dev/null
+++ b/docs/xsl/common.xsl
@@ -0,0 +1,19 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [
+]>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version='1.0'>
+
+<xsl:template match="parameter">
+ <xsl:choose>
+ <xsl:when test="@role = 'keyword'">
+ <xsl:call-template name="inline.boldmonoseq"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="inline.italicmonoseq"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>