Topic: "Whitespace is not allowed in this location"

Every time I try to open my Simpleviewer in my file, it will not open because and says "Cannot Parse XML". 

When I check it in the web browser, I receive this pop up: "The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Whitespace is not allowed at this location. Error processing resource 'file:///C:/Users/014017.FM1SVH1/Desktop/dad/Website ...

<simpleviewergallery galleryStyle="MODERN" title="Kitchen-Bath & Cabinet Co. Photo Gallery!" textColor="FFFFFF" frame..."

I have gone back and forth editing the problems in the coding but continue to receive pop ups of errors -- I cannot figure out why this still happens.  Below is a copy of my direct code:

<xml version="1.0" encoding="UTF-8" >
<simpleviewergallery galleryStyle="MODERN" title="Kitchen-Bath & Cabinet Co. Photo Gallery!" textColor="FFFFFF" frameColor="FFFFFF" frameWidth="20" thumbPosition="LEFT" thumbColumns="4" thumbRows="4" showOpenButton="TRUE" showFullscreenButton="TRUE" maxImageWidth="640" maxImageHeight="640" useFlickr="true" flickrUserName="kbcdesigner" flickrTags="" languageCode="AUTO" languageList="" imagePath="images/" thumbPath="thumbs/">
<image imageURL="images/wide.jpg" thumbURL="thumbs/wide.jpg" linkURL="" linkTarget="">
<caption>
<![CDATA[ Welcome to <u><a href="http://www.simpleviewer.net" target="_blank">SimpleViewer</a></u>.
  ]]>
  </caption>
  </image>
<image imageURL="images/tall.jpg" thumbURL="thumbs/tall.jpg" linkURL="" linkTarget="">
  <caption>SimpleViewer is a free, customizable Flash image gallery. Use it to display your images on any web page in a professional, intuitive and simple way.</caption>
  </image>
<image imageURL="images/wide.jpg" thumbURL="thumbs/wide.jpg" linkURL="" linkTarget="">
  <caption>SimpleViewer can be used on any website for free and is compatible with Windows, Mac and Linux.</caption>
  </image>
<image imageURL="images/tall.jpg" thumbURL="thumbs/tall.jpg" linkURL="" linkTarget="">
  <caption>SimpleViewer features intuitive image navigation, smart image pre-loading and a resizable interface that scales to fit the browser window (try resizing your browser).</caption>
  </image>
<image imageURL="images/wide.jpg" thumbURL="thumbs/wide.jpg" linkURL="" linkTarget="">
<caption>
<![CDATA[ Supports optional <b>fullscreen mode</b> and <b>external image links</b> via the Button Bar at top-right and the right-click menu.
  ]]>
  </caption>
  </image>
<image imageURL="images/tall.jpg" thumbURL="thumbs/tall.jpg" linkURL="http://www.simpleviewer.net" linkTarget="_blank">
  <caption>This image use the linkURL attribute to link to a specific URL (use the arrow icon button at top-right to navigate).</caption>
  </image>
<image imageURL="images/wide.jpg" thumbURL="thumbs/wide.jpg" linkURL="" linkTarget="">
<caption>
<![CDATA[ Captions can be HTML formatted. Supported tags are <b>bold</b>, <u>underline</u>, <i>italics</i>, <u><a href="http://www.simpleviewer.net" target="_blank">hyperlinks</a></u>, linebreaks<br> and <font color="#ffff00" size="30">font tags</font>
  ]]>
  </caption>
  </image>
<image imageURL="images/tall.jpg" thumbURL="thumbs/tall.jpg" linkURL="" linkTarget="">
  <caption>Handles images with different aspect ratios. Images can be tall or wide.</caption>
  </image>
<image imageURL="images/wide.jpg" thumbURL="thumbs/tall.jpg" linkURL="" linkTarget="">
  <caption>Images can be loaded via an XML document or directly from Flickr using a Flickr user name and/or tags..</caption>
  </image>
<image imageURL="images/tall.jpg" thumbURL="thumbs/tall.jpg" linkURL="" linkTarget="">
  <caption>3 different standard gallery styles: Modern, Classic and Compact.</caption>
  </image>
<image imageURL="images/wide.jpg" thumbURL="thumbs/wide.jpg" linkURL="" linkTarget="">
  <caption>Navigate through the images by clicking or using the keyboard: Cursor keys, Home, End, Page Up/Down.</caption>
  </image>
<image imageURL="images/tall.jpg" thumbURL="thumbs/tall.jpg" linkURL="" linkTarget="">
<caption>
<![CDATA[ All <u><a href="http://www.simpleviewer.net/simpleviewer/support/standard_options.html" target="_blank">configuration options</a></u> are customizable by editing an XML file in any text editor.
  ]]>
  </caption>
  </image>
<image imageURL="images/wide.jpg" thumbURL="thumbs/wide.jpg" linkURL="" linkTarget="">
<caption>
<![CDATA[ Includes automatic international language support, and supports non-english characters<br><br>???????????????????
  ]]>
  </caption>
  </image>
<image imageURL="images/tall.jpg" thumbURL="thumbs/tall.jpg" linkURL="" linkTarget="">
<caption>
<![CDATA[ For SimpleViewer support and documentation, view the <u><a href="http://www.simpleviewer.net/simpleviewer/support" target="_blank">SimpleViewer Support Page</a></u>.
  ]]>
  </caption>
  </image>
<image imageURL="images/wide.jpg" thumbURL="thumbs/wide.jpg" linkURL="" linkTarget="">
<caption>
<![CDATA[ For advanced customization options, no download link and more - check out<br><u><a href="http://www.simpleviewer.net/simpleviewer/pro" target="_blank">SimpleViewer-Pro</a></u>.
  ]]>
  </caption>
  </image>
<image imageURL="images/tall.jpg" thumbURL="thumbs/tall.jpg" linkURL="" linkTarget="">
  <caption />
  </image>
<image imageURL="images/wide.jpg" thumbURL="thumbs/wide.jpg" linkURL="" linkTarget="">
  <caption />
  </image>
<image imageURL="images/tall.jpg" thumbURL="thumbs/tall.jpg" linkURL="" linkTarget="">
  <caption />
  </image>
<image imageURL="images/wide.jpg" thumbURL="thumbs/wide.jpg" linkURL="" linkTarget="">
  <caption />
  </image>
<image imageURL="images/tall.jpg" thumbURL="thumbs/tall.jpg" linkURL="" linkTarget="">
  <caption />
  </image>
<image imageURL="images/wide.jpg" thumbURL="thumbs/wide.jpg" linkURL="" linkTarget="">
  <caption />
  </image>
<image imageURL="images/tall.jpg" thumbURL="thumbs/tall.jpg" linkURL="" linkTarget="">
  <caption />
  </image>
  </simpleviewergallery>

Re: "Whitespace is not allowed in this location"

You need to escape the '&' in the 'title'.  Use this instead:

title="Kitchen-Bath &amp; Cabinet Co. Photo Gallery!"
Steven Speirs
SimpleViewer Support Team.

Re: "Whitespace is not allowed in this location"

Ha, something so simple -- thank you!