General Community > HTML/CSS
Valid XML
Aquilo:
I was going to try and make my second flash movie read an XML file
and play with it in the movie, I was just wondering if this is valid
XML output!
I worked through the bugs that caused XML errors loading like having
to replace double quotes with single quotes so it wouldn't complain about
needing a white space, and a few other errors but is this real XML that Flash
can read??
http://aquilo.homeip.net/ThisDayXML.php
Thanks!
Aquilo
[Unknown]:
IE actually validates xml.... so, yes, it's valid xml. (you can click on it and it shows nicely.)
-[Unknown]
Aquilo:
IE is cool like that!
thanks! I just did'nt know if it was structured right or anything becouse when opened in notepad everything is messed up but as I was writing this I think it's becouse windows uses \r not \n :P
any way thanks!!!
Aquilo:
OK! :P
I've tryed looking for what is making this XML not parse and it has something to due
with the World Series line IE says it a white space and Mozila is no help ether. I have restructured the output and everything but it still don't like the World Series!?!?
could anyone spot the problem I can't it just don't like the World Series, and that sucks! :D
--- Quote ---<?xml version="1.0" ?>
<ThisDay version="1.0">
<TitleData>
<XMLtitle>This Day in History...</XMLtitle>
<EventTitle>Past Events for: October 1st</EventTitle>
<BirthDayTitle>Famous Birthdays for: October 1st</BirthDayTitle>
</TitleData>
<Eventinfo>
<EventDate>1851</EventDate>
<EventData>First Hawaiian stamps issued.</EventData>
</Eventinfo>
<Eventinfo>
<EventDate>1869</EventDate>
<EventData>First postcards are issued in Vienna.</EventData>
</Eventinfo>
<Eventinfo>
<EventDate>1896</EventDate>
<EventData>Yosemite becomes a National Park.</EventData>
</Eventinfo>
<Eventinfo>
<EventDate>1898</EventDate>
<EventData>Henry Huntington buys the Los Angeles Railway.</EventData>
</Eventinfo>
<Eventinfo>
<EventDate>1903</EventDate>
<EventData>First World Series starts between the National & American Leagues.</EventData>
</Eventinfo>
<Eventinfo>
<EventDate>1908</EventDate>
<EventData>Henry Ford introduces the Model T car.</EventData>
</Eventinfo>
<Eventinfo>
<EventDate>1960</EventDate>
<EventData>Nigeria gains its independence.</EventData>
</Eventinfo>
<Eventinfo>
<EventDate>1962</EventDate>
<EventData>Johnny Carson hosts his first Tonight Show.</EventData>
</Eventinfo>
<Eventinfo>
<EventDate>1964</EventDate>
<EventData>San Francisco's Cable Cars declared a National Landmark.</EventData>
</Eventinfo>
<Eventinfo>
<EventDate>1971</EventDate>
<EventData>Walt Disney World in Orlando, Florida opens.</EventData>
</Eventinfo>
</ThisDay>
--- End quote ---
[Unknown]:
It's the &. It should either be in a CDATA or an entity.
-[Unknown]
Navigation
[0] Message Index
[#] Next page
Go to full version