# Accessing this XML?

**URL:** <https://forum.kirupa.com/t/accessing-this-xml/305982>\
**Category:** flash\
**Created:** [March 7, 2010, 8:05am UTC](https://forum.kirupa.com/t/accessing-this-xml/305982 "2010-03-07T08:05:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kivshany](https://avatars.discourse-cdn.com/v4/letter/k/c2a13f/32.png) [@Kivshany](https://forum.kirupa.com/u/Kivshany)\
**Post date:** [March 7, 2010, 8:05am UTC](https://forum.kirupa.com/t/accessing-this-xml/305982/1 "2010-03-07T08:05:25Z")

</div>

Hi all,

I need to know how I can access the images in this XML code (per image):

```auto

[LEFT][SIZE=2]<?xml version='1.0' encoding='UTF-8'?>[/SIZE]
[SIZE=2] <component name='XMLSlideShowV3'>[/SIZE][SIZE=2]

[COLOR=Silver]<!-- [/COLOR][/SIZE][COLOR=Silver]
[/COLOR] [SIZE=2][COLOR=Silver] -= DATA TAG =-[/COLOR][/SIZE][COLOR=Silver]
[/COLOR] [SIZE=2][COLOR=Silver]
ATTRIBUTES:[/COLOR][/SIZE][COLOR=Silver]
[/COLOR] [SIZE=2][COLOR=Silver]contentPath -> the visual content to be loaded inside each item (each slide), external or internal (image.jpg , myMcLinkageId)[/COLOR][/SIZE][COLOR=Silver]
[/COLOR] [SIZE=2][COLOR=Silver]itemEvents -> optional boolean value. (default:false) if true, the slide will act like a button, triggering events on the component[/COLOR][/SIZE][COLOR=Silver]

[/COLOR] [SIZE=2][COLOR=Silver]URL METHOD ATTRIBUTES[/COLOR][/SIZE][SIZE=2][COLOR=Silver]
url -> a url address to be followed when user clicks on the menu[/COLOR][/SIZE][COLOR=Silver]
[/COLOR] [SIZE=2][COLOR=Silver]target -> the url target[/COLOR][/SIZE][COLOR=Silver]

[/COLOR] [SIZE=2][COLOR=Silver]FUNCTION ATTRIBUTES[/COLOR][/SIZE][COLOR=Silver]
[/COLOR] [SIZE=2][COLOR=Silver]function -> the function with brackets and params like in eg.: myFunc(param1,param2)[/COLOR][/SIZE][COLOR=Silver]

[/COLOR] [SIZE=2][COLOR=Silver]USER-DEFINED ATTRIBUTES[/COLOR][/SIZE][COLOR=Silver]
[/COLOR] [SIZE=2][COLOR=Silver]any other attributes can be inserted here. you will have acces to them from the item itself with dot notation[/COLOR][/SIZE][COLOR=Silver]

[/COLOR] [SIZE=2][COLOR=Silver] -= DATA TAG =-[/COLOR][/SIZE][COLOR=Silver]
[/COLOR] [SIZE=2][COLOR=Silver] -->[/COLOR][/SIZE]

[SIZE=2]<data>[/SIZE]

[SIZE=2] <item itemEvents='true' contentPath='products/01.jpg' />[/SIZE]
[SIZE=2] <item itemEvents='true' contentPath='products/02.jpg' />[/SIZE]
[SIZE=2] <item itemEvents='true' contentPath='products/03.jpg' />[/SIZE]
[SIZE=2] <item itemEvents='true' contentPath='products/04.jpg' />[/SIZE]
[SIZE=2] <item itemEvents='true' contentPath='products/05.jpg' />[/SIZE]
[SIZE=2] <item itemEvents='true' contentPath='products/06.jpg' />[/SIZE]
[SIZE=2] <item itemEvents='true' contentPath='products/07.jpg' /> [/SIZE]
[SIZE=2] <item itemEvents='true' contentPath='products/08.jpg' />[/SIZE]
[SIZE=2] <item itemEvents='true' contentPath='products/09.jpg' />[/SIZE]
[SIZE=2] <item itemEvents='true' contentPath='products/10.jpg' />[/SIZE]

[SIZE=2] </data>[/SIZE]

[SIZE=2] </component>[/SIZE]
[/LEFT]
 

```

I just don’t know how to access this type of xml code.  
And I can’t change it to something else because I have a component that reads only this type of code.

tnx in advance :thumb:
