Hi, 
The following code...

                                                <util:XmlFile 
Id="AddAssemblyBinding"
                                                                          
Action="createElement"
                                                                          
ElementPath="/configuration/runtime"
                                                                          
Name="assemblyBinding"
                                                                          
File="[DotNetConfigDir]Machine.Config"/>                                        
      

                                                <util:XmlFile 
Id="AddAssemblyBindingAttr"
                                                                          
Action="setValue"
                                                                          
ElementPath="/configuration/runtime/assemblyBinding"
                                                                          
Name="xmlns"
                                                                          
File="[DotNetConfigDir]Machine.Config"
                                                                          
Value="urn:schemas-microsoft-com:asm.v1"/>

                                                <util:XmlFile 
Id="AddProbingPath"
                                                                          
Action="createElement"
                                                                          
ElementPath="/configuration/runtime/assemblyBinding"
                                                                          
Name="probing"
                                                                          
File="[DotNetConfigDir]Machine.Config"/>

                                                <util:XmlFile 
Id="AddProbingPathAttr"
                                                                          
Action="setValue"
                                                                          
ElementPath="/configuration/runtime/assemblyBinding/probing"
                                                                          
Name="privatePath"
                                                                          
File="[DotNetConfigDir]Machine.Config"
                                                                          
Value="[Datacenter]"/>

generates the following nodes in the xmlfile...

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing xmlns="" privatePath="C:\Program Files\Common
Files\Dealogic\Datacenter\"/>
</assemblyBinding>
</runtime>

Where has the xmlns attribute in the probing node come from?...
-- 
View this message in context: 
http://n2.nabble.com/xmlFile-Bug%2C-creating-excess-attribute%27s-in-children-tp1459715p1459715.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to