<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: xml and safari</title>
	<link>http://ask.metafilter.com/87942/xml-and-safari/</link>
	<description>Comments on Ask MetaFilter post xml and safari</description>
	<pubDate>Fri, 04 Apr 2008 19:03:00 -0800</pubDate>
	<lastBuildDate>Fri, 04 Apr 2008 19:03:00 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: xml and safari</title>
		<link>http://ask.metafilter.com/87942/xml-and-safari</link>	
		<description>I need help accessing xml files with javascript in safari... &lt;br /&gt;&lt;br /&gt; Ok, I&apos;ve been learning javascript to make websites for my artist friends.  I&apos;ve got some nice code running that reads the contents of an xml file and uses that to put together a gallery of images with titles, dates, etc...&lt;br&gt;
To open and access the xml file I used code I learnt here:&lt;br&gt;
&lt;a href=&quot;http://www.w3schools.com/Dom/tryit.asp?filename=try_dom_parser&quot;&gt;http://www.w3schools.com/Dom/tryit.asp?filename=try_dom_parser&lt;/a&gt;&lt;br&gt;
All is fine until I try it out on Safari and it doesn&apos;t work at all, even that example throws an error w/ safari.  Anyone have any code snipits that would work across more browsers? thanks!</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2008:site.87942</guid>
		<pubDate>Fri, 04 Apr 2008 18:05:47 -0800</pubDate>
		<dc:creator>garethspor</dc:creator>
		
			<category>xml</category>
		
			<category>javascript</category>
		
			<category>safari</category>
		
	</item> <item>
		<title>By: kamelhoecker</title>
		<link>http://ask.metafilter.com/87942/xml-and-safari#1295496</link>	
		<description>You might want to &lt;a href=&quot;http://developer.apple.com/internet/safari/faq.html#anchor14&quot;&gt;turn on the Safari debugger&lt;/a&gt;. Also, the error message sounds rather important for understanding the problem. Any reason why you didn&apos;t say what the error is?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.87942-1295496</guid>
		<pubDate>Fri, 04 Apr 2008 19:03:00 -0800</pubDate>
		<dc:creator>kamelhoecker</dc:creator>
	</item><item>
		<title>By: macrone</title>
		<link>http://ask.metafilter.com/87942/xml-and-safari#1295516</link>	
		<description>Safari 3 throws an error on the &apos;xmlDoc.load(&quot;books.xml&quot;);&apos; line:&lt;br&gt;
&lt;br&gt;
&lt;i&gt;Value undefined (result of expression xmlDoc.load) is not object.&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
Try Googling for &quot;document.implementation.createDocument Safari&quot; and/or &quot;xmlDoc.load Safari,&quot; and you&apos;ll find that others have had similar difficulties, and that the problem seems to be insoluble with this particular approach.&lt;br&gt;
&lt;br&gt;
(My suspicion is that Safari pretends to support createDocument but that document.load doesn&apos;t really work.)&lt;br&gt;
&lt;br&gt;
You&apos;ll probably need to find a different solution that&apos;s been more thoroughly tested for cross-browser compatibility.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.87942-1295516</guid>
		<pubDate>Fri, 04 Apr 2008 19:50:15 -0800</pubDate>
		<dc:creator>macrone</dc:creator>
	</item><item>
		<title>By: mattoxic</title>
		<link>http://ask.metafilter.com/87942/xml-and-safari#1295668</link>	
		<description>Does the same example work in Firefox? That may be telling.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.87942-1295668</guid>
		<pubDate>Sat, 05 Apr 2008 03:40:46 -0800</pubDate>
		<dc:creator>mattoxic</dc:creator>
	</item><item>
		<title>By: Your Time Machine Sucks</title>
		<link>http://ask.metafilter.com/87942/xml-and-safari#1321364</link>	
		<description>Hi, sorry to be so late, but I have just been having a similar issue and this thread turned up in a google search.  For XML loading in Safari, check out the &lt;a href=&quot;http://developer.apple.com/internet/webcontent/xmlhttpreq.html&quot;&gt;documentation&lt;/a&gt; and &lt;a href=&quot;http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/example.html&quot;&gt;code example&lt;/a&gt; plus&lt;a href=&quot;http://developer.apple.com/internet/webcontent/xmlhttprequest.dmg&quot;&gt; source [DMG]&lt;/a&gt; at Apple&apos;s developer site.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.87942-1321364</guid>
		<pubDate>Mon, 28 Apr 2008 08:32:28 -0800</pubDate>
		<dc:creator>Your Time Machine Sucks</dc:creator>
	</item>
	</channel>
</rss>
