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.MalformedByteSequenceException: 
Invalid byte 2 of 2-byte UTF-8 sequence. Cause: 
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 
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]

Reply via email to