cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miika TUISKU <>
Subject Newbie question
Date Tue, 21 Nov 2000 10:21:22 GMT
Hi there,

I want to embed XML-content from outside the Cocoon framework.

I've experimented with a XSP-page and a Producer-variant.
Only a special URLProducer seems to work the way 
I would like to. A XSP-page would be nicer, though.

Are there any possibilities to get the following XSP-page working?

<?xml version="1.0"?>
<?cocoon-process type="xsp"?>

<xsp:page language="java"

    private static String b = "http://myserver:8066/fcgi/perlscript";

  <xsp:expr>XSPUtil.getURLContents(b + "?" +



What it does currently it produces stuff like this:

<?xml version="1.0" encoding="UTF-8"?>
  &lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;

  &lt;node name=&quot;ROOT&quot;&gt;
    &lt;document name=&quot;ROOT:19970506205605&quot;&gt;
      &lt;meta-item name=&quot;EXTDEF&quot;&gt;&lt;/meta-item&gt;
      &lt;meta-item name=&quot;acls&quot;&gt;

So basically, anything inside <page> -tags goes thru
XSPUtil.encodeMarkup -method,
which I would like avoid...


View raw message