cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Korthuis <R.Korth...@telecats.nl>
Subject Using FP
Date Wed, 01 Nov 2000 15:16:17 GMT
Hello,

I have a difficult question:
I have a file default.xml containing something like this:
....
<column>
	<name>date</date>
	<size>20</size>
	<type>text</type>
</column>
<column>
	<name>sport</name>
	<size>15</size>
	<type>text</type>
</column>
....
and I have a file register.xml containing something like this:
....
<sql:execute-query>
	<sql:driver>...</sql:driver>
	<sql:dburl>...</sql:dburl>
	<sql:username>...</sql:username>
	<sql:query>insert into rooster (date, sport) values ( 	<!-- 1 -->
		'<request:get-parameter name="date"/>',		<!-- 2 -->
		'<request:get-parameter name="sport"/>')		<!--
3 -->
	</sql:query>
</sql:execute-query>
.....
Now I want to change the lines marked with 1,2 and 3 so that date and sport
are fetched from the file default.xml. I know this should (somehow) be
possible using FP. Can anyone tell me how????

Regards,

Richard Korthuis

Mime
View raw message