View Full Version : Geting an XML file to load only

10-13-2005, 04:00 PM
Alright so I did a search and yes I am new, both to the forum and some-what to coding. I have an XML file that is actually a blog and I want to load it onto my webpage. I dont know quite how to explain this but here goes. I update the XML file through a blogger, all I want to do is display it. It already has styles in it so it wont display as a tree. Here is what the XML code looks like:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="styles.css" type="text/css"?>

<feed xmlns="http://purl.org/atom/ns#" version="0.3" xml:lang="en-US">
<link href="https://www.blogger.com/atom/12966598" rel="service.post" title="Blogs of life" type="application/atom+xml"/>
<link href="https://www.blogger.com/atom/12966598" rel="service.feed" title="Blogs of life" type="application/atom+xml"/>
<title mode="escaped" type="text/html">Blogs of life</title>
<tagline mode="escaped" type="text/html"></tagline>
<link href="http://www.ryanklein.com/blog.html" rel="alternate" title="Blogs of life" type="text/html"/>
<convertLineBreaks xmlns="http://www.blogger.com/atom/ns#">true</convertLineBreaks>
<entry xmlns="http://purl.org/atom/ns#">
<link href="https://www.blogger.com/atom/12966598/112920116475278023" rel="service.edit" title="Fever Dream" type="application/atom+xml"/>
<name>Ryan Klein</name>
<link href="http://www.ryanklein.com/2005/10/fever-dream.html" rel="alternate" title="Fever Dream" type="text/html"/>
<title mode="escaped" type="text/html">Fever Dream</title>
<content type="application/xhtml+xml" xml:base="http://www.ryanklein.com/blog.html" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">Welcome back world! I have, again, decided to start over with the blog in hopes of updating it more often, with newer and actually useful information. I have a few things first of all. One is never bank at US Bank, because unless you are a master accountant, they will put so many rules and "pendings" in place that you will end up owing them a lot of money for over draft fees'.<br/>
<br/>Next and more imortantly, I am in the process of trying to setup a LAN party for the local area, though if you would like to travle and come, you are always welcome. It is mainly for the towns of Sussex, Lisbon, and Menomonee Falls because those are the closest and mose likly to be able to attend. Right now I am in the process of finding a hotel and sponsers. I am also trying to recrute help from a few friends of mine because I can't do this alone.</div>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>

If you want to see what it looks like, here is the file on my webpage. www.RyanKlein.com/atom.xml As you can see it doesnt display as a tree. Just need to know how to load it into my homepage. I am using CSS for it so I take it that it would be a div tag? Please tell me someone understands what I am saying.