cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hong Gia Dinh <hgd...@sdcgrp.com>
Subject cinclude!!!!!!!!!!!!!! help!!!!
Date Fri, 24 Jan 2003 09:33:58 GMT
Hi all,

I read carefully the document about cinclude documents of cocoon tutorial
CInclude Transformer!!! i tried to use it but :(((

My problem is :

I have an xsp file with declaration of cinclude namespace like this :

<xsp:page language="java" xmlns:xsp="http://apache.org/xsp"
xmlns:xsp-request="http://apache.org/xsp/request/2.0"
xmlns:i18n="http://apache.org/cocoon/i18n/2.0"
xmlns:cinclude="http://apache.org/cocoon/include/1.0">

	<content>
		<cinclude:include
src="http://uranus:8080/sgc/portal/template.xsp" element="template"/>

	<body>bodyyy</body>
	</content>

and the template.xsp is :

<title>abc</title>
<foot>foot</foot>
<head>head</head>
..
..
when my xsl file try to get items of the template such as :
<xsl:value-of select="template/title"/>
it can not get!!!!

i dont understand why??? although base on the cinclude theory, this is made
very easily???

what i did wrong?? can you all show me???

Thank you very very much!!!! 

GD





	

Mime
View raw message