cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: Request: uncomment and change <debugger>enabled</debugger> in cocoon.xconf
Date Thu, 14 Oct 2004 13:33:14 GMT wrote:
> Ok, this seems to be what I need, but I cannot find info on the syntax? What
> I need the patch file to do is:
> if-exist "...../debugger" then
>    unless "..../debugger/text()='enabled'" replace-with "enabled"
> else
>    insert "<debugger/>"
> I have the unless part, but that only works if the <debugger> tag exists.

Here is what you need...

<xconf xpath="/cocoon/flow-interpreters/component-instance[@name='javascript']"


> Thanks.
> Bye, Helma
>>-----Original Message-----
>>From: Vadim Gritsenko [] 
>>Sent: Wednesday, 13 October, 2004 15:35
>>Subject: Re: Request: uncomment and change 
>><debugger>enabled</debugger> in coc oon.xconf
>> wrote:
>>>small "feature" request: could someone please change the following 
>>>line in
>>><!-- <debugger>enabled</debugger> -->
>>>(and if necessary change the code that acts on this).
>>>I'm using the flowscript debugger and each time I update my Cocoon 
>>>version (from SVN) I have to change this line manually before my 
>>>XPatchTask works again. :-(
>>You can just change your patch task to append <debugger/> tag 
>>if it's not 
>>present. No need to remove comment.

View raw message