Hi Mathias,

You need to use template.xml, not template.dot. All inputs to a (v1.0) XSL stylesheet must be XML. The file template.dot is only there for reference.

HTHs,
Steve Ball

On 30/04/2007, at 6:01 PM, Mathias Reinke wrote:

Hi

I use the docbook stylesheets from docbook-xsl-1.72.0 distribution.
I'd like to do a docbook2wordml transformation managed by an ant target, e.g.:

<target name="generate.word">
<xslt style="${basedir}\${docbook.xsl.dir}\roundtrip \dbk2wordml.xsl" in="${input.dir}\${input.name}.xml" out="$ {output.dir}\${output.name}.xml" classpath="${saxon8.cp}"> <param name="wordml.template" expression="${basedir}\$ {docbook.xsl.dir}\roundtrip\template.dot" />
</xslt></target>

But I get the following error concerning the template file:
[xslt] C:/lib/docbook/docbook-xsl/docbook-xsl-1.72.0/roundtrip/ dbk2wordml.xsl:32: Error! com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceExcept ion: Invalid byte 2 of 2-byte UTF-8 sequence. Cause: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceExcept ion: Invalid byte 2 of 2-byte UTF-8 sequence. [xslt] Unable to open template document "C:/lib/docbook/docbook-xsl/ docbook-xsl-1.72.0/roundtrip/template.dot"
[xslt] Failed to process C:\example.xml

I tried it with several processors like saxon8, saxon655, xalan27.
Do I something wrong?

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] open.org




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

Reply via email to