cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amaresh Wakkar <>
Subject Why is XSP stripping every text node of the document?? SOS
Date Fri, 28 Nov 2003 14:24:44 GMT
Hi Everyone,
I am using cocoon-2.1 on Win2000 with Websphere5 and WSAD(websphere studio 
5.0 using IBM Java 1.3.1 compatible VM).
Basically I am trying to get a simple XSP page working..
<?xml version="1.0"?>
<xsp:page language="java"
<test>hello world..again..gdfgdfgdg</test>
<content>Willskfhsfsfsdf this be displayed???bcbcbcbcbcbc</content>
The sitemap entry is like this..
<map:match pattern="xsp/test.xsp">
<map:generate type="serverpages" src="xsp/test.xsp" /> 
<!--map:transform type="xslt" src="xsl/{1}.xsl" /-->
<map:serialize type="xml" />
The result is as follows :
<?xml version="1.0" encoding="UTF-8" ?> 
- <page xmlns:xsp="" xmlns:xspdoc=""
  <test /> 
  <content /> 
I have tried all possible permutations of XML parsers and XSLT 
transformers, still no joy..It is the same thing with cocoon samples..Does 
anyone know what is the reason?? Please help me...SOS!!
View raw message