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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] Tell me agian why I need mml:?


On Sunday 06 November 2005 08:25 am, Mauritz Jeanson wrote:
> > -----Original Message-----
> > From: Steven T. Hatton
> >
> > xsltproc --xinclude\
> >  --stringparam base.dir html-out/\
> >  --stringparam html.ext .xhtml \
> > /opt/org/docbook/docbook-xsl-1.69.1/xhtml/chunk.xsl algebra.xml
> > Stripping NS from DocBook 5/NG document.
> > Processing stripped document.
> > No template matches book.
> > No template matches title in book.
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!DOCTYPE span PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> > <span xmlns="http://www.w3.org/1999/xhtml"; class="ERROR">&lt;book&gt;
> >   <span class="ERROR">&lt;title&gt;Foundational Concepts of
> > Mathematics&lt;/title&gt;</span>
>
> I think this is due to a namespace-stripping problem with DocBook 5/NG
> input and XHTML output. In 1.69.1, the templates that remove the DocBook
> 5/NG namespace unfortunately also add the XHTML namespace. When the
> resulting node-set is processed further, you get several "No template
> matches" errors, because the elements now are in the wrong namespace.
>
> The namespace-stripping logic has recently been updated in CVS, and it
> seems to work in the latest snapshot releases.
>
> /MJ

CVS?  Does that mean 
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/docbook co -P xsl?

cat test.xml
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML 4.5CR1//EN" 
"http://www.oasis-open.org/docbook/xml/4.5CR1/docbookx.dtd";>
<book>
  <title>Simple Book</title>
  <chapter>
    <title>Simple Chapter</title>
    <para>Simple Paragraph.</para>
  </chapter>
</book>

xsltproc --xinclude --stringparam base.dir html-out/ --stringparam 
html.ext .xhtml /opt/org/docbook/xsl/html/chunk.xsl test.xml 
warning: failed to load external entity "/opt/org/docbook/xsl/html/param.xsl"
compilation error: file /opt/org/docbook/xsl/html/docbook.xsl line 26 element 
include
xsl:include : unable to load /opt/org/docbook/xsl/html/param.xsl
warning: failed to load external entity "/opt/org/docbook/xsl/lib/lib.xsl"
compilation error: file /opt/org/docbook/xsl/html/docbook.xsl line 27 element 
include
xsl:include : unable to load /opt/org/docbook/xsl/lib/lib.xsl
warning: failed to load external entity 
"/opt/org/docbook/xsl/html/titlepage.templates.xsl"
compilation error: file /opt/org/docbook/xsl/html/docbook.xsl line 67 element 
include
xsl:include : unable to load /opt/org/docbook/xsl/html/titlepage.templates.xsl

It seems there are some components missing. Any ideas?

Steven


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