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] Docbook and Cocoon - Problem with output!


Could you maybe explain what kind of setup you're using with Cocoon?
Doesn't it have a Tomcat integration mode and an offline mode? Can you
tell us where the logs are written to in the mode you're using - and
what the contents of the log are? I believe Cocoon works on a pattern
system defined by a map file. I think the transformations it performs
on your behalf are defined by the matching of your input file string
to patterns in the map file. Therefore, the contents of the map file
are probably important as well. Are you following some set of
instructions to create these files? What do they tell you to do? Could
you give us the link to the instructions if they exist?

I believe Cocoon is based on Ant. Maybe you would be better off using
Ant directly. Ant can give you the control and error logging you are
likely to need in handling DocBook transforms.

When I first looked at DocBook and XML in general (and it wasn't that
long ago, really), Cocoon looked like a good option, but I was never
able to make it work.
...

On 9/24/06, POD69@gmx.net <POD69@gmx.net> wrote:
> hello
>
> mmmm i dont get error messages and i also tried to process with the original docbook.xsl but it doesnt work the output looks like this:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd";>
> <html>
> <head>
> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
> <title>???TITLE???</title>
> <meta content="DocBook XSL Stylesheets V1.71.0" name="generator">
> </head>
> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
> <font color="red">&lt;article&gt;
>         <font color="red">&lt;info&gt;
>                 <font color="red">&lt;title&gt;Title&lt;/title&gt;</font>
>
>                 <font color="red">&lt;subtitle&gt;Test&lt;/subtitle&gt;</font>
>                 <font color="red">&lt;copyright&gt;
>                         <font color="red">&lt;holder&gt;me
>
> etc.
> the file is found otherwise i would get an java nullpointer exception!
> as i said if i process it with my saxon everyting works how it should work.
> so i dont know what to do ?
>
> regards pod
>
>
> -------- Original-Nachricht --------
> Datum: Fri, 22 Sep 2006 07:57:42 -0700
> Von: "Bob Stayton" <bobs@sagehill.net>
> An: POD69@gmx.net, docbook-apps@lists.oasis-open.org
> Betreff: Re: [docbook-apps] Docbook and Cocoon - Problem with output!
>
> > The DocBook stylesheet outputs elements that are not otherwise matched by
> > an xsl:template in red. I suspect your Cocoon environment is not finding
> > the docbook.xsl file to import.  Is there an error message file that gives
> > you more information?  Try processing first with the stock docbook.xsl to
> > see if that works in Cocoon.
> >
> > Bob Stayton
> > Sagehill Enterprises
> > DocBook Consulting
> > bobs@sagehill.net
> >
> >
> > ----- Original Message -----
> > From: <POD69@gmx.net>
> > To: <docbook-apps@lists.oasis-open.org>
> > Sent: Friday, September 22, 2006 6:32 AM
> > Subject: [docbook-apps] Docbook and Cocoon - Problem with output!
> >
> >
> > > hello
> > >
> > > i try to integrate docbook into my cocoon but it doesnt work properly.
> > > the problem is that i get all tags as an output in red color. i use my
> > > own xsl file and there i have an own xsl part i also refer in that xsl
> > > file to the original docbook.xsl. when i parse it with my saxon
> > > everything works fine and i get an html output!
> > >
> > > regards pod
> > > --
> > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> > > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
> > >
> > >
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
> --
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>


-- 
http://chris.chiasson.name/


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