Regarding this error message when using Saxon 9:

Cannot find a matching 1-argument function named
{http://exslt.org/common}node-set()

see this message from Ken Holman:

http://www.devcomments.com/Installing-exslt-for-Saxon-at95650.htm

Bob Stayton
Sagehill Enterprises
[email protected]


----- Original Message ----- From: "SriKrishnan" <[email protected]>
To: <[email protected]>
Sent: Wednesday, November 10, 2010 1:53 AM
Subject: RE: [docbook-apps] Docbook XML and Catalog


Hi Dave Pawson,

Thanks for your immediate reply. I will keep this in mind always.

But still there are some errors in the next steps. Can anybody help me to
solve this?

It seems that it throws error on docbook.xsl. But I didn't found any error
when I created FO without using catalog (by adding system path straightaway
in xml)

F:\ADVENT\APP\xslf0_samples\DOCBOOK-samples\completed>java -cp
"C:/saxonhe9-2-1-5j/saxon9he.jar;C:/docbook-xsl-1.76.1-RC
2/extensions/saxon65.jar;C:/xml-commons-resolver-1.2/resolver.jar;C:/fop-1.0
/" net.sf.saxon.Transform -x org.apache.xml.
resolver.tools.ResolvingXMLReader -y
org.apache.xml.resolver.tools.ResolvingXMLReader -r
org.apache.xml.resolver.tools.C
atalogResolver -u -o "DK1182_C003.fo" "DK1182_C003.xml"
"file:///L:/xml/docbook-xsl-ns-1.76.1-RC2/fo/docbook.xsl"
Warning: at xsl:stylesheet on line 9 column 31 of docbook.xsl:
 Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
Note: namesp. add : added namespace before processing              Abnormal
coronary arteries
Error on line 147 of docbook.xsl:
 Cannot find a matching 1-argument function named
{http://exslt.org/common}node-set()
Transformation failed: Run-time errors were reported

Thanks,
Srikrishnan

-----Original Message-----
From: Dave Pawson [mailto:[email protected]] Sent: Wednesday, November 10, 2010 1:14 PM
To: SriKrishnan
Cc: [email protected]
Subject: Re: [docbook-apps] Docbook XML and Catalog

On Wed, 10 Nov 2010 11:42:27 +0530
"SriKrishnan" <[email protected]> wrote:

Hi Friends,

I am working in Windows XP professional system.

I am trying to convert FO file from Docbook xml using xml catalog.

I have copied Saxon in the following path
"C:\saxonhe9-2-1-5j\saxon9he.jar"

I have copied fop in the following path "C:\fop-1.0\"

I have copied "CatalogManager.properties" in "C:\fop-1.0\"

Also I have copied all the relevant files and folders as per I typed
in the following syntax:

F:\ADVENT\APP\xslf0_samples\DOCBOOK-samples\completed>java -cp
"C:/saxonhe9-2-1-5j/saxon9he.jar;C:/docbook-xsl-1.76.1-RC


2/extensions/saxon65.jar;C:/xml-commons-resolver-1.2/resolver.jar;C:/fop-1.0
/" net.sf.saxon.Transform -x org.apache.xml.

resolver.tools.ResolvingXMLReader -y
org.apache.xml.resolver.tools.ResolvingXMLReader -r
org.apache.xml.resolver.tools.C

atalogResolver -u -o "DK1182_C003.fo" "DK1182_C003.xml"
"L:\xml\docbook-xsl-ns-1.76.1-RC2\fo\docbook.xsl"

Transformation failed: Malformed URL
L:\xml\docbook-xsl-ns-1.76.1-RC2\fo\docbook.xsl(base
file:/F:/ADVENT/APP/xslf0_samp

les/DOCBOOK-samples/completed/)

Can anybody tell me the reason for the error?

Saxon expects uri's you aren't providing them

http://www.dpawson.co.uk/xsl/sect4/uriIncl.html
may help.
file://c:/xml/docbook-xsl-ns-1.76.1-RC2/fo/docbook.xsl"

Note: All forward slashes, you are dealing with Java,
not windows.
HTH







--

regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to