equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Simple v2/v3 ASX-fileparser |
14 * Description: Simple v2/v3 ASX-fileparser |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 10.1.5 % |
18 // Version : %version: e003sa33#10.1.6 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 // INCLUDE FILES |
22 // INCLUDE FILES |
23 #include <e32base.h> |
23 #include <e32base.h> |
297 } |
297 } |
298 } |
298 } |
299 CleanupStack::PopAndDestroy(); //attributeList |
299 CleanupStack::PopAndDestroy(); //attributeList |
300 } |
300 } |
301 |
301 |
302 while( nodelist2.HasNext() ) |
302 TBool urlIsSet = EFalse; |
|
303 while( !urlIsSet && nodelist2.HasNext() ) |
303 { |
304 { |
304 element = nodelist2.Next(); |
305 element = nodelist2.Next(); |
305 |
306 |
306 if ( ! element.IsNull() ) |
307 if ( ! element.IsNull() ) |
307 { |
308 { |
324 if ( ! attr.Name().CompareF(KHRef) ) |
325 if ( ! attr.Name().CompareF(KHRef) ) |
325 { |
326 { |
326 TPtrC8 attrData = attr.Value(); |
327 TPtrC8 attrData = attr.Value(); |
327 asxItem->url = attrData.AllocL(); |
328 asxItem->url = attrData.AllocL(); |
328 iAsxArray.Append(asxItem); |
329 iAsxArray.Append(asxItem); |
|
330 urlIsSet = ETrue; |
|
331 break; |
329 } |
332 } |
330 } |
333 } |
331 |
334 |
332 CleanupStack::PopAndDestroy(); //attributeList |
335 CleanupStack::PopAndDestroy(); //attributeList |
333 } |
336 } |