# What i should put in here image\[c\] =?

**URL:** <https://forum.kirupa.com/t/what-i-should-put-in-here-image-c/176906>\
**Category:** Uncategorized\
**Created:** [January 27, 2006, 10:02pm UTC](https://forum.kirupa.com/t/what-i-should-put-in-here-image-c/176906 "2006-01-27T22:02:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZLOTY](https://avatars.discourse-cdn.com/v4/letter/z/87869e/32.png) [@ZLOTY](https://forum.kirupa.com/u/ZLOTY)\
**Post date:** [January 27, 2006, 10:02pm UTC](https://forum.kirupa.com/t/what-i-should-put-in-here-image-c/176906/1 "2006-01-27T22:02:46Z")

</div>

Hi xml  
\<?xml version=“1.0” encoding=“utf-8” standalone=“yes”?\>

\<zasoby\>

\<grupa type=“Srm\_6\_4\_F”\>  
\<pic\>grafa/Srm\_6\_4\_F/1.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_F/2.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_F/3.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_F/4.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_F/5.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_F/6.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_F/7.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_F/8.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_F/9.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_F/10.jpg\</pic\>  
\</grupa\>

\<grupa type=“Srm\_6\_4\_js”\>  
\<pic\>grafa/Srm\_6\_4\_js/1.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_js/2.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_js/3.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_js/4.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_js/5.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_js/6.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_js/7.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_js/8.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_js/9.jpg\</pic\>  
\<pic\>grafa/Srm\_6\_4\_js/10.jpg\</pic\>  
\</grupa\>  
\</zasoby\>

```auto
   
         

function loadXML(men_xml) {
				var zloty =men_xml.firstChild.childNodes; 
	            for (i=0; i<zloty.length; i++) {
	                      if (zloty*.attributes.type == "Srm_6_4_F" ) {//insted Srm_6_4_F will be a variable
				                   _global.g=i;
					               var sayings = men_xml.childNodes[0].childNodes[g].childNodes;
						            image = [];
			                           for ( c=0; c<sayings.length; c++) {
	             	                       image[c] = ????????????/;
										  //trace(image[c]);
			                               picture.loadMovie(image[c]); 	   
								     }
			                     }
						 }
					}					
 xmlDat = new XML();
xmlDat.ignoreWhite = true;
xmlDat.onLoad = function(success){
	if (success) loadXML(this);
    else trace ("errorxml");}
xmlDat.load("imagescalosc.xml");

```

What i should put in here image[c] = ??? please help ;/  
image[c] = sayings[c].firstChild.nodeValue; doesnt work
