Hello,
I want to delete the last config-element of this xml-file with XMLConfig:

<head>
  <node>
    <config value="1"/>
    <config value="2"/>
    <config/>
  </node>
</head>

I tried it with the following xml-statement but it deletes all
config-elements:

<util:XmlConfig Id='xmlID'
                              Action='delete'
                             
VerifyPath='/head/node/config[\[]not(@value)[\]]'
                             
ElementPath='/head/node/config[\[]not(@value)[\]]'
                              File='C:\test.xml'
                              Name='config'
                              Node='element'
                              On='install'
                              Sequence='7'
 />

Thanx
Chris

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to