Advanced Search

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

Thread: XML Isnt Showing Up.....

  1. #1
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default XML Isnt Showing Up.....

    Hello to The More Experinced XML writers, I am Having A problem And i Have No idea whats Wrong......
    HTML Code:
    <?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"/>
        <title>BoxxerTrumps</title>
        <link rel="stylesheet" type="text/css" href="css.css"/>
    </head><body><xml id="note" id="xmldso" src="XML junk/info.xml"></xml>
    <table><tbody>
    	<xsl:for-each select="post">
    		<tr><td>
    
    			<div datasrc="#xmldso" datafld="header"></div>
    		</td><td>
    			<div datasrc="#xmldso" datafld="date"></div>
    		</td></tr><tr><td colspan="2">
    			<div datasrc="#xmldso" datafld="note"></div>
    		</td></tr><tr><td colspan="2">
    			<div datasrc="#xmldso" datafld="link"></div>
    		</td></tr>
    	</xsl:for-each>
    
    </tbody></table></body></html>
    </body></html>
    and as for the actual xml ...
    HTML Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <post>
      <header>Blog XML test</header>
      <date>07/17/06</date>
      <note>Basic Entry</note>
      <link>www.google.ca</link>
    </post>
    It is being dificult and is refiusing to be displayed....
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  2. #2
    Join Date
    Oct 2006
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    not showing in IE or FF, i can't get xml to showup in FF at all, works great in IE, the code you have looks fine though

  3. #3
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    that junk is whak. thanks... firefox must not support xml....(First flaw to firefox that exists. it will most likely be the last.)
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I would think that unlikely. Do you have a demo page?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  6. #6
    Join Date
    Oct 2006
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OH BURN, lmao, thought FF was the superman of the internet, lol, i cant beleive it doesnt support XML of all things, XML is supported on everything, i laugh at mozilla

  7. #7
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    (First flaw to firefox that exists. it will most likely be the last.)
    Shut up. If you are a web developer, then you would know that FireFox is up to browser standards.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  8. #8
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Back on topic, my xml isnt working. I Know that Mozzilla is the best one but i was told the code was fine.... it doesnt work in IE either, and those are the only web browsers on my comp...
    and i asked this question back in june....odd.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  9. #9
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I don't know what you're using there, but [Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.0.7) Gecko/20061001 Firefox/1.5.0.7] does exactly what I'd expect it to do with an unknown XML document, which is to display the parse tree, on both of those files.
    Shut up. If you are a web developer, then you would know that FireFox is up to browser standards.
    Hey, calm down -- it's just a browser Firefox does have flaws too, you know.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  10. #10
    Join Date
    Oct 2006
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    HTML:
    HTML Code:
    <xml id="news" src="data.xml"></xml>
    
    <table datasrc="#news">
    <thead align="left">
    <tr>
    
    <th>#</th>
    <th>Date</th>
    <th>Title</th>
    <th>Details</th>
    <th>Link</th>
    
    </tr>
    </thead>
    
    
    <td valign="top"><span datafld="NUMB"></span></td>
    <td valign="top"><span datafld="DATE"></span></td>
    <td valign="top"><span datafld="HEAD"></span></td>
    <td valign="top"><span datafld="TEXT"></span></td>
    <td valign="top"><span datafld="LINK"></span></td>
    XML:
    HTML Code:
      <?xml version="1.0" encoding="ISO-8859-1" ?> 
      <NEWS>
      <ENTRY>
      <NUMB>1</NUMB> 
      <DATE>09/21/06</DATE> 
      <HEAD>BLAH</HEAD> 
      <TEXT>BLAH BLAH</TEXT> 
      <LINK>na</LINK> 
      </ENTRY>
      <ENTRY>
      <NUMB>2</NUMB> 
      <DATE>10/1/06</DATE> 
      <HEAD>BLAH</HEAD> 
      <TEXT>BLAH BLAH</TEXT> 
      <LINK>na</LINK> 
      </ENTRY>
      </NEWS>
    this stuff is pulled straight off my website, which works great in IE, but not in FF

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
  •