# Issue with Senocular's News Editor

**URL:** <https://forum.kirupa.com/t/issue-with-senoculars-news-editor/220713>\
**Category:** programming\
**Created:** [March 28, 2007, 4:24pm UTC](https://forum.kirupa.com/t/issue-with-senoculars-news-editor/220713 "2007-03-28T16:24:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hombr3w311](https://avatars.discourse-cdn.com/v4/letter/h/f4b2a3/32.png) [@hombr3w311](https://forum.kirupa.com/u/hombr3w311)\
**Post date:** [March 28, 2007, 4:24pm UTC](https://forum.kirupa.com/t/issue-with-senoculars-news-editor/220713/1 "2007-03-28T16:24:30Z")

</div>

Hello All -  
[COLOR=#666666]senocular, if you read this first off many thnaks for your tutorial, it has been great! [/COLOR]

[COLOR=#666666]So I have the script working wit no issues. I’ve been modifying it to try an match my xml file and I am having some issues. First off, I need this to be at the top of the XML file at all time, especially after editing the xml:[/COLOR]

```auto

[SIZE=1][COLOR=#666666]<simpleviewerGallery maxImageWidth="480" maxImageHeight="480" textColor="0xFFFFFF" frameColor="0x999999" frameWidth="5" stagePadding="40" thumbnailColumns="2" thumbnailRows="3" navPosition="right" title="" enableRightClickOpen="true" backgroundImagePath="" imagePath="thumbnails/bracelets/400/" thumbPath="thumbnails/bracelets/70/">[/COLOR][/SIZE]

```

[SIZE=1][COLOR=#666666]Then, after the nodes, it has to end [/COLOR][/SIZE]

```auto

[SIZE=1][COLOR=#666666]</simpleviewerGallery>[/COLOR][/SIZE]

```

[SIZE=1][COLOR=#666666]So basically i have the output i need, but i need that code on the xml document.[/COLOR][/SIZE]

[SIZE=1][COLOR=#666666]Here is what the final xml needs to look like:[/COLOR][/SIZE]

```auto

[SIZE=1]<simpleviewerGallery maxImageWidth="480" maxImageHeight="480" textColor="0xFFFFFF" frameColor="0x999999" frameWidth="5" stagePadding="40" thumbnailColumns="2" thumbnailRows="3" navPosition="right" title="" enableRightClickOpen="true" backgroundImagePath="" imagePath="thumbnails/bracelets/400/" thumbPath="thumbnails/bracelets/70/">[/SIZE]
[SIZE=1][/SIZE] 
[SIZE=1]<image>[/SIZE]
[SIZE=1]<filename>80-00762.jpg</filename>[/SIZE]
[SIZE=1]<caption>80-762 Large Geometric Square Serpentine Pave Bracelet 2.23 ct. 18k 923101</caption>[/SIZE]
[SIZE=1]</image>[/SIZE]
[SIZE=1][/SIZE] 
[SIZE=1]<image>[/SIZE]
[SIZE=1]<filename>95-00026.jpg</filename>[/SIZE]
[SIZE=1]<caption>95-026 Small Double Circle Rose Gold Bar Bracelet .80ct. 18k 910201</caption>[/SIZE]
[SIZE=1]</image>[/SIZE]
 
[SIZE=1]<image>[/SIZE]
[SIZE=1]<filename>95-00126R.jpg</filename> [/SIZE]
[SIZE=1]<caption>96-126R Small Double Circle Rose Gold Bar Bracelet .80 ct. 18k 910201</caption>[/SIZE]
[SIZE=1]</image>[/SIZE]
 
[SIZE=1]<image>[/SIZE]
[SIZE=1]<filename>96-00026.jpg</filename> [/SIZE]
[SIZE=1]<caption>96-026 White Gold Filigree Circles With Yellow Gold Diamond Ovals Link Bracelet 0.75ct. 18k 99901</caption>[/SIZE]
[SIZE=1]</image>[/SIZE]
[SIZE=1][/SIZE] 
[SIZE=1]<image>[/SIZE]
[SIZE=1]<filename>96-00029.jpg</filename> [/SIZE]
[SIZE=1]<caption>96-029 White Gold Rectangles With Yellow Gold Diamond Ovals Link Bracelet 0.90ct. 18k 910501</caption>[/SIZE]
[SIZE=1]</image>[/SIZE]
 
[SIZE=1]</simpleviewerGallery>[/SIZE]

```

[COLOR=#666666]Thanks Very much. I appreciate all the help here on KirupaForm![/COLOR]

[COLOR=#666666]Andrew[/COLOR]
