From: Bob Stayton Date: Thu, 29 Sep 2011 18:58:23 +0000 (+0000) Subject: Generate properties="svg mathml" attribute on chunk item in .opf file X-Git-Tag: release/1.79.1~6^2~675 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ad6a24d93aa67a12c818546b01fabfdcce1102a;p=docbook-dsssl Generate properties="svg mathml" attribute on chunk item in .opf file for each chunk that has either svg or mathml. --- diff --git a/xsl/epub3/epub3-element-mods.xsl b/xsl/epub3/epub3-element-mods.xsl index 15c731064..a28371ba6 100644 --- a/xsl/epub3/epub3-element-mods.xsl +++ b/xsl/epub3/epub3-element-mods.xsl @@ -16,6 +16,7 @@ xmlns:svg="http://www.w3.org/2000/svg" xmlns:opf="http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0" xmlns:date="http://exslt.org/dates-and-times" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:ncx="http://www.daisy.org/z3986/2005/ncx/" @@ -25,7 +26,7 @@ xmlns:xtext="xalan://com.nwalsh.xalan.Text" extension-element-prefixes="stext xtext" - exclude-result-prefixes="#default date db dc dcterms epub exsl m ncx opf pls set ssml stext str svg xtext" + exclude-result-prefixes="#default cf date db dc dcterms epub exsl m ncx opf pls set ssml stext str svg xtext" version="1.0"> @@ -141,6 +142,16 @@ book toc,title select="concat($base.dir, $epub.cover.filename)"/> + + + + + + + + + + @@ -526,6 +537,7 @@ book toc,title + @@ -549,7 +561,7 @@ book toc,title - + @@ -1188,6 +1200,14 @@ book toc,title + + + + + + + + @@ -1196,12 +1216,83 @@ book toc,title application/xhtml+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + svg + + + + + + + + + + + + + + + + + + + + + + + + + mathml + + +