PHP Classes
elePHPant
Icontem

File: xsl/encryption.xsl

Recommend this page to a friend!
  Classes of Karl Holz  >  eKatab PHP ePub Reader  >  xsl/encryption.xsl  >  Download  
File: xsl/encryption.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: 3 years ago
Size: 824 bytes
 

 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:c="urn:oasis:names:tc:opendocument:xmlns:container" 
  xmlns:d="http://www.w3.org/2000/09/xmldsig#" 
  xmlns:e="http://www.w3.org/2001/04/xmlenc#"
  version="1.0">
<xsl:output method="text"/>
 <xsl:template match="/">[encryption]
<xsl:apply-templates select="//e:EncryptedData|//EncryptedData"/>
 </xsl:template>
  <xsl:template match="//e:EncryptedData|//EncryptedData">;<xsl:value-of select="//e:CipherReference/@URI|//CipherReference/@URI"/>
url[]="<xsl:value-of select="//e:CipherReference/@URI|//CipherReference/@URI"/>"
method[]="<xsl:value-of select="e:EncryptionMethod/@Algorithm|EncryptionMethod/@Algorithm"/>"
key_val[]="<xsl:value-of select="//d:KeyName|//KeyName"/>"
</xsl:template>
</xsl:stylesheet>