# XML question

**URL:** <https://forum.kirupa.com/t/xml-question/27413>\
**Category:** flash\
**Created:** [August 2, 2003, 3:23am UTC](https://forum.kirupa.com/t/xml-question/27413 "2003-08-02T03:23:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RussianBeer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/russianbeer/32/152_2.png) [@RussianBeer](https://forum.kirupa.com/u/RussianBeer)\
**Post date:** [August 2, 2003, 3:23am UTC](https://forum.kirupa.com/t/xml-question/27413/1 "2003-08-02T03:23:55Z")

</div>

When I try to run this code:

\< **xml version="1** 0" ?\>  
\<**images directory=“Images”\>  
\<i**mageNode jpegURL=“a2.jpg” thumbURL=“tn\_2.jpg” title=“Image 0”\>  
Comments on Image 0  
\<**imageNode jpegURL=“a3.jpg” thumbURL=“tn\_3.jpg” title=“Image 1”\>  
Comments on Image 1  
\<**/imageNode\>  
…  
…  
… \<**imageNode jpegURL=“a4.jpg” thumbURL=“tn\_4.jpg” title=“Image n”\>  
… Comments on Image n  
… \<**/imageNode\>  
… \<\*\*/images\>

I get this error message:

> 

The XML page cannot be displayed  
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

* * *

Invalid at the top level of the document. Error processing resource ‘file:///C:/Documents and Settings/Administrator.AIRBORNE/Desktop/GalleryComponent1\_2/gallery/TMP10mxciz2nx.xml’. Line 1, Position 24

\<?xml version=“1.0” ?\>

Any idea what the I should put there instead?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 3:26am UTC](https://forum.kirupa.com/t/xml-question/27413/2 "2003-08-02T03:26:50Z")

</div>

I know nothing about xml but does it have anything to do with it being a local file on your hard drive?

Sorry man, best I can think of

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 7:35am UTC](https://forum.kirupa.com/t/xml-question/27413/3 "2003-08-02T07:35:01Z")

</div>

Nope :(, thanks though

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 4:38pm UTC](https://forum.kirupa.com/t/xml-question/27413/4 "2003-08-02T16:38:40Z")

</div>

try

```php

<?xml version="1.0" ?>
instead of
<?xml version="10" ?>

```

(version 10 not out yet 😉 )  
…just a thought…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 4:57pm UTC](https://forum.kirupa.com/t/xml-question/27413/5 "2003-08-02T16:57:18Z")

</div>

fixed: thor.

btw, it’s

```php
<? xml version="1.0" ?>

```

(notice the two question marks) 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 5:09pm UTC](https://forum.kirupa.com/t/xml-question/27413/6 "2003-08-02T17:09:34Z")

</div>

im confused
