I'm not able to duplicate this problem outside of Ant. Have you tried it
outside of Ant, with a direct java command using Saxon?
Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]
----- Original Message -----
From: "Mathias Reinke" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, May 05, 2007 5:07 AM
Subject: [docbook-apps] eclipsehelp - namespace problem, no template
matches
Hi
I use the docbook stylesheets from docbook-xsl-1.72.0 distribution.
I like to transform docbook to eclipse help files managed by ant, e.g.:
<target name="generate.eclipse">
<xslt style="${basedir}\${docbook.xsl.dir}\eclipse\eclipse.xsl"
in="${input.dir}\${input.name}.xml" out="${output.dir}/default.html"
classpath="${saxon655.cp}">
<param name="eclipse.autolabel" expression="1" />
<param name="eclipse.plugin.name" expression="${output.name}" />
<param name="eclipse.plugin.id"
expression="de.reinke.help.${output.name}" />
<param name="eclipse.plugin.provider" expression="Reinke" />
</xslt>
</target>
The following problem appears:
[xslt] Element book in namespace '' encountered, but no template matches.
The same issue for bookinfo, chapter, title, para, orderedlist etc.
In the end I receive the message: e.g.
[xslt] Request for label of unexpected element: book
I use saxon655.
My docbook xml looks like:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<book lang="de-DE">
<bookinfo><title>Modell in DocBook</title></bookinfo>
<chapter><title>Einleitung</title>
<para>
<orderedlist numeration="arabic">
<title>Das Modell beschreibt die Personen</title>
<listitem><para>Dick</para></listitem>
<listitem><para>Doof</para></listitem>
</orderedlist>
</para>
<para>EIn beliebiger Text</para>
</chapter>
Do anyone know what's wrong?
The plugin.xml and toc.xml aren't put to the specified output dir, it
works concerning the html file.
How do I specify where to put the plugin.xml and toc.xml?
Any help is appreciated!
Regards,
Mathias
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]