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] Generate custom XSL templates


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 :
> > > <?xml version="1.0"?>
> > > 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
> >
> >
>


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