I am trying to use XmlConfig to delete an element from a xml file which was 
installed as part of same package. but that isn't working. If I try to modify 
an attribute using XmlFile for same ElementPath, it works fine. Am I missing 
something here?
 
my code:
 
<Component Id="WHManagerXml_$(var.LCID)" DiskId="1" 
Guid="111BCB33-664E-42ca-A186-DE04C317681D"> <File Id="TestxmlFile" 
Name="test.xml" Source="test.xml"/><util:XmlConfig                            
Id="TestXmlChange"                            File="[TestxmlFile]"              
              Action="delete"                            Node="element"         
                    ElementPath="Parent/Descendant1/Descendant2"                
            VerifyPath="Parent/Descendant1"                             
/></Component>
Am I missing anything here?
 
Thanks
Ravi


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: XmlConfig and XmlFile...Date: Mon, 
8 Oct 2007 19:10:40 -0700


What is the difference between XmlConfig and XmlFile elements? Is XmlConfig 
used to add/modify/delete both elements and attributes from xml files and 
XmlFile used to add/modify/delete attributes only from xml files? I need to 
install a xml file and then delete some of its elements based on some 
condition. Do I use XmlConfig or XmlFile for this operation? ThanksRavi
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to