docbook-apps

  • 1.  Generate custom XSL templates

    Posted 06-12-2007 08:04
    I'm using docbook distribution 1.71.0.
    I would like to customize th title page so I've followed:
    http://www.sagehill.net/docbookxsl/TitlePageNewElems.html

    But when I look at the xsl as result it contains :

    and a lot of spaces

    To be sure I've tried with the files shipped with the docbook xsl distribution.
    Here the command I've used:

    xsltproc -v -output mytitlepage.xsl
    /usr/share/xml/docbook/stylesheet/nwalsh/fo/titlepage.xsl
    /usr/share/xml/docbook/stylesheet/nwalsh/fo/titlepage.templates.xml

    using the -v option I get lots of

    xsltProcessOneNode: no template found for *

    where * stands for titlepage, titlepage-content, etc...

    I think I'm missing something but I don't know.
    Thank you in advance.

    Luca Giandoso



  • 2.  Re: [docbook-apps] Generate custom XSL templates

    Posted 06-12-2007 10:04
    Not sure if this is the problem or not Luca but with xsltproc, you
    need to use either "-o filename" (one dash) or "--output filename"
    (two dashes). Does that make any difference?

    Ken

    On 6/12/07, Luca Giandoso <luca.giandoso@gmail.com> wrote:
    > I'm using docbook distribution 1.71.0.
    > I would like to customize th title page so I've followed:
    > http://www.sagehill.net/docbookxsl/TitlePageNewElems.html
    >
    > But when I look at the xsl as result it contains :
    >
    > and a lot of spaces
    >
    > To be sure I've tried with the files shipped with the docbook xsl distribution.
    > Here the command I've used:
    >
    > xsltproc -v -output mytitlepage.xsl
    > /usr/share/xml/docbook/stylesheet/nwalsh/fo/titlepage.xsl
    > /usr/share/xml/docbook/stylesheet/nwalsh/fo/titlepage.templates.xml
    >
    > using the -v option I get lots of
    >
    > xsltProcessOneNode: no template found for *
    >
    > where * stands for titlepage, titlepage-content, etc...
    >
    > I think I'm missing something but I don't know.
    > Thank you in advance.
    >
    > Luca Giandoso
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >



  • 3.  Re: [docbook-apps] Generate custom XSL templates

    Posted 06-12-2007 10:12
    Ken, thank you for you answer and sorry for the stupid error posting
    the message but that's not the problem.
    Any other ideas?

    Luca

    On 6/12/07, Ken Morse <kenneth.morse@gmail.com> wrote:
    > Not sure if this is the problem or not Luca but with xsltproc, you
    > need to use either "-o filename" (one dash) or "--output filename"
    > (two dashes). Does that make any difference?
    >
    > Ken
    >
    > On 6/12/07, Luca Giandoso <luca.giandoso@gmail.com> wrote:
    > > I'm using docbook distribution 1.71.0.
    > > I would like to customize th title page so I've followed:
    > > http://www.sagehill.net/docbookxsl/TitlePageNewElems.html
    > >
    > > But when I look at the xsl as result it contains :
    > >
    > > and a lot of spaces
    > >
    > > To be sure I've tried with the files shipped with the docbook xsl distribution.
    > > Here the command I've used:
    > >
    > > xsltproc -v -output mytitlepage.xsl
    > > /usr/share/xml/docbook/stylesheet/nwalsh/fo/titlepage.xsl
    > > /usr/share/xml/docbook/stylesheet/nwalsh/fo/titlepage.templates.xml
    > >
    > > using the -v option I get lots of
    > >
    > > xsltProcessOneNode: no template found for *
    > >
    > > where * stands for titlepage, titlepage-content, etc...
    > >
    > > I think I'm missing something but I don't know.
    > > Thank you in advance.
    > >
    > > Luca Giandoso
    > >
    > > ---------------------------------------------------------------------
    > > 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
    >
    >



  • 4.  Re: [docbook-apps] Generate custom XSL templates

    Posted 06-12-2007 11:58
    Yes, one other Luca: make sure you use use template/titlepage.xsl as
    your stylesheet, not fo/titlepage.xsl.

    xsltproc --output mytitlepage.xsl \
    /usr/share/xml/docbook/stylesheet/nwalsh/template/titlepage.xsl \
    /usr/share/xml/docbook/stylesheet/nwalsh/fo/titlepage.templates.xml

    Ken

    On 6/12/07, Luca Giandoso <luca.giandoso@gmail.com> wrote:
    > Ken, thank you for you answer and sorry for the stupid error posting
    > the message but that's not the problem.
    > Any other ideas?
    >
    > Luca
    >
    > On 6/12/07, Ken Morse <kenneth.morse@gmail.com> wrote:
    > > Not sure if this is the problem or not Luca but with xsltproc, you
    > > need to use either "-o filename" (one dash) or "--output filename"
    > > (two dashes). Does that make any difference?
    > >
    > > Ken
    > >
    > > On 6/12/07, Luca Giandoso <luca.giandoso@gmail.com> wrote:
    > > > I'm using docbook distribution 1.71.0.
    > > > I would like to customize th title page so I've followed:
    > > > http://www.sagehill.net/docbookxsl/TitlePageNewElems.html
    > > >
    > > > But when I look at the xsl as result it contains :
    > > >
    > > > and a lot of spaces
    > > >
    > > > To be sure I've tried with the files shipped with the docbook xsl distribution.
    > > > Here the command I've used:
    > > >
    > > > xsltproc -v -output mytitlepage.xsl
    > > > /usr/share/xml/docbook/stylesheet/nwalsh/fo/titlepage.xsl
    > > > /usr/share/xml/docbook/stylesheet/nwalsh/fo/titlepage.templates.xml
    > > >
    > > > using the -v option I get lots of
    > > >
    > > > xsltProcessOneNode: no template found for *
    > > >
    > > > where * stands for titlepage, titlepage-content, etc...
    > > >
    > > > I think I'm missing something but I don't know.
    > > > Thank you in advance.
    > > >
    > > > Luca Giandoso
    > > >
    > > > ---------------------------------------------------------------------
    > > > 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
    > >
    > >
    >



  • 5.  Re: [docbook-apps] Generate custom XSL templates

    Posted 06-12-2007 12:13
    That fixed!
    I thought I have to use the fo/titlepage.xsl because I was sure there
    was not another one in template... but I was wrong and so I didn't
    realize what was the problem.

    Thank you very much for your patience and help.

    Luca

    On 6/12/07, Ken Morse <kenneth.morse@gmail.com> wrote:
    > Yes, one other Luca: make sure you use use template/titlepage.xsl as
    > your stylesheet, not fo/titlepage.xsl.
    >
    > xsltproc --output mytitlepage.xsl \
    > /usr/share/xml/docbook/stylesheet/nwalsh/template/titlepage.xsl \
    > /usr/share/xml/docbook/stylesheet/nwalsh/fo/titlepage.templates.xml
    >
    > Ken
    >
    > On 6/12/07, Luca Giandoso <luca.giandoso@gmail.com> wrote:
    > > Ken, thank you for you answer and sorry for the stupid error posting
    > > the message but that's not the problem.
    > > Any other ideas?
    > >
    > > Luca
    > >
    > > On 6/12/07, Ken Morse <kenneth.morse@gmail.com> wrote:
    > > > Not sure if this is the problem or not Luca but with xsltproc, you
    > > > need to use either "-o filename" (one dash) or "--output filename"
    > > > (two dashes). Does that make any difference?
    > > >
    > > > Ken
    > > >
    > > > On 6/12/07, Luca Giandoso <luca.giandoso@gmail.com> wrote:
    > > > > I'm using docbook distribution 1.71.0.
    > > > > I would like to customize th title page so I've followed:
    > > > > http://www.sagehill.net/docbookxsl/TitlePageNewElems.html
    > > > >
    > > > > But when I look at the xsl as result it contains :
    > > > >
    > > > > and a lot of spaces
    > > > >
    > > > > To be sure I've tried with the files shipped with the docbook xsl distribution.
    > > > > Here the command I've used:
    > > > >
    > > > > xsltproc -v -output mytitlepage.xsl
    > > > > /usr/share/xml/docbook/stylesheet/nwalsh/fo/titlepage.xsl
    > > > > /usr/share/xml/docbook/stylesheet/nwalsh/fo/titlepage.templates.xml
    > > > >
    > > > > using the -v option I get lots of
    > > > >
    > > > > xsltProcessOneNode: no template found for *
    > > > >
    > > > > where * stands for titlepage, titlepage-content, etc...
    > > > >
    > > > > I think I'm missing something but I don't know.
    > > > > Thank you in advance.
    > > > >
    > > > > Luca Giandoso
    > > > >
    > > > > ---------------------------------------------------------------------
    > > > > 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
    > > >
    > > >
    > >
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >