cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Pablos <>
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"?>
         "-//APACHE//DTD Cocoon Documentation Book V1.0//EN"

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!


View raw message