err:FODC0002, Error retrieving resource. http://www.w3.org/TR/xpath-functions-30/#ERRFODC0002
Since the chapters are already in the database (as XML nodes), it must be the stylesheet. Is you XSL stylesheet well-formed XML? Did you use an empty <meta …/> element there, or did you just type the opening <meta …> tag? But then it won’t run with any standalone processor, either.
Gerrit
On 2012-05-11 13:14, Anand Chiney wrote:
Hi there,
I am using BaseX 7.2 Beta.
I am trying to extract certain XML Documents from the DB and then applying the XSLT to convert these docs to HTML.
Following is the query, which I am typing in Editor -
let $in := /Chapters let $style := doc('C:\Program Files\BaseX\data\chapter.xslt') return <Chapters>{( xslt:transform($in, $style), xslt:transform($in, $style) )}</Chapters>
I am getting error message - *Error: [FODC0002] "" (Line 34): </head> found, </meta> expected.*
First I thought that, <META> tag might be compulsory. So I added the same to the XSLT file. Still error....
What does it means? Am I doing anything wrong?
The XSLT works correctly when used individually with Java code.
Ready to sent the XML and XSLT File....
-- Regards
Have a nice day :) Anand C
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk