Hi everybody,

I'm trying to transform my docbook files to xhtml  with the xml-maven-plugin
in order to include them in the maven generated site.
I would like to transform the .xml file using the .xsl present in the
docbook-xsl plugin. How can I do that simply (without unpack the archive) ?

my dependency which contains the .jar with the .xsl files I want to use.
 <dependency>
            <groupId>org.docbook</groupId>
              <artifactId>docbook-xsl</artifactId>
             <version>1.72.0</version>
   </dependency>

The transformation where I have to set the path of the .xsl file but it's in
the plugin archive not in my directory
<transformationSets>
            <transformationSet>
              <dir>${basedir}/src/docbook</dir>
              <stylesheet> ** What I want :
resource://org.docbook/docbook-xsl/xhtml/docbook.xsl** </stylesheet>
            </transformationSet>
 </transformationSets>

If you have a idea, you're welcome :)

Thanks you

Yann

Reply via email to