[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] How to use xsl2 snapshot
>>>>> "Michael" == Michael(tm) Smith <smith@sideshowbarker.net> writes: Michael> Colin Paul Adams <colin@colina.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/table.xsl: Fatal error: http://www.w3.org/2005/xqt-errors#XPST0017: XPath syntax error on line 401 in %G%@...$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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]