Hi Igor,

I've been having problems with Internet connection at home recently and I am
sorry I don't have time to give you extended answer.  What you want is
easily doable and this is more of XPATH issue.  Attached is my old document
I wrote for my colleagues which may help you to understand how to target
nodes with specific attributes.  Let me know if you still need help.  I am
finally online, but it is my midnight now.

Alex



-----Original Message-----
From: Igor Paniushkin [mailto:ipaniush...@sdl.com] 
Sent: Friday, December 18, 2009 2:24 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Add multiple elements into xml with XmlConfig or
XmlFile

Hi All,

 

Is it possible to add multiple elements with XmlConfig or XmlFile
actions?

I mean that for example I have this xml:

 

<root>

<a test="true"/>

<b />

<a test="false" />

<a test="true" />

</root>

 

And I want to add <c> element to all a elements with test equals to
true, so in the end I want to receive such xml:

 

<root>

<a test="true">

<c/>

</a>

<b />

<a test="false" />

<a test="true">

<c/>

</a>

</root>

 

Best Regards,

Igor


SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and
we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.  
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
7DY, UK.
----------------------------------------------------------------------------
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to