|
|
|
Проблемы с IXMLDOM... помогите разобраться (+)
|
|||
|---|---|---|---|
|
#18+
есть xml файл следующего содержания : <?xml version="1.0" encoding="UTF-8"?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Microsoft.Practices.EnterpriseLibrary.Common " publicKeyToken="17d81369aedf0b83" /> <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="1.1.0.0" /> </dependentAssembly> </assemblyBinding> </runtime> </configuration> мне нужно добавить туда информацию, после ее добавления файл выглядит следующим образом : <?xml version="1.0" encoding="UTF-8"?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Microsoft.Practices.EnterpriseLibrary.Common " publicKeyToken="17d81369aedf0b83" /> <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="1.1.0.0" /> </dependentAssembly> <dependentAssembly xmlns=""><assemblyIdentity name="DemoSvr" publicKeyToken="A6C259C05F51723A"/><bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="1.0.4.0"/></dependentAssembly></assemblyBinding> </runtime> </configuration> а хочется чтобы он выглядел так: <?xml version="1.0" encoding="UTF-8"?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Microsoft.Practices.EnterpriseLibrary.Common " publicKeyToken="17d81369aedf0b83" /> <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="1.1.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="DemoSvr" publicKeyToken="A6C259C05F51723A"/> <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="1.0.4.0"/> </dependentAssembly> </assemblyBinding> </runtime> </configuration> что я делаю не так? и возможно ли это? использую "Msxml2.DOMDocument" ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.10.2006, 16:58 |
|
||
|
|

start [/forum/topic.php?fid=57&fpage=327&tid=2030166]: |
0ms |
get settings: |
4ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
28ms |
get topic data: |
6ms |
get forum data: |
2ms |
get page messages: |
14ms |
get tp. blocked users: |
1ms |
| others: | 205ms |
| total: | 273ms |

| 0 / 0 |
