OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Rountrip xsl - unable to open template.dot


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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis- 
> open.org
>
>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]