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] RE: Roundtrip stylesheets how-to?


Hi Denis,

OK - those are straight-forward bugs.  Fixed in my working copy and  
will be committed to the repository rsn.  In the meantime, change  
"text" to "content", "sum" to "doc:sum".

Now, the dbk2* stylesheets are new and I haven't had time to write up  
some documentation.  The dbk2wp.xsl stylesheet is a module imported  
by the other dbk2* stylesheets.  You should use dbk2wordml.xsl,  
dbk2pages.xsl or dbk2ooo.xsl depending on which word processor you  
are targetting the output for.

BTW, I'm working on a new system for the reverse conversion that will  
handle OpenOffice.

HTHs,
Steve Ball

On 04/03/2007, at 11:38 AM, Denis Bradford wrote:

> Sorry, sent the previous before finished. I meant to say, I tried  
> this:
>
> java com.icl.saxon.StyleSheet -r  
> org.apache.xml.resolver.tools.CatalogResolver -x  
> org.apache.xml.resolver.tools.ResolvingXMLReader
> -o hr-resume.sxw
> hr-resume-docbook.xml
> roundtrip/dbk2wordml.xsl
>
> Got this result:
>
> Error at xsl:value-of on line 688 of file:/opt/xml/xsl/docbook- 
> xsl-1.72.0/roundtrip/dbk2wp.xsl:
>   Variable text has not been declared
> Error at xsl:value-of on line 702 of file:/opt/xml/xsl/docbook- 
> xsl-1.72.0/roundtrip/dbk2wp.xsl:
>   Variable text has not been declared
> Error at xsl:call-template on line 549 of file:/opt/xml/xsl/docbook- 
> xsl-1.72.0/roundtrip/dbk2wp.xsl:
>   No template exists named sum
> Error at xsl:with-param on line 796 of file:/opt/xml/xsl/docbook- 
> xsl-1.72.0/roundtrip/dbk2wp.xsl:
>   Duplicate parameter name
> Transformation failed: Failed to compile stylesheet. 4 errors  
> detected.
>
> I have an idea that I need to do something with one of the templates -
> is that what I'm missing?
>
>
>
> -------- Original Message --------
> Subject: Roundtrip stylesheets how-to?
> Date: Sat, 03 Mar 2007 19:14:08 -0500
> From: Denis Bradford <denis.bradford@verizon.net>
> Reply-To: denis.bradford@verizon.net
> To: docbook-apps@lists.oasis-open.org
> References: <200703031512.33725.tom_schr@web.de>
>
> Is there a description of the basic usage of the roundtrip  
> stylesheets?
> Forgive me if it's there - I have looked.
>
> Failing that, maybe someone who's done it can steer me straight: for
> starters, how about transforming a DocBook article to OpenOffice?
>
>
>
> ---------------------------------------------------------------------
> 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]