?
Solved

my xml page not displaying

Posted on 2006-05-03
3
Medium Priority
?
206 Views
Last Modified: 2011-10-03
Hi

I am trying to to build a site map and i have the following xml page
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <sitemap>
- <url>
  <TITLE>Home</TITLE>  <LOC>http://www.onestopcaribbeanshop.com/classicalconcierge/index.asp</LOC>
  <LASTMOD>2006-05-03</LASTMOD>
  <changefreq>monthly</changefreq>
  <priority>0.0</priority>
  </url>
- <url>
  <TITLE>About US</TITLE>  <LOC>http://www.onestopcaribbeanshop.com/classicalconcierge/aboutus.html</LOC>
  <LASTMOD>2006-05-03</LASTMOD>
  <changefreq>monthly</changefreq>
  <priority>0.0</priority>
  </url>
- <url>
  <TITLE>Services</TITLE>  <LOC>http://www.onestopcaribbeanshop.com/classicalconcierge/services.asp</LOC>
  <LASTMOD>2006-05-03</LASTMOD>
  <changefreq>monthly</changefreq>
  <priority>0.0</priority>
  </url>
- <url>
  <TITLE>Feedback Form</TITLE>  <LOC>http://www.onestopcaribbeanshop.com/classicalconcierge/feedback.html</LOC>
  <LASTMOD>2006-05-03</LASTMOD>
  <changefreq>monthly</changefreq>
  <priority>0.0</priority>
  </url>
- <url>
  <TITLE>Whats New</TITLE>  <LOC>http://www.onestopcaribbeanshop.com/classicalconcierge/whatsnew.asp</LOC>
  <LASTMOD>2006-05-03</LASTMOD>
  <changefreq>monthly</changefreq>
  <priority>0.0</priority>
  </url>
- <url>
  <TITLE>Site Map</TITLE>
  <LOC>http://www.onestopcaribbeanshop.com/classicalconcierge/site.asp</LOC>
  <LASTMOD>2006-05-03</LASTMOD>
  <changefreq>monthly</changefreq>
  <priority>0.0</priority>
  </url>
- <url>
  <TITLE>Privacy</TITLE>
  <LOC>http://www.onestopcaribbeanshop.com/classicalconcierge/Privacy.html</LOC>
  <LASTMOD>2006-05-03</LASTMOD>
  <changefreq>monthly</changefreq>
  <priority>0.0</priority>
  </url>
- <url>
  <TITLE>Terms of Use</TITLE>  LOC>http://www.onestopcaribbeanshop.com/classicalconcierge/terms_use.html</LOC>
  <LASTMOD>2006-05-03</LASTMOD>
  <changefreq>monthly</changefreq>
  <priority>0.0</priority>
  </url>
  </sitemap>
and the  following html page,  but when i upload files to hosting server and try to view page, the data is not showing in my tables.

<html>
<body>

<xml id="ccsitemap" src="smap.xml"></xml>

<table border="1" datasrc="#ccsitemap">
<tr><th colspan="3">Site Map</th></tr>
<tr><th>Title</th><th>URL</th><th>LastModified</th></tr>
<tbody>
<tr>
<td><span datafld="TITLE"></span></td>
<td><span datafld="LOC"></span></td>
<td><span datafld="LASTMOD"></span></td>
</tr>
</tbody>

</table>

</body>
</html>
THis is my first xml page

Please help
0
Comment
Question by:krbnldy
  • 2
3 Comments
 
LVL 12

Expert Comment

by:jkmyoung
ID: 16601383
The XML doesn't appear to be well-formed. In your last URL node,
<TITLE>Terms of Use</TITLE>  LOC>http://www.onestopcaribbeanshop.com/classicalconcierge/terms_use.html</LOC>


<LOC> is missing the opening '<'
0
 

Author Comment

by:krbnldy
ID: 16602095
I made the correction and it is still not showing

0
 
LVL 12

Accepted Solution

by:
jkmyoung earned 210 total points
ID: 16605264
Is smap.xml in the same directory as your html file?
Are those dashes '-' actually in your xml file? They shouldn't be.

not sure what else it could be, as I do see output with those 2 files after the LOC fix.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Loops Section Overview
Suggested Courses
Course of the Month15 days, 17 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question