List Info

Thread: using XIncludes




using XIncludes
user name
2006-03-03 16:39:59
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
bobssagehill.net


----- Original Message ----- 
From: "SIRIGINA Saraswathi" <SSiriginaCOVANSYS.COM>
To: <docbook-appslists.oasis-open.org>
Cc: <jlc6po.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:jlc6po.cwru.edu]
Sent: Wednesday, February 23, 2005 9:27 AM
To: Jens Porup
Cc: docbook-appslists.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-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org





------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )