File: xsl/epub-toc.xsl

Recommend this page to a friend!
  Classes of Karl Holz  >  eKatab PHP ePub Reader  >  xsl/epub-toc.xsl  >  Download  
File: xsl/epub-toc.xsl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: eKatab PHP ePub Reader
Display ebooks in the epub format on Web pages
Author: By
Last change:
Date: 4 years ago
Size: 588 bytes


Class file image Download
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl=""
  <xsl:output  method="text"/>
  <xsl:param name="search" >section-0006.html</xsl:param>
  <xsl:template match="/"><xsl:apply-templates select="//ncx:navPoint|//navPoint" /></xsl:template>
  <xsl:template match="//ncx:navPoint|//navPoint">
    <xsl:if test="starts-with(ncx:content/@src|content/@src,$search)"><xsl:value-of select="ncx:navLabel/ncx:text|navLabel/text"/></xsl:if>

For more information send a message to info at phpclasses dot org.