Hello,

I tried the simple docbook conversion but I successively get the
following error:

----- START OF OUTPUT SNIPPET -----
docbook-simple:
    [style] Transforming into
D:\Development\Workspace\Eclipse\stecl\target\generated-xdocs
    [style] Transforming into
D:\Development\Workspace\Eclipse\stecl\target\generated-xdocs
    [style] Loading stylesheet
C:\Software\Apache\Maven\plugins\docs\docbook2document.xsl
    [style] Failed to read stylesheet
C:\Software\Apache\Maven\plugins\docs\docbook2document.xsl
    [style] Failed to process
D:\Development\Workspace\Eclipse\stecl\src\sdocbook\test.xml

BUILD FAILED

C:\Software\Apache\Maven\plugins\docs\build.xml:586:
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: xsl:template is not allowed
in this position in the stylesheet!
----- END OF OUTPUT SNIPPET -----

Here is the document I try to convert:

----- START OF INPUT DOCUMENT -----
<?xml version='1.0'?>

<!DOCTYPE article PUBLIC "-//OASIS//DTD Simplified DocBook XML
V4.1.2.5//EN"
"http://www.oasis-open.org/docbook/xml/simple/4.1.2.5/sdocbook.dtd";>

<article id="test">
  <articleinfo>
    <title>STEcl test</title>

    <author>
      <firstname>Ringo</firstname>
      <surname>De Smet</surname>
    </author>

    <date>2002/06/26</date>

  </articleinfo>

  <section id="intro">
    <title>Introduction</title>

    <para>Some text.</para>

  </section>
</article>
----- END OF INPUT DOCUMENT -----

Can anyone help me out? I'm using a freshly build maven from CVS on JDK
1.4.0.

Ringo

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to