OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: DB Publishers to XSLT epub output -- POETRY TAG strangeness

I have started to investigate the Docbook for Publishers and using the latest Docbook XSLT to render it. I'm primarily interested in producing epub output. 

I'm using sample code from the Docbook for Publishers Guide and am using the docbook-xsl-ns-1.79.1/epub3/chunk.xsl to transform everything: 

I think this is a bug. Let me know if you want me to file a bug or if this is a known issue. 

<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://docbook.org/xml/publishers/1.0/rng/publishers.rng" type="xml"?>
<!--<?oxygen RNGSchema="http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rng" type="xml"?>-->
<!DOCTYPE book [
<!ENTITY % myents SYSTEM "isopub.ent" >
<book xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"
    xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="publisher">
        <title>Publisher Experimental</title>

            <publishername>Personville Press </publishername>
            <address>Houston, Texas </address>
        <edition>1st Edition (Ebook) 1.1.1 October 1, 2016 </edition>
                <chapter xml:id="test2">
            <title> First Chapter </title>
            <title>Auld Lang Syne</title>
                <creator xmlns="http://purl.org/dc/terms/">Robert 
                <line>Should auld acquaintance be 
                <line>And never brought to mind?</line>
                <line>Should auld acquaintance be forgot,</line>
                <line>And auld lang syne?</line>
                <line>For auld lang syne, my dear,</line>
                <line>For auld lang syne,</line>
                <line>We'll tak a cup o' kindness yet,</line>
                <line>For auld lang syne.</line>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns="http://www.w3.org/1999/xhtml" xmlns:d="http://docbook.org/ns/docbook"
  xmlns:date="http://exslt.org/dates-and-times" xmlns:saxon="http://icl.com/saxon"
  exclude-result-prefixes="d date saxon" version="1.0">

  <xsl:import href="">

   <xsl:param name="html.stylesheet">general-kindle.css </xsl:param>
  <xsl:param name="chapter.autolabel" select="0"/>
  <xsl:param name="use.id.as.filename">1</xsl:param>
  <xsl:param name="toc.section.depth">0</xsl:param>


The output is very strange. (I don't know if the HTML source  will appear in the email, so I'm putting it at this URL: 


The problem is that the POETRY tag is showing and you have special characters to simulate the < and >. (So the output should have been <poetry>  and </poetry> which won't be rendered in the HTML output? 

Robert Nagle
22118 FINCASTLE DR KATY TX 77450-1727
(Cell) 832-251-7522; (Skype) idiotprogrammer;  Carbon Neutral Since Jan 2010

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]