Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: XML to HTML

  1. #1
    Join Date
    Apr 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default XML to HTML

    Hi ppls, I am creating a new blog recently but when I change the template into another one which is the blogskins that i wan for my blog, when i paste the code it, the error message appear,

    Please correct the error below, and submit your template again.
    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: Open quote is expected for attribute "language" associated with an element type "script".


    Any idea on how to solve this problem?

    PLs pls pLs. need help >.<

    thanks thanks

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    You would need to post the template source code for us to figure out a way to fix your problem.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Apr 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    template source code? the one that i want to use or the original one?

  4. #4
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    The one that you are receiving this error message on. We would need to see the (X)HTML source code to determine what the problem is and also a fix for it.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  5. #5
    Join Date
    Apr 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Code:
    <html>
    <head>
    <title>         `TITLE HERE~</title>
    
    <script language=JavaScript>
    <!--
    
    //Disable right click script III- By Renigade (renigade@mediaone.net)
    //For full source code, visit http://www.dynamicdrive.com
    
    var message="";
    ///////////////////////////////////
    function clickIE() {if (document.all) {(message);return false;}}
    function clickNS(e) {if 
    (document.layers||(document.getElementById&&!document.all)) {
    if (e.which==2||e.which==3) {(message);return false;}}}
    if (document.layers) 
    {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
    else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
    
    document.oncontextmenu=new Function("return false")
    // --> 
    </script>
    
    
    
    <style type="text/css">
    #b-navbar {   height:0px;   visibility:hidden;   display:none   }
    
    A:link { 
    font-size: 8pt; 
    font-family: verdana; 
    letter-spacing: 0px; 
    line-height: 0px; 
    color: black; 
    text-decoration: none;
    cursor:hand;   
    } 
    
    A:visited { 
    font-size: 8pt; 
    font-family: verdana; 
    letter-spacing: 0px; 
    line-height: 9px; 
    color: black bold; 
    font-weight: none; 
    text-decoration: none;
    border-bottom: 1px double solid black;
    cursor:help;  
    } 
    
    A:active {
    font-size: 8pt; 
    font-family: verdana; 
    letter-spacing: 0px; 
    line-height: 9px; 
    color: none; 
    font-weight: strikethrough; 
    text-decoration: none;
    cursor:none;
    } 
    
    A:hover{
    color: white;
    background: black; 
    text-transform: none; 
    font-family: TAHOMA;
    letter-spacing: 0px; 
    line-height: 9px;
     
    filter:fliph; 
    height:0;  
    border: 2px dotted limegreen;
    border-bottom: 2px solid orange;
    font-size:8.5pt;
    	}
    
    	
    body 
    {
    cursor: crosshair;
    font-family:verdana;
    font-size:8.5pt;
    font-color: white; 
    background-color: black;
    
    scrollbar-face-color:white;
    scrollbar-highlight-color:orange;
    scrollbar-3dlight-color:yellow;
    scrollbar-darkshadow-color:yellow;
    scrollbar-Shadow-color:orange;
    scrollbar-arrow-color:lightgreen;
    scrollbar-track-color:white;
    }
    
    textarea, input, select {
    font: 7pt verdana;
    letter-spacing: 1px;
    color: white;
    background-color: none;
    border: none;
    } 
    
    
    .head {
    font-family: tahoma;
    letter-spacing: 20px;
    font-size : 20px;
    border: 2px dotted violet;
    border-bottom:2px dotted violet; 
    text-transform: uppercase;
    color: deeppink;
    background-color: black;
    text-align:right;
    }
    
    
    .head2 {
    font-family: VERDANA;
    letter-spacing: 3px;
    font-size :17px;
    border:none ;
    border-bottom: 
    text-transform: uppercase;
    color: white;
    background-color: orange;
    text-align:left;
    }
    
    
    <!-- --><!-- --><style type="text/css">@import url(http://www.blogger.com/css/navbar/main.css);
    @import url(http://www.blogger.com/css/navbar/1.css);
    div.b-mobile {display:none;}
    </style>
    
    <script type="text/javascript" src="http://www.blogger.com/js/cookies.common.js"> </script></head><body><!-- --><div id="flagi" style="visibility:hidden; position:absolute;" onmouseover="showDrop()" onmouseout="hideDrop()"><div id="flagtop"></div><div id="top-filler"></div><div id="flagi-body">Notify Blogger about objectionable content.<br /><a href="http://help.blogger.com/bin/answer.py?answer=1200"> What does this mean? </a> </div></div><div id="b-navbar"><a href="http://www.blogger.com/" id="b-logo" title="Go to Blogger.com"><img src="http://www.blogger.com/img/navbar/1/logobar.gif" alt="Blogger" width="80" height="24" /></a><div id="b-sms" class="b-mobile"><a href="sms:?body=Hi&#37;2C%20check%20out%20bballer-diary%20at%20smilelikesiao-0510.blogspot.com">Send As SMS</a></div><form id="b-search" name="b-search" action="http://search.blogger.com/"><div id="b-more"><a href="http://www.blogger.com/" id="b-getorpost"><img src="http://www.blogger.com/img/navbar/1/btn_getblog.gif" alt="Get your own blog" width="112" height="15" /></a><a id="flagButton" style="display:none;" href="javascript:toggleFlag();" onmouseover="showDrop()" onmouseout="hideDrop()"><img src="http://www.blogger.com/img/navbar/1/flag.gif" name="flag" alt="Flag Blog" width="55" height="15" /></a><a href="http://www.blogger.com/redirect/next_blog.pyra?navBar=true" id="b-next"><img src="http://www.blogger.com/img/navbar/1/btn_nextblog.gif" alt="Next blog" width="72" height="15" /></a></div><div id="b-this"><input type="text" id="b-query" name="as_q" /><input type="hidden" name="ie" value="UTF-8" /><input type="hidden" name="ui" value="blg" /><input type="hidden" name="bl_url" value="smilelikesiao-0510.blogspot.com" /><input type="image" src="http://www.blogger.com/img/navbar/1/btn_search_this.gif" alt="Search This Blog" id="b-searchbtn" title="Search this blog with Google Blog Search" onclick="document.forms['b-search'].bl_url.value='smilelikesiao-0510.blogspot.com'" /><input type="image" src="http://www.blogger.com/img/navbar/1/btn_search_all.gif" alt="Search All Blogs" value="Search" id="b-searchallbtn" title="Search all blogs with Google Blog Search" onclick="document.forms['b-search'].bl_url.value=''" /><a href="javascript:BlogThis();" id="b-blogthis">BlogThis!</a></div></form></div><script type="text/javascript"><!--
    
    var ID = 26176967;var HATE_INTERSTITIAL_COOKIE_NAME = 'dismissedInterstitial';var FLAG_COOKIE_NAME = 'flaggedBlog';var FLAG_BLOG_URL = 'http://www.blogger.com/flag-blog.g?nav=1&toFlag=' + ID;var UNFLAG_BLOG_URL = 'http://www.blogger.com/unflag-blog.g?nav=1&toFlag=' + ID;var FLAG_IMAGE_URL = 'http://www.blogger.com/img/navbar/1/flag.gif';var UNFLAG_IMAGE_URL = 'http://www.blogger.com/img/navbar/1/unflag.gif';var ncHasFlagged = false;var servletTarget = new Image();
    
    function BlogThis() {Q='';x=document;y=window;if(x.selection) {Q=x.selection.createRange().text;} else if (y.getSelection) { Q=y.getSelection();} else if (x.getSelection) { Q=x.getSelection();}popw = y.open('http://www.blogger.com/blog_this.pyra?t=' + escape(Q) + '&u=' + escape(location.href) + '&n=' + escape(document.title),'bloggerForm','scrollbars=no,width=475,height=300,top=175,left=75,status=yes,resizable=yes');void(0);}
    
    function blogspotInit() {initFlag();}
    
    function hasFlagged() {return getCookie(FLAG_COOKIE_NAME) || ncHasFlagged;}
    
    function toggleFlag() {var date = new Date();var id = 26176967;if (hasFlagged()) {removeCookie(FLAG_COOKIE_NAME);servletTarget.src = UNFLAG_BLOG_URL + '&d=' + date.getTime();document.images['flag'].src = FLAG_IMAGE_URL;ncHasFlagged = false;} else { setBlogspotCookie(FLAG_COOKIE_NAME, 'true');servletTarget.src = FLAG_BLOG_URL + '&d=' + date.getTime();document.images['flag'].src = UNFLAG_IMAGE_URL;ncHasFlagged = true;}}
    
    function initFlag() {document.getElementById('flagButton').style.display = 'inline';if (hasFlagged()) {document.images['flag'].src = UNFLAG_IMAGE_URL;} else {document.images['flag'].src = FLAG_IMAGE_URL;}}
    
    function showDrop() {if (!hasFlagged()) {document.getElementById('flagi').style.visibility = 'visible';}}
    
    function hideDrop() {document.getElementById('flagi').style.visibility = 'hidden';}
    
    function setBlogspotCookie(name, val) {var expire = new Date((new Date()).getTime() + 5 * 24 * 60 * 60 * 1000);var path = '/';setCookie(name, val, null, expire, path, null);}
    
    function removeCookie(name){var expire = new Date((new Date()).getTime() - 1000); setCookie(name,'',null,expire,'/',null);}
    
     --></script><script type="text/javascript">  blogspotInit();</script><div id="space-for-ie"></div>
    
    <div style="position: absolute; left: 195px; top: 0px">
    <img src="http://i19.photobucket.com/albums/b159/esthertreo/Copyofmyblog4-1.jpg">
    </div>
    
    <div id="box" style="position:absolute; padding: 5px; border: 1px solid none; height:370; width: 495; z-index:2; left: 458; top: 210; overflow: auto; background-color: transparent">
    
    
    
    <div class="head">INTRO</font></div><br>
    INTRO HERE~
    <br></div>
    
    <div id="profile" style="display:none">
    <div class="head">PROFILE</font></div><br>
    PROFILE HERE~
    <br>
    <br>
    </div>
    
    <div id="entries" style="display:none">
    <div class="head">ENTRIES</font></div>
    
    
    <Blogger>
    
    <p align=left><BlogDateHeader></p align>
    <h5>
    <p align=left>
    <div class="head2"><$BlogDateHeaderDate$></div>
    </font></p align></h5>
    </BlogDateHeader></font>
    
    <p>
    <$BlogItemBody$>
    <p>
    
    <p align=right>'<u>URNAME</u>;</p align><br>
    </Blogger>
    </div>
    
    </font></div></font>
    <p>
    </div>
    Last edited by thetestingsite; 04-11-2007 at 05:20 PM. Reason: formatting

  6. #6
    Join Date
    Apr 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    <div id="links" style="display:none">
    <div class="head">LINKS </font></div><br>
    LINKS HERE~<br>
    <br><br>
    <div class="head">HISTORY</font></div><br>
    ARCHIVES HERE~
    <br><br>

    <div id="credits" style="display:none">
    <div class="head">CREDITS</font></div><br>
    <b>LAYOUT</b> : <A onmouseover="window.status=' PINKRETROXdotBLOGSPOTdotCOM ';return true" href="http://pinkretrox.blogspot.com">Esther </a></font><br>
    <b>IMAGE</b> : <A onmouseover="window.status=' ADOBEdotCOM ';return true" href="http://adobe.com">Adobe Photoshop</a></font><br>
    <b>HOSTING</b> : <A onmouseover="window.status=' BLOGGERdotCOM ';return true" href="http://blogger.com">Blogger</a></font>, <A onmouseover="window.status=' PHOTOBUCKETdotCOM ';return true" href="http://photobucket.com">Photobucket</a></font><br><br><br>
    </div></center>
    </div>

    <div id="box2" style="position:absolute; padding: 5px; border: 1px solid none; height:450; width: 185; z-index:2; left: 5; top: 80; overflow: auto; background-color: transparent">

    <div class="head">TAG</font></div><br>
    <font color="white">TAGBOARD CODE HERE~</font>
    </div>

    <div style="position: absolute; top: 180px; left: 520px;width:175px; height: 58px; font-weight: none;
    z-index: 5; font-family: verdana; font-size: 8pt; color: red; text-align: left; cursor: help;">
    <span style="cursor: help; text-decoration: none" onClick="document.getElementById('box').innerHTML=document.getElementById('profile').innerHTML" onMouseOver="this.style.color='black'" onMouseOut="this.style.color='limegreen'"><b>PROFILE</B></span></div>

    <div style="position: absolute; top: 180px; left: 590px;width:175px; height: 58px; font-weight: none;
    z-index: 5; font-family: verdana; font-size: 8pt; color: orange; text-align: left; cursor: help;">
    <span style="cursor: help; text-decoration: blur" onClick="document.getElementById('box').innerHTML=document.getElementById('entries').innerHTML" onMouseOver="this.style.color='black'" onMouseOut="this.style.color='skyblue'"><b>ENTRIES</B></span></div>

    <div style="position: absolute; top: 180px; left: 660px;width:175px; height: 58px; font-weight: none;
    z-index: 5; font-family: verdana; font-size: 8pt; color: yellow; text-align: left; cursor: help;">
    <span style="cursor: help; text-decoration: blur" onClick="document.getElementById('box').innerHTML=document.getElementById('links').innerHTML" onMouseOver="this.style.color='black'" onMouseOut="this.style.color='violet'"><b>LINKS</B></span></div>

    <div style="position: absolute; top: 180px; left: 710px;width:175px; height: 58px; font-weight: none;
    z-index: 5; font-family: verdana; font-size: 8pt; color: darkgreen; text-align: left; cursor: help;">
    <span style="cursor: help; text-decoration: blur" onClick="document.getElementById('box').innerHTML=document.getElementById('credits').innerHTML" onMouseOver="this.style.color='black'" onMouseOut="this.style.color='hotpink'"><b>CREDITS</B></span></div>
    </font>

    <script>
    window.defaultStatus=" MSG HERE~~ "
    </script></html>

  7. #7
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Going off the error message, try adding quotes around the language attribute for the script tag. This will look like so:

    Code:
    <html>
    <head>
    <title>         `TITLE HERE~</title>
    
    <script language="JavaScript">
    <!--
    Notice the parts in red in the code above.
    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  8. #8
    Join Date
    Apr 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Still cant. Error message shown as below:

    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: The element type "style" must be terminated by the matching end-tag "".

  9. #9
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    That error message is due to this part:

    Code:
    .head2 {
    font-family: VERDANA;
    letter-spacing: 3px;
    font-size :17px;
    border:none ;
    border-bottom: 
    text-transform: uppercase;
    color: white;
    background-color: orange;
    text-align:left;
    }
    </style>
    
    <style type="text/css">@import url(http://www.blogger.com/css/navbar/main.css);
    @import url(http://www.blogger.com/css/navbar/1.css);
    div.b-mobile {display:none;}
    </style>
    You need to add the part in red (the rest of the code in the above is just for placement detail only).

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  10. #10
    Join Date
    Apr 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    XML error message: The element type "div" must be terminated by the matching end-tag "
    haha

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •