List Info

Thread: How to use xsl2 snapshot




How to use xsl2 snapshot
user name
2006-03-28 21:42:29
>>>>> "Michael" == Michael(tm)
Smith <smithsideshowbarker.net> writes:

    Michael> Colin Paul Adams <colincolina.demon.co.uk> writes:
    >> I've just downloaded the 24th March snapshot,
and I'm confused
    >> as to where to start.
    >> 
    >> To begin with, the README says only html is
supported, but I
    >> see an fo directory.

    Michael> I just updated the README and checked it
back in.

    >> There is also a tools directory and a
tests/unittests
    >> directory.
    >> 
    >> Where do I start?

    Michael>   http://www.
docbook.org/docs/howto/#dbxsl2

Thank-you Michael.

There appears to be some errors in the stylesheets:

At line 401 in
file://localhost/home/colin/docbook-xsl2-snapshot/common/tab
le.xsl:
Fatal error: ...$attr) /*[node-name() =
$a%G￿%:
    Unknown function (or wrong number of arguments to
function): node-name


I have checked the specification, and it shows:

fn:node-name($arg as node()?) as xs:QName?

So node-name() is wrong - it should be node-name(.)

I see from the source code of Saxon 8.6.1 that it is
supplying the
context item as a hidden default argument. This appears to
be a bug in
Saxon as I read the specification (CR 03/11/2005).
-- 
Colin Adams
Preston Lancashire

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

How to use xsl2 snapshot
user name
2006-03-29 14:55:58
>> There appears to be some errors in the stylesheets
<<

I have attempted to utilize the xsl2-snapshot stylesheets as
a drop-in
replacement for both 1.69.1 and xsl-snapshot stylesheets on
my docbook-5.0x
implementations but far too many errors are generated.

Eagerly awaiting a beta version !

Ray


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

[1-2]

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