cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Problem including HTML output of JSP page in XSL
Date Thu, 29 Jan 2004 20:03:44 GMT
On 28.01.2004 17:16, Campeau, Bradford wrote:
> I am trying to include the HTML output of a JSP page in my XSL using the
> following statement:
>  
> <xsl:copy-of
> select="document('http://ahtest.forbes.com/department_home.jsp?namerefer
> ence=business')" />

What happens when you access this URL via browser?

> If I actually cut and paste the HTML output of that JSP page into the
> XSL instead of the above copy-of statement, it works fine. Otherwise, I
> get the following error:
>  
> Could not read resource
> file:/D:/test/www/cocoon/ahxml/xml/dept_home/department_home_business.xm
> l

Is it HTML or XML? Though the HTML might be well-formed I have 
whitespaces before the XML declaration or the first element in mind.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message