HTML - Xml Parsing Error
Hello,
I am having a problem with this xml document parsing. Code: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!-- ScanMaster and DigiCam FAQ --> <?xml-stylesheet type="text/css" href="assets/FAQ.css" ?> <FAQ> <Title>Jackson Electronics Products</Title> <SubTitle>Frequently Asked Questions</SubTitle> <product>The ScanMaster</product> <question>How do I scan slides?</question> <answer> <! [CDATA["You can scan slides using the JE Transparency Adapter (part number STA8901) available from Jackson Electronics."]]> </answer> <question>Where can I find the latest drivers for my ScanMaster?</question> <answer> <! [CDATA["You can download the latest software drivers from the Jackson Electronics Web page."]]> </answer> <question>What is the largest sheet that I can scan?</question> <answer> <! [CDATA["8.5 x 14 in (216 x 356 mm)."]]> </answer> <question>How do I fax with my ScanMaster?</question> <answer> <! [CDATA["You can turn your scanner into a fax machine by purchasing the FaxRight add-on component (part number STA4500) available from Jackson Electronics."]]> </answer> <product>DigiCam</product> <question>What is the difference between optimal and digital zoom?</question> <answer> <! [CDATA["With optical zoom the Digicam's lense phyiscal moves inside the camera; with digital zoom, the camera's 'electronic brain' zooms the image. If you zoom too much, your image will become pixelated."]]> </answer> <question>What sort of batteries should I use with the DigiCam?</question> <answer> <! [CDATA["Nickel Metal Hydride (NiMH) batteries work the best and having the longest lifetime. Nickel-Cadium batteries also work very well as do Alkaline batteries. Do not use Lithium batteries."]]> </answer> <question>What resolution should I use for 4x6 in. photos?</question> <answer> <! [CDATA["We recommend 640x480 for 4x6 images, 1024x768 for 5x7 in. photos, and 1600x1200 for 8x10 in photos."]]> </answer> <question>Can the DigiCam be harmed by airport X-ray machines?</question> <answer> <! [CDATA["No, there is no evidence that X-ray machines can affect the performance or quality of DigiCam photos."4]]> </answer> </FAQ> This is the error I get when trying to parse it in Internet Explorer. Quote: Jackson Electronics Products Frequently Asked Questions The ScanMaster How do I scan slides? The XML page cannot be displayed Cannot view XML input using CSS 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:///G:/Course Technology/XML/datadisks/Tutorial.... <! [CDATA["You can scan slides using the JE Transparency Adapter (part number STA8901) available from Jackson Electronics... This is the error I get in Firefox Quote: Jackson Electronics Products Frequently Asked Questions The ScanMaster How do I scan slides? The XML page cannot be displayed Cannot view XML input using CSS 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:///G:/Course Technology/XML/datadisks/Tutorial.... <! [CDATA["You can scan slides using the JE Transparency Adapter (part number STA8901) available from Jackson Electronics... I will do a little bit more reading to see if I can find the answer. Does anyone have a good XML tutorial site? Similar TutorialsHello, I have coded my site, and I have a form on the page, and I'm not sure why I am getting the errors I am getting. If anyone can help me out I would be forever grateful! Here is my code: http://pastie.org/366071 And if you paste it into: http://validator.w3.org/#validate_by_input then you will see what errors I have encountered. I would like to add parsed rss feed to my website (www.ghilliesuitsource.com) I will be the first to admit I am a complete stranger to PHP JAVA PERL etc. I believe my web server supports PHP at least, so I will learn what I have to. I was wondering if there is a good resource for adding parsed RSS feed to an existing html site. The site I want to bring feed from (if it helps) is http://outdoorrssfeeds.com/taxonomy/term/113/9 I am flailing about in open water, so if anyone could point me in the right direction I would certainly appreciate it. How can I display a php script on a web page (html - static) without it being parsed? Thanks. Hi, While parsing relative URL segments "../" to hierarchical segments of the absolute URL , I notice that the <a> tag and the <link> tag do this differently. Take the following absolute and relative URLs: absolute URL: http://www.a.com/a/b relative URL: ../../b/c.css The <a> tag resolves this to: http://www.a.com/b/c.css However the <link> tag resolves this to: http://www.a.com/a/b/c.css It appears that all other forms of resolving URLs are equal between both tags however, I have been trying to find the RFC specification on this but have had no luck. This document http://www.ietf.org/rfc/rfc2396.txt does not contain any information regarding the <link> tag. Is anyone here familiar with this or know where I could obtain more information. Thanks, Bandito http://www.gaihosa.com Hey all, I've been trying to look this up on google but all I get as results are unanswered posts, so I'm here to ask... If I set up a blog (on an existing blogging site) or even created a standalone XML file, would I be able to parse that data into a DIV container? If so, how would I go about getting it to work? Thanks in advance, - M Help please I have a form and am entering in some html code into it, but it's not posting. I guess it's a parsing error. In PHP I would addslashes or something like that, but i don't know what to do for a form... I'm sure this is really simple and i've got it wrong. I have been trying different things and searching the web for hours now... Thank you, Jo Code: Parse error: syntax error, unexpected T_DNUMBER in /home/a6989956/public_html/include/database.php on line 24 Can anyone please tell me whats wrong? Here is line a few lines Code: class MySQLDB { var $connection; //The MySQL database connection var $num_active_users; //Number of active users viewing site var $num_active_guests; //Number of active guests viewing site var $num_members; //Number of signed-up users /* Note: call getNumMembers() to access $num_members! */ /* Class constructor */ function MySQLDB(){ /* Make connection to database */ $this->connection = mysql_connect(hostname, username, ********) or die(mysql_error()); mysql_select_db(database, $this->connection) or die(mysql_error()); /** * Only query database to find out number of members * when getNumMembers() is called for the first time, * until then, default value set. */ $this->num_members = -1; if(TRACK_VISITORS){ /* Calculate number of users at site */ $this->calcNumActiveUsers(); /* Calculate number of guests at site */ $this->calcNumActiveGuests(); } } line 24-25 is Code: $this->connection = mysql_connect(hostname, username, ********) or die(mysql_error()); mysql_select_db(database, $this->connection) or die(mysql_error()); PLEASE HELP! I'm having an annoying problem that I'm not understanding why it doesn't work. At this point I'm sure it's something simple I'm overlooking. I have a horizontal accordion menu, which is using a UL, now in my Services section of the menu, I have another UL that only shows the first item, and the button that is suppose to be there disappears. According to W3 validation tools, all of my HTML and CSS is error free, so not sure why it's behaving like this. The website is http://dev.jabrowndesigns.com Thanks for any advice. P.S. The menu doesn't work IE for some reason, haven't quite reached it yet as it's not too high on my list at the moment, but if anyone knows off the bat how to fix it, thanks for that too! I am currently working on a home page for my new website. so far it is going quite well other than one problem. Basically my template which i downloaded is not doing what i want it to do. The problem is positioning, i am tryning to position my navigation bar, so that it is on the left side and my content container on the right. However i do not want my container on the very right as i am planning to use an advertising service such as google adsense. This is what i would like it to look like: Whenever i type in my css file in the code for the content "margin-left:"250px"; (my navigation is 220px). it causes my navigation bar to move down. Whenever i type in "margin-right:700px;" the content column clings to the left no mater how many pixels i type in, it always cligns to the left as if it is afraid of the right side! The html, css files and images are placed at the bottom of this post in a zip file incase the following css code is not enough. Code: My css code for navigation(#left) and content(#right). #left { width: 220px; float: left; margin-left: 20px; } #right { width: 450px; margin-right: 250px; } I've a Syntax error with the following code, any helpwould be grateful <div class="menuBar c2"><a class="menuButton" href="" onclick="return buttonClick(event, 'lifesavingmenu');" onmouseover="buttonMouseover(event, 'lifesavingmenu');">Lifesaving<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'mnoticesmenu');" onmouseover="buttonMouseover(event, 'mnoticesmenu');">"M" Notices<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'stabilitymenu');" onmouseover="buttonMouseover(event, 'stabilitymenu');">Stability<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'radarmenu');" onmouseover="buttonMouseover(event, 'radarMenu');">Radar<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'merchantnavymenu');" onmouseover="buttonMouseover(event, 'merchantnavymenu');">Merchant Navy<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'alterationsmenu');" onmouseover="buttonMouseover(event, 'alterationsmenu');">Alterations<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'lightrecognitionmenu');" onmouseover="buttonMouseover(event, 'lightrecognitionmenu');">Light Recognition<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'checklistsmenu');" onmouseover="buttonMouseover(event, 'checklistsmenu');">Checklists<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'chartworkmenu');" onmouseover="buttonMouseover(event, 'chartworkmenu');">Chartwork<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'situationsmenu');" onmouseover="buttonMouseover(event, 'situationsmenu');">Situations<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'photogallerymenu');" onmouseover="buttonMouseover(event, 'alterationsmenu');">Photo Gallery<\/a><\/div> Hi there I have edited a website in front page and it has a basic slideshow of top pictures. When previewing it in frontpage it shows fine and works well. However, when uploading to the site, it shows the three pictures as one large block. Can anyone advise where I am going wrong? the page on the site is www.thepullmanlodge.co.uk/weddings.htm Thanks Hi, can anyone help me understand why am i getting this error: Page: http://www.mysite.com Category: 102 - SCRIPT not commented Date: 3/30/09 Severity: 4 Threshold: Message: No comment around script content thanks to all for ur time. [url="http://www.buildit.sitesell.com/lavy.html"]SEO friendly Websites[\URL] it says that end tag for table is not finished. here is the sequence <form action="$vboptions[forumhome].php" method="get"> <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center"></table> <div align="center"> apreciate any help you can give me I inherited a web page that has "background" as an attribute for a <td>: <td background="images/nav_back.jpg"... Validation gives - there is no attribute "BACKGROUND" The doctype is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> Is there a work-around? That background image is needed. Thanks... Hi Guys, This is a really minor task but i cant seem to get rid of the page error on my homepage. If you go here http://www.pspwallpaper.co.uk/ then say click 'affiliates' and then hit the back button to the homepage it runs a error. Page error. If some1 could take a quick look and help me out. It might be just tiredness on my part i have been workin 3hours on new homepage and have no energy now lol. Any help gratefull. Regards, WhiteKnight I've gotten this error even though I do have all the objects declared: Line384 Error: 'window.document.patentfrm.patentList' is null or not an object patentfrm: refers to the form name patentList: refers to the name of the list this error occurs when ever I try to add a patent a the list any possible reasons? Hello everybody i have a very little problem, but i can not realy understand why this happens to me (my Browser) actually when i build some site i test them on FF and IE so, the same thing i was doing a moment ago, when i saw error (if it can be called an error) i have a header image on the top of my site.. using simple code Code: <img src="images/header.jpg> before this as it should be i have code like this : Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>asd</title> <meta name="description" content="1st school - Personal web page. Adress D.Tavdadebuli Str. No15. Batumi, Georgia" /> <meta name="keywords" content="ქ. ბათუმის #1 საჯარო სკოლა, ყველაფერი სკოლის ცხოვრების შესახებ. განათლება. მოსწავლე. პედაგოგი. მასწავლებელი " /> <meta name="author" content="Otari Tsilosani" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link rel="stylesheet" type="text/css" href="styles/styles.css" /> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> </head> everything was okey until i looked at the top of the image in FF, it went down for several px like having (topmargin=2) i tried to find out why it happend, and saw that when i remove Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> is goes to its previuose please (where is should be) when i insert Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> the same thing happens with it again. why does it happen, can someone help me with that? thanks a lot. |