cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walsh, Mark" <mawa...@csu.edu.au>
Subject Modifying an attribute with xpatch
Date Wed, 10 Nov 2004 08:18:03 GMT
I am trying to use the <xpatch> task to change the attribute
check-reload from yes to no in the sitemap element in cocoon.xconf.

 

Unfortunately, running my patch below causes the check-reload attribute
to change from "yes" to "yesno". 

 

My patch looks like this 

<cocoonxconf xpath="/cocoon/sitemap/@check-reload"

 
remove="/cocoon/sitemap/@check-reload/text()">no</cocoonxconf>  

 

Before running the patch, the line in cocoon.xconf looks like this.

<sitemap check-reload="yes"  .../>

 

After running my patch, the line in cocoon.xconf looks like this.

<sitemap check-reload="yesno" .../>

 

Any ideas/help would be appreciated. I am using cocoon 2.1.4


Mime
View raw message