This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: No adjustColumnWidths available in MS IE / sett ingclasspath


Ehm, I set the 'use.extensions' and 'tablecolumns.extension' to '1' myself
because I need the extensions...

When I process the docs in 'batch-mode' using Saxon I do not have any
problems because I set the classpath accordingly.

I like the ability to preview in IE so the editors can 'wysiwyg' the docs
they are editing.

So I'm looking for a way to 'instruct' IE to look at the appropriate jar
files.

I have re-set 'use.extensions' and 'tablecolumns.extension' to '0' again so
that IE can display the docs using the XSLT.

But, then I have to maintain two params.xsl files: one for 'IE previewing'
and one for the 'batch-mode processing using Saxon'. Or can this be done
more efficiently? BTW: I really prefer the first option where I 'instruct'
IE to look at the appropriate jar files, but when all else fails...

Thanks,

Simon.

-----Original Message-----
From: Bob Stayton [mailto:bobs@caldera.com]
Sent: dinsdag 5 november 2002 09:40
To: Kraa de Simon; docbook-apps@lists.oasis-open.org
Subject: Re: DOCBOOK-APPS: No adjustColumnWidths available in MS IE /
setting classpath


On Tue, Nov 05, 2002 at 07:30:42AM +0100, Kraa de Simon wrote:
> Hello,
> 
> The editors are using MS IE to pre-view the DocBook documents (using the
> processing instruction <?xml-stylesheet type="text/xsl"
> href="file://hol01sthira/utils/docbook-xsl-1.52.2/html/docbook.xsl"?>).
> 
> This works pretty good, but when a table is in the XML document they get
the
> following error message:
> 
> ---
> The XML page cannot be displayed Cannot view XML input using XSL style
> sheet. Please correct the error and then click the Refresh button, or try
> again later.
> 
> No adjustColumnWidths function available.
> ---
> 
> When I process the documents with Saxon I have to add
extensions\saxon65.jar
> to the classpath or else I get the same error.
> 
> But how do I set the classpath for MS IE?
> 
> Adding classpath to the system environment variables didn't help.
> 
> I have also set HKLM\SOFTWARE\Microsoft\Java VM\Classpath. Didn't help
> either...

The Java extension classes won't work in MSIE
because its parser MSXML is not written in Java.

But I'm curious about why you are getting this error message.
The adjustColumnWidths extension function is used only
if the 'use.extensions' and 'tablecolumns.extension'
parameters are both set to nonzero.  The 'use.extensions'
parameter in 1.52.2 is zero by default.  Did someone
edit your params.xsl file?  Setting that parameter
back to zero will avoid the termination that occurs
when it can't find the extension function.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]