Mercurial > hg > Aquinas
changeset 76:2a8a66db129a
fix ns decl glitches
| author | ht |
|---|---|
| date | Tue, 05 Jan 2010 16:30:19 +0000 |
| parents | fad07ffd0386 |
| children | cd7d748fbb09 |
| files | summa/bilingual/merge.xpl |
| diffstat | 1 files changed, 10 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/summa/bilingual/merge.xpl Tue Jan 05 16:18:40 2010 +0000 +++ b/summa/bilingual/merge.xpl Tue Jan 05 16:30:19 2010 +0000 @@ -1,17 +1,20 @@ <?xml version='1.0'?> <!DOCTYPE p:pipeline SYSTEM "../../../../WWW/XML/XProc/docs/schemas/xproc.dtd" > -<p:pipeline xmlns:p="http://www.w3.org/ns/xproc" xmlns:x="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"> +<p:pipeline xmlns:p="http://www.w3.org/ns/xproc" xmlns:x="http://www.w3.org/1999/xhtml"> - <p:documentation> + <p:documentation xmlns="http://www.w3.org/1999/xhtml"> <div>Run this e.g. as follows: xprocs --input source=../english/FP_ii.html merge.xpl lfs=../latin/sth1002.html\;../latin/sth1003.html\;../latin/sth1015.html rawpart=FP.ii</div> </p:documentation> + <p:option name="lfs" required="true"> - <p:documentation> + <p:documentation xmlns="http://www.w3.org/1999/xhtml"> <div>list of latin files, use ; as separator</div> </p:documentation> </p:option> + <p:variable name="rawpart" select="/x:div/@id"/> + <p:delete match="x:a[@href and not(text())]"/> <p:viewport match="x:div[@class='div3']" name="vp"> <p:xslt> @@ -20,12 +23,12 @@ </p:input> </p:xslt> <p:viewport match="x:div[@class='div4' and not(@id)]"> - <p:documentation> + <p:documentation xmlns="http://www.w3.org/1999/xhtml"> <div>Treat tail of prooemium as index</div> </p:documentation> <p:xslt> <p:input port="stylesheet"> - <p:inline> + <p:inline xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:x="http://www.w3.org/1999/xhtml" exclude-result-prefixes="x xsl"> <xsl:variable name="prefix" select="concat('#',substring-before(/x:div/x:p[1]/@id,'-'),'_A')"/> <xsl:template match="x:p[starts-with(.,' (')]"> @@ -62,7 +65,7 @@ </p:viewport> <p:insert match="x:body" position="first-child" name="wrap"> <p:input port="source"> - <p:inline> + <p:inline xmlns="http://www.w3.org/1999/xhtml"> <html> <head> <title>Bilingual Aquinas</title> @@ -89,7 +92,7 @@ </p:wrap-sequence> <p:xslt name="toc"> <p:input port="stylesheet"> - <p:inline> + <p:inline xmlns="http://www.w3.org/1999/xhtml"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:x="http://www.w3.org/1999/xhtml" exclude-result-prefixes="x xsl"> <xsl:template match="/x:div"> <div class="toc">
