cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Pablos <che...@che-che.com>
Subject document('file.xml') and entity resolver
Date Sat, 24 Apr 2004 21:18:45 GMT
Hi there,
I am just wondering if on a transformation say:

<map:transform src="welcome.xslt">

Added this line:
    <xsl:value-of select="document('book-cocoon.xml')"/>


to load this file:

cheche@yarel:~/xml/cocoon-2.1/build/webapp$ more book-cocoon.xml
<?xml version="1.0"?>
<!DOCTYPE book PUBLIC
         "-//APACHE//DTD Cocoon Documentation Book V1.0//EN"
         "book-cocoon-v10.dtd">
<book/>



should resolve that DTD, or this exception is normal:

WARN    (2004-04-24) 22:44.04:492   [core.xslt-processor] (/) 
PoolThread-4/TraxErrorHandler: Error in TraxTransformer: 
file:/home/cheche/xml/cocoon-2.1/build/webapp/welcome.xslt; Line 7; 
Column 59;
; SystemID: file:/home/cheche/xml/cocoon-2.1/build/webapp/welcome.xslt; 
Line#: 7; Column#: 59
javax.xml.transform.TransformerException: No se puede cargar el doc 
solicitado: /home/cheche/xml/cocoon-2.1/build/webapp/skinconfig-v06.dtd 
(No such file or directory)



Thank you!


Cheers,
Cheche


Mime
View raw message