Commits

Shlomi Fish  committed 57c33d0

Add more.

  • Participants
  • Parent commits cbf1a34
  • Tags Vered-XSLT-Stylesheet-version-0.2.0

Comments (0)

Files changed (1)

File src/tutorials/bad-elements/vered-xml-to-docbook.xslt

     </db:link>
 </xsl:template>
 
+<xsl:template match="vrd:pdoc_f">
+    <xsl:variable name="f">
+        <xsl:value-of select="@f" />
+    </xsl:variable>
+    <db:link>
+        <xsl:attribute name="xlink:href">
+            <xsl:text>http://perldoc.perl.org/functions/</xsl:text>
+            <xsl:value-of select="$f" />
+            <xsl:text>.html</xsl:text>
+        </xsl:attribute>
+        <xsl:apply-templates/>
+    </db:link>
+</xsl:template>
 <xsl:template match="vrd:cpan_mod">
     <db:link>
         <xsl:attribute name="xlink:href">