Hi,

    This task has been driving me crazy for months. I want to delete nodes
based on user input. The usual example I have seen is the static
<xupdate:remove select="/addresses/address[1]"/> which is great if I want to
delete node 1 or 2 or 3 etc. but most real world applications require the
dynamic deletion of nodes. I am using php  and tried <xupdate:remove
select="/addresses/address[$index]"/> and every concievable variation. I
have also tried using the <xupdate:variable name=index select="...">

   Is there a way to get xupdate to work with dynamic variables in the
select query or if not is there another way of deleting nodes using dynamic
queries.


Regards
Shane Dempsey

Software Development Engineer
Claddagh Resources
Links Business Centre
Lisfannon
Co. Donegal
Tel: +353 77 20400 (direct: 20402) (ext:202)
Fax: +353 77 20401
email: [EMAIL PROTECTED]


Reply via email to