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] using XIncludes


It sounds like you have the 'use.extensions' parameter to set to 1.  That
parameter enables Java extensions, but they do not work with xsltproc which
is not Java.  Use Saxon, or set that parameter to zero and the error
message will go away.  For more information, see:

http://www.sagehill.net/docbookxsl/ColumnWidths.html

I'd be surprised if you are getting complete output, though.  The
stylesheet is supposed to terminate when it emits that message:

        <xsl:otherwise>
          <xsl:message terminate="yes">
            <xsl:text>No adjustColumnWidths function available.</xsl:text>
          </xsl:message>
        </xsl:otherwise>


Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "SIRIGINA Saraswathi" <SSirigina@COVANSYS.COM>
To: <docbook-apps@lists.oasis-open.org>
Cc: <jlc6@po.cwru.edu>
Sent: Friday, March 03, 2006 3:05 AM
Subject: RE: [docbook-apps] using XIncludes


I keep getting "No adjustColumnWidths function available." error even
thought xsltproc generates the output

Thanks,
Sarah
-----Original Message-----
From: John L. Clark [mailto:jlc6@po.cwru.edu]
Sent: Wednesday, February 23, 2005 9:27 AM
To: Jens Porup
Cc: docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] using XIncludes

On Wed, Feb 23, 2005 at 02:25:54PM +1100, Jens Porup wrote:
> When I try to validate the doc with:
>
>     xmllint --noout --noent --xinclude --postvalid tech_spec.xml
>
> It validates--there are no errors.
>
> But when I xsltproc for both html and doc, I get the errors:
>
>         (HTML) No template matches xi:include in book.
>
>         (PDF) xi:include encountered in book, but no template matches.

Are you using the `--xinclude` argument to `xsltproc`, as well?  It
would look like:

  $ xsltproc --xinclude path_or_URI_to_stylesheet.xsl tech_spec.xml

Take care,

    John L. Clark
Confidentiality Statement:

This message is intended only for the individual or entity to which it is
addressed. It may contain privileged, confidential information which is
exempt from disclosure under applicable laws. If you are not the intended
recipient, please note that you are strictly prohibited from disseminating
or distributing this information (other than to the intended recipient) or
copying this information. If you have received this communication in error,
please notify us immediately by return email.

---------------------------------------------------------------------
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]