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: SOLVED - Re: [docbook-apps] blank lines when trying to generatecustom titlepage with xsltproc


Hi Bob,
  DOH!  I was doing this:

xsltproc --output /tmp/blah.xsl
/usr/share/xml/docbook/stylesheet/docbook-xsl/html/titlepage.xsl
titlepage.templates.xml

instead of:

xsltproc --output /tmp/blah.xsl
/usr/share/xml/docbook/stylesheet/docbook-xsl/template/titlepage.xsl
titlepage.templates.xml

html/titlepage.xsl  vs  template/titlepage.xsl.

I thought 'template' meant which template;  html or fo,  rather than
actual 'template'.

thanks!
Matt

On Fri, Dec 10, 2010 at 10:23 AM, Bob Stayton <bobs@sagehill.net> wrote:
> Hi,
> I can't see what is going wrong from the information you provided.  When I
> cd to docbook-xsl-1.76.1 and execute this command:
>
>  xsltproc -o myfile.xsl  template/titlepage.xsl  fo/titlepage.templates.xml
>
> I get a "myfile.xsl" that is identical to fo/titlepage.templates.xsl.  Does
> it work when you process the original spec file?  Can you provide more
> details of what you tried?
>
> Bob Stayton
> Sagehill Enterprises
> bobs@sagehill.net
>
>
> ----- Original Message ----- From: "Matt Dew" <matt@osource.org>
> To: <docbook-apps@lists.oasis-open.org>
> Sent: Thursday, December 09, 2010 9:28 PM
> Subject: [docbook-apps] blank lines when trying to generate custom titlepage
> with xsltproc
>
>
>> Hi all,
>>  I'm trying to generate a custom title from an xml file.  I've
>> followed the guides at:
>> http://www.sagehill.net/docbookxsl/HTMLTitlePage.html
>> http://www.sagehill.net/docbookxsl/TitlePageNewElems.html
>>
>> http://www.dpawson.co.uk/docbook/styling/custom.html#TitlepageContent
>> http://www.dpawson.co.uk/docbook/styling/titlepage.html
>>
>> Copying and pasting the examples doesn't work. I always get
>>
>> <?xml version="1.0"?>
>> followed by a bunch of blank lines;  newlines with nothing following
>> to be exact.
>>
>> I followed the directions at:
>> http://www.sagehill.net/docbookxsl/TitlePageNewElems.html
>> exactly using the local files as-is.
>> template/titlepage.xsl
>> fo/mytitlepage.spec.xml
>>
>> Using different .xml input files I get different numbers of blank
>> lines but no text.
>>
>> Ideas?
>> Any help is appreciated.
>> thanks,
>> Matt
>>
>> ---------------------------------------------------------------------
>> 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]