cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ehab Jewabreh <e.jewab...@bonelabs.com>
Subject changing attributes by fp taglib
Date Mon, 13 Nov 2000 15:44:08 GMT
Hi,

i have a xml  file which contains following tag:

<domain  name="apache.org" action="forward"></domain>

What i need to is to change the value of the "action" attribute in the 
above tag by the fp taglib. is this possible?


<fp:resource id="external-item">
<fp:resource-file>policy.xml</fp:resource-file>
<fp:resource-node>outbound/rules/rule[attribute::name='domains']/domain[attribute::name='<request:get-parametername="domain"/>']
</fp:resource-node>
<fp:default-mode>replace</fp:default-mode>
</fp:resource>

<fp:write WHAT DO I HAVE TO WRITE HERE!!!
</fp:write>  

the value of the "action" attribute is
<request:get-parametername="action"/>

Thanks,

Ehab.

Mime
View raw message