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 <[email protected]> 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 > [email protected] > > > ----- Original Message ----- From: "Matt Dew" <[email protected]> > To: <[email protected]> > 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: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
