[DOM] Demande d'aide pour traiter du xml complexe
Bonjour,
Après une semaine de bug, je me décide enfin a vous demander de l'aide :)
J'ai un fichier xml
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368
| <?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<feed xml:base="http://cat.internetbrokerproject.be/IBPCatalog.V4/Feed/CatalogAtomFeed.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
<title type="text">DigestedCatalogItems</title>
<id>http://cat.internetbrokerproject.be/ibpcatalog.v4/Feed/CatalogAtomFeed.svc/DigestedCatalogItems</id>
<updated>2010-07-02T13:28:08Z</updated>
<link rel="self" title="DigestedCatalogItems" href="DigestedCatalogItems" />
<entry>
<id>http://cat.internetbrokerproject.be/IBPCatalog.V4/Feed/CatalogAtomFeed.svc/DigestedCatalogItems('Assurance%20Auto%20Top%20Conducteur')</id>
<title type="text"></title>
<updated>2010-07-02T13:28:08Z</updated>
<author>
<name />
</author>
<link rel="edit" title="DigestedCatalogItems" href="DigestedCatalogItems('Assurance%20Auto%20Top%20Conducteur')" />
<category term="IBP.CatalogModel.DigestedCatalogItems" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:Url>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Auto/auto-top-conducteur-728x90_f.jpg</d:Url>
<d:CalculatedUrl>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Auto/auto-top-conducteur-728x90_f.jpg</d:CalculatedUrl>
<d:Language>FR</d:Language>
<d:Description>Banner 728x90_f Top Conducteur</d:Description>
<d:DescriptionLong m:null="true" />
<d:CompanyCode>0079</d:CompanyCode>
<d:CompanyName>AG Insurance</d:CompanyName>
<d:ProductName>Assurance Auto Top Conducteur</d:ProductName>
<d:ProductDomainCodeKey>X916-05</d:ProductDomainCodeKey>
<d:ProductDomainCodeDescription>Auto</d:ProductDomainCodeDescription>
<d:TargetKey>PERSONAL</d:TargetKey>
<d:CategoryKey>IBPC-02</d:CategoryKey>
<d:CategoryDescription>Commerciële informatie over producten</d:CategoryDescription>
<d:SubCategoryKey>IBPSC-15</d:SubCategoryKey>
<d:SubCategoryDescription>Banner zonder link</d:SubCategoryDescription>
<d:DisplayModeKey>FIXED_TB2_IAB</d:DisplayModeKey>
<d:DisplayModeDescription>Fixed size (Telebib2 subset of IAB standard)</d:DisplayModeDescription>
<d:FriendlySizeKey>IAB UAP Leaderboard (728 x 90)</d:FriendlySizeKey>
<d:Width m:type="Edm.Int32">728</d:Width>
<d:Height m:type="Edm.Int32">90</d:Height>
<d:ProductValidity>NoLimit</d:ProductValidity>
<d:ProductVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ProductVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:ItemValidity>NoLimit</d:ItemValidity>
<d:ItemVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ItemVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:BrokerComments m:null="true" />
<d:CatalogItemGuid xml:space="preserve">9D4F95E2-E2E9-4252-AD35-74F746A8660E </d:CatalogItemGuid>
<d:ProductGuid xml:space="preserve">7B773056-357A-4B14-A904-ECEE6396A571 </d:ProductGuid>
<d:CatalogGuid xml:space="preserve">DCF00761-E092-442A-9008-AFB1F9027ACE </d:CatalogGuid>
<d:SecureGuid xml:space="preserve">4F952499-E8BB-4C07-AE2E-76E398D7D8EF </d:SecureGuid>
</m:properties>
</content>
</entry>
<entry>
<id>http://cat.internetbrokerproject.be/IBPCatalog.V4/Feed/CatalogAtomFeed.svc/DigestedCatalogItems('Assurance%20Protection%20Juridique%20Auto')</id>
<title type="text"></title>
<updated>2010-07-02T13:28:08Z</updated>
<author>
<name />
</author>
<link rel="edit" title="DigestedCatalogItems" href="DigestedCatalogItems('Assurance%20Protection%20Juridique%20Auto')" />
<category term="IBP.CatalogModel.DigestedCatalogItems" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:Url>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Auto/auto-protection-juridique-728x90_f.jpg</d:Url>
<d:CalculatedUrl>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Auto/auto-protection-juridique-728x90_f.jpg</d:CalculatedUrl>
<d:Language>FR</d:Language>
<d:Description>Banner 728x90_f Protection Juridique Auto</d:Description>
<d:DescriptionLong m:null="true" />
<d:CompanyCode>0079</d:CompanyCode>
<d:CompanyName>AG Insurance</d:CompanyName>
<d:ProductName>Assurance Protection Juridique Auto</d:ProductName>
<d:ProductDomainCodeKey>X916-05</d:ProductDomainCodeKey>
<d:ProductDomainCodeDescription>Auto</d:ProductDomainCodeDescription>
<d:TargetKey>PERSONAL</d:TargetKey>
<d:CategoryKey>IBPC-02</d:CategoryKey>
<d:CategoryDescription>Commerciële informatie over producten</d:CategoryDescription>
<d:SubCategoryKey>IBPSC-15</d:SubCategoryKey>
<d:SubCategoryDescription>Banner zonder link</d:SubCategoryDescription>
<d:DisplayModeKey>FIXED_TB2_IAB</d:DisplayModeKey>
<d:DisplayModeDescription>Fixed size (Telebib2 subset of IAB standard)</d:DisplayModeDescription>
<d:FriendlySizeKey>IAB UAP Leaderboard (728 x 90)</d:FriendlySizeKey>
<d:Width m:type="Edm.Int32">728</d:Width>
<d:Height m:type="Edm.Int32">90</d:Height>
<d:ProductValidity>NoLimit</d:ProductValidity>
<d:ProductVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ProductVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:ItemValidity>NoLimit</d:ItemValidity>
<d:ItemVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ItemVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:BrokerComments m:null="true" />
<d:CatalogItemGuid xml:space="preserve">647AA29C-C7BB-42F1-99AC-51C4CC7203BF </d:CatalogItemGuid>
<d:ProductGuid xml:space="preserve">649DF88B-140A-462D-A3ED-C816B8C5C276 </d:ProductGuid>
<d:CatalogGuid xml:space="preserve">DCF00761-E092-442A-9008-AFB1F9027ACE </d:CatalogGuid>
<d:SecureGuid xml:space="preserve">4F952499-E8BB-4C07-AE2E-76E398D7D8EF </d:SecureGuid>
</m:properties>
</content>
</entry>
<entry>
<id>http://cat.internetbrokerproject.be/IBPCatalog.V4/Feed/CatalogAtomFeed.svc/DigestedCatalogItems('Formule%2024%20Vie%20priv%C3%A9e')</id>
<title type="text"></title>
<updated>2010-07-02T13:28:08Z</updated>
<author>
<name />
</author>
<link rel="edit" title="DigestedCatalogItems" href="DigestedCatalogItems('Formule%2024%20Vie%20priv%C3%A9e')" />
<category term="IBP.CatalogModel.DigestedCatalogItems" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:Url>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Familiale/familiale-formule24-728x90_f.jpg</d:Url>
<d:CalculatedUrl>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Familiale/familiale-formule24-728x90_f.jpg</d:CalculatedUrl>
<d:Language>FR</d:Language>
<d:Description>Banner 728x90_f Formule 24 Vie privée</d:Description>
<d:DescriptionLong m:null="true" />
<d:CompanyCode>0079</d:CompanyCode>
<d:CompanyName>AG Insurance</d:CompanyName>
<d:ProductName>Formule 24 Vie privée</d:ProductName>
<d:ProductDomainCodeKey>X916-02</d:ProductDomainCodeKey>
<d:ProductDomainCodeDescription>Individuele</d:ProductDomainCodeDescription>
<d:TargetKey>PERSONAL</d:TargetKey>
<d:CategoryKey>IBPC-02</d:CategoryKey>
<d:CategoryDescription>Commerciële informatie over producten</d:CategoryDescription>
<d:SubCategoryKey>IBPSC-15</d:SubCategoryKey>
<d:SubCategoryDescription>Banner zonder link</d:SubCategoryDescription>
<d:DisplayModeKey>FIXED_TB2_IAB</d:DisplayModeKey>
<d:DisplayModeDescription>Fixed size (Telebib2 subset of IAB standard)</d:DisplayModeDescription>
<d:FriendlySizeKey>IAB UAP Leaderboard (728 x 90)</d:FriendlySizeKey>
<d:Width m:type="Edm.Int32">728</d:Width>
<d:Height m:type="Edm.Int32">90</d:Height>
<d:ProductValidity>NoLimit</d:ProductValidity>
<d:ProductVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ProductVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:ItemValidity>NoLimit</d:ItemValidity>
<d:ItemVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ItemVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:BrokerComments m:null="true" />
<d:CatalogItemGuid xml:space="preserve">FD3D2366-6433-4A03-B0D8-45056BB8C4E9 </d:CatalogItemGuid>
<d:ProductGuid xml:space="preserve">B8C72502-96B1-4878-93D3-2251580CDA07 </d:ProductGuid>
<d:CatalogGuid xml:space="preserve">DCF00761-E092-442A-9008-AFB1F9027ACE </d:CatalogGuid>
<d:SecureGuid xml:space="preserve">4F952499-E8BB-4C07-AE2E-76E398D7D8EF </d:SecureGuid>
</m:properties>
</content>
</entry>
<entry>
<id>http://cat.internetbrokerproject.be/IBPCatalog.V4/Feed/CatalogAtomFeed.svc/DigestedCatalogItems('Happy%20Family')</id>
<title type="text"></title>
<updated>2010-07-02T13:28:08Z</updated>
<author>
<name />
</author>
<link rel="edit" title="DigestedCatalogItems" href="DigestedCatalogItems('Happy%20Family')" />
<category term="IBP.CatalogModel.DigestedCatalogItems" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:Url>http://www.axa.be/ma/banbox/leaderbord_happyfamily_fr.gif</d:Url>
<d:CalculatedUrl>http://www.axa.be/ma/banbox/leaderbord_happyfamily_fr.gif</d:CalculatedUrl>
<d:Language>FR</d:Language>
<d:Description>Happy Family</d:Description>
<d:DescriptionLong>Happy Family - Banner 728x90 pixels</d:DescriptionLong>
<d:CompanyCode>0039</d:CompanyCode>
<d:CompanyName>AXA Belgium</d:CompanyName>
<d:ProductName>Happy Family</d:ProductName>
<d:ProductDomainCodeKey>X916-99</d:ProductDomainCodeKey>
<d:ProductDomainCodeDescription>Multi-domein (packages)</d:ProductDomainCodeDescription>
<d:TargetKey>PERSONAL</d:TargetKey>
<d:CategoryKey>IBPC-02</d:CategoryKey>
<d:CategoryDescription>Commerciële informatie over producten</d:CategoryDescription>
<d:SubCategoryKey>IBPSC-15</d:SubCategoryKey>
<d:SubCategoryDescription>Banner zonder link</d:SubCategoryDescription>
<d:DisplayModeKey>FIXED_TB2_IAB</d:DisplayModeKey>
<d:DisplayModeDescription>Fixed size (Telebib2 subset of IAB standard)</d:DisplayModeDescription>
<d:FriendlySizeKey>IAB UAP Leaderboard (728 x 90)</d:FriendlySizeKey>
<d:Width m:type="Edm.Int32">728</d:Width>
<d:Height m:type="Edm.Int32">90</d:Height>
<d:ProductValidity>Active</d:ProductValidity>
<d:ProductVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ProductVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:ItemValidity>NoLimit</d:ItemValidity>
<d:ItemVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ItemVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:BrokerComments m:null="true" />
<d:CatalogItemGuid xml:space="preserve">4CF21D07-365C-4580-9BCF-D87401858A2A </d:CatalogItemGuid>
<d:ProductGuid xml:space="preserve">04C493FA-DE83-4CE2-A919-E19B3703DAA2 </d:ProductGuid>
<d:CatalogGuid xml:space="preserve">B07EA7B4-1CB8-44E6-8C5B-181F3C2879C6 </d:CatalogGuid>
<d:SecureGuid xml:space="preserve">4F952499-E8BB-4C07-AE2E-76E398D7D8EF </d:SecureGuid>
</m:properties>
</content>
</entry>
<entry>
<id>http://cat.internetbrokerproject.be/IBPCatalog.V4/Feed/CatalogAtomFeed.svc/DigestedCatalogItems('Familis%20(FR)')</id>
<title type="text"></title>
<updated>2010-07-02T13:28:08Z</updated>
<author>
<name />
</author>
<link rel="edit" title="DigestedCatalogItems" href="DigestedCatalogItems('Familis%20(FR)')" />
<category term="IBP.CatalogModel.DigestedCatalogItems" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:Url>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Familis/familis-offre-728x90_f.jpg</d:Url>
<d:CalculatedUrl>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Familis/familis-offre-728x90_f.jpg</d:CalculatedUrl>
<d:Language>FR</d:Language>
<d:Description>Banner 728x90_f Familis</d:Description>
<d:DescriptionLong m:null="true" />
<d:CompanyCode>0079</d:CompanyCode>
<d:CompanyName>AG Insurance</d:CompanyName>
<d:ProductName>Familis (FR)</d:ProductName>
<d:ProductDomainCodeKey>X916-99</d:ProductDomainCodeKey>
<d:ProductDomainCodeDescription>Multi-domein (packages)</d:ProductDomainCodeDescription>
<d:TargetKey>PERSONAL</d:TargetKey>
<d:CategoryKey>IBPC-02</d:CategoryKey>
<d:CategoryDescription>Commerciële informatie over producten</d:CategoryDescription>
<d:SubCategoryKey>IBPSC-15</d:SubCategoryKey>
<d:SubCategoryDescription>Banner zonder link</d:SubCategoryDescription>
<d:DisplayModeKey>FIXED_TB2_IAB</d:DisplayModeKey>
<d:DisplayModeDescription>Fixed size (Telebib2 subset of IAB standard)</d:DisplayModeDescription>
<d:FriendlySizeKey>IAB UAP Leaderboard (728 x 90)</d:FriendlySizeKey>
<d:Width m:type="Edm.Int32">728</d:Width>
<d:Height m:type="Edm.Int32">90</d:Height>
<d:ProductValidity>NoLimit</d:ProductValidity>
<d:ProductVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ProductVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:ItemValidity>NoLimit</d:ItemValidity>
<d:ItemVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ItemVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:BrokerComments m:null="true" />
<d:CatalogItemGuid xml:space="preserve">044BEDFB-D08E-45D6-A7AF-D482F6EF6F90 </d:CatalogItemGuid>
<d:ProductGuid xml:space="preserve">BF1DBEEE-FA1C-4EEF-B007-5463EA7BC06D </d:ProductGuid>
<d:CatalogGuid xml:space="preserve">DCF00761-E092-442A-9008-AFB1F9027ACE </d:CatalogGuid>
<d:SecureGuid xml:space="preserve">4F952499-E8BB-4C07-AE2E-76E398D7D8EF </d:SecureGuid>
</m:properties>
</content>
</entry>
<entry>
<id>http://cat.internetbrokerproject.be/IBPCatalog.V4/Feed/CatalogAtomFeed.svc/DigestedCatalogItems('Assurance%20Auto%20Top%20V%C3%A9hicule')</id>
<title type="text"></title>
<updated>2010-07-02T13:28:08Z</updated>
<author>
<name />
</author>
<link rel="edit" title="DigestedCatalogItems" href="DigestedCatalogItems('Assurance%20Auto%20Top%20V%C3%A9hicule')" />
<category term="IBP.CatalogModel.DigestedCatalogItems" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:Url>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Auto/auto-top-vehicule-728x90_f.jpg</d:Url>
<d:CalculatedUrl>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Auto/auto-top-vehicule-728x90_f.jpg</d:CalculatedUrl>
<d:Language>FR</d:Language>
<d:Description>Banner 728x90_f Top Véhicule</d:Description>
<d:DescriptionLong m:null="true" />
<d:CompanyCode>0079</d:CompanyCode>
<d:CompanyName>AG Insurance</d:CompanyName>
<d:ProductName>Assurance Auto Top Véhicule</d:ProductName>
<d:ProductDomainCodeKey>X916-05</d:ProductDomainCodeKey>
<d:ProductDomainCodeDescription>Auto</d:ProductDomainCodeDescription>
<d:TargetKey>PERSONAL</d:TargetKey>
<d:CategoryKey>IBPC-02</d:CategoryKey>
<d:CategoryDescription>Commerciële informatie over producten</d:CategoryDescription>
<d:SubCategoryKey>IBPSC-15</d:SubCategoryKey>
<d:SubCategoryDescription>Banner zonder link</d:SubCategoryDescription>
<d:DisplayModeKey>FIXED_TB2_IAB</d:DisplayModeKey>
<d:DisplayModeDescription>Fixed size (Telebib2 subset of IAB standard)</d:DisplayModeDescription>
<d:FriendlySizeKey>IAB UAP Leaderboard (728 x 90)</d:FriendlySizeKey>
<d:Width m:type="Edm.Int32">728</d:Width>
<d:Height m:type="Edm.Int32">90</d:Height>
<d:ProductValidity>NoLimit</d:ProductValidity>
<d:ProductVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ProductVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:ItemValidity>NoLimit</d:ItemValidity>
<d:ItemVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ItemVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:BrokerComments m:null="true" />
<d:CatalogItemGuid xml:space="preserve">398768EA-9409-49C7-A822-0294202B7947 </d:CatalogItemGuid>
<d:ProductGuid xml:space="preserve">C1D39F62-C674-4C41-A849-73E95CFC0789 </d:ProductGuid>
<d:CatalogGuid xml:space="preserve">DCF00761-E092-442A-9008-AFB1F9027ACE </d:CatalogGuid>
<d:SecureGuid xml:space="preserve">4F952499-E8BB-4C07-AE2E-76E398D7D8EF </d:SecureGuid>
</m:properties>
</content>
</entry>
<entry>
<id>http://cat.internetbrokerproject.be/IBPCatalog.V4/Feed/CatalogAtomFeed.svc/DigestedCatalogItems('Assurance%20Gens%20de%20Maison')</id>
<title type="text"></title>
<updated>2010-07-02T13:28:08Z</updated>
<author>
<name />
</author>
<link rel="edit" title="DigestedCatalogItems" href="DigestedCatalogItems('Assurance%20Gens%20de%20Maison')" />
<category term="IBP.CatalogModel.DigestedCatalogItems" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:Url>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Familiale/familiale-gens-maison-728x90_f.jpg</d:Url>
<d:CalculatedUrl>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Familiale/familiale-gens-maison-728x90_f.jpg</d:CalculatedUrl>
<d:Language>FR</d:Language>
<d:Description>Banner 728x90_f Assurance Gens de Maison</d:Description>
<d:DescriptionLong m:null="true" />
<d:CompanyCode>0079</d:CompanyCode>
<d:CompanyName>AG Insurance</d:CompanyName>
<d:ProductName>Assurance Gens de Maison</d:ProductName>
<d:ProductDomainCodeKey>X916-04</d:ProductDomainCodeKey>
<d:ProductDomainCodeDescription>BA particulieren</d:ProductDomainCodeDescription>
<d:TargetKey>PERSONAL</d:TargetKey>
<d:CategoryKey>IBPC-02</d:CategoryKey>
<d:CategoryDescription>Commerciële informatie over producten</d:CategoryDescription>
<d:SubCategoryKey>IBPSC-15</d:SubCategoryKey>
<d:SubCategoryDescription>Banner zonder link</d:SubCategoryDescription>
<d:DisplayModeKey>FIXED_TB2_IAB</d:DisplayModeKey>
<d:DisplayModeDescription>Fixed size (Telebib2 subset of IAB standard)</d:DisplayModeDescription>
<d:FriendlySizeKey>IAB UAP Leaderboard (728 x 90)</d:FriendlySizeKey>
<d:Width m:type="Edm.Int32">728</d:Width>
<d:Height m:type="Edm.Int32">90</d:Height>
<d:ProductValidity>NoLimit</d:ProductValidity>
<d:ProductVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ProductVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:ItemValidity>NoLimit</d:ItemValidity>
<d:ItemVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ItemVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:BrokerComments m:null="true" />
<d:CatalogItemGuid xml:space="preserve">745F8FB6-1DE7-4C0C-922D-DEDEE5B3A274 </d:CatalogItemGuid>
<d:ProductGuid xml:space="preserve">52660D99-0DC9-40FE-9E06-FA119BCA07C4 </d:ProductGuid>
<d:CatalogGuid xml:space="preserve">DCF00761-E092-442A-9008-AFB1F9027ACE </d:CatalogGuid>
<d:SecureGuid xml:space="preserve">4F952499-E8BB-4C07-AE2E-76E398D7D8EF </d:SecureGuid>
</m:properties>
</content>
</entry>
<entry>
<id>http://cat.internetbrokerproject.be/IBPCatalog.V4/Feed/CatalogAtomFeed.svc/DigestedCatalogItems('Assurance%20Annulation%20Voyage%20''NoGo''')</id>
<title type="text"></title>
<updated>2010-07-02T13:28:08Z</updated>
<author>
<name />
</author>
<link rel="edit" title="DigestedCatalogItems" href="DigestedCatalogItems('Assurance%20Annulation%20Voyage%20''NoGo''')" />
<category term="IBP.CatalogModel.DigestedCatalogItems" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:Url>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Familis/nogo-728x90_f.jpg</d:Url>
<d:CalculatedUrl>http://www.portalpack.aginsurance.be/sites/ibp/SiteCollectionImages/Familis/nogo-728x90_f.jpg</d:CalculatedUrl>
<d:Language>FR</d:Language>
<d:Description>Banner 728x90_f Nogo</d:Description>
<d:DescriptionLong m:null="true" />
<d:CompanyCode>0079</d:CompanyCode>
<d:CompanyName>AG Insurance</d:CompanyName>
<d:ProductName>Assurance Annulation Voyage 'NoGo'</d:ProductName>
<d:ProductDomainCodeKey>X916-21</d:ProductDomainCodeKey>
<d:ProductDomainCodeDescription>Reis</d:ProductDomainCodeDescription>
<d:TargetKey>PERSONAL</d:TargetKey>
<d:CategoryKey>IBPC-02</d:CategoryKey>
<d:CategoryDescription>Commerciële informatie over producten</d:CategoryDescription>
<d:SubCategoryKey>IBPSC-15</d:SubCategoryKey>
<d:SubCategoryDescription>Banner zonder link</d:SubCategoryDescription>
<d:DisplayModeKey>FIXED_TB2_IAB</d:DisplayModeKey>
<d:DisplayModeDescription>Fixed size (Telebib2 subset of IAB standard)</d:DisplayModeDescription>
<d:FriendlySizeKey>IAB UAP Leaderboard (728 x 90)</d:FriendlySizeKey>
<d:Width m:type="Edm.Int32">728</d:Width>
<d:Height m:type="Edm.Int32">90</d:Height>
<d:ProductValidity>NoLimit</d:ProductValidity>
<d:ProductVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ProductVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:ItemValidity>NoLimit</d:ItemValidity>
<d:ItemVisibleFrom m:type="Edm.DateTime" m:null="true" />
<d:ItemVisibleUntil m:type="Edm.DateTime" m:null="true" />
<d:BrokerComments m:null="true" />
<d:CatalogItemGuid xml:space="preserve">D2BB6079-0D4E-4CF6-A28C-8187644F6028 </d:CatalogItemGuid>
<d:ProductGuid xml:space="preserve">94D81AD9-7582-4D01-BF50-B486F5BCAE22 </d:ProductGuid>
<d:CatalogGuid xml:space="preserve">DCF00761-E092-442A-9008-AFB1F9027ACE </d:CatalogGuid>
<d:SecureGuid xml:space="preserve">4F952499-E8BB-4C07-AE2E-76E398D7D8EF </d:SecureGuid>
</m:properties>
</content>
</entry>
</feed> |
je dois le traiter pour pouvoir récupérer chaque valeur séparément de la partie "entry".
Pour le moment j'en suis la
Code:
1 2 3 4 5 6 7
| $dom = new DomDocument;
$dom->load($source);
$liste = $dom->getElementsByTagName("entry");
foreach($liste as $a)
{
echo $a->nodeValue;
} |
Cela me donne les valeurs de tout ce que contient les différents "entry"
mon problème c'est que si par exemple je voudrais récupérer ce que contien "entry"->"content"->"m:properties"->"d:Url", je n'y arrive pas.
j'ai testé ceci :
Code:
1 2 3
| {
echo $a->content->properties->Url->nodeValue;
} |
Mais cela ne fonctionne pas.
Comment puis-je sortir, par exemple, l'url de chaque entry ?
A bientôt.
Cedy