<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Commenti a: Parsing di un file Xml</title>
	<atom:link href="http://www.zago-dev.net/appunti/programmazione/javascript/parsing-di-un-file-xml.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.zago-dev.net/appunti/programmazione/javascript/parsing-di-un-file-xml.html</link>
	<description>Appunti</description>
	<lastBuildDate>Tue, 13 Dec 2011 09:09:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.2</generator>
	<item>
		<title>Di: admin</title>
		<link>http://www.zago-dev.net/appunti/programmazione/javascript/parsing-di-un-file-xml.html/comment-page-1#comment-1667</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 25 Jul 2009 19:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.zago-dev.net/appunti/programmazione/javascript/parsing-di-un-file-xml.html#comment-1667</guid>
		<description>La funzione importXML non funziona con safari, consiglio di includere il framework jQuery e caricare il file xml utilizzando appunto jQuery modificando la funzione importXML come segue:

function importXML(xml_file) { 
&#160;&#160;&#160;&#160;$(
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;function(){
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;$.get(
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;xml_file,
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{},
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;loaded
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;);
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}
&#160;&#160;&#160;&#160;);
}</description>
		<content:encoded><![CDATA[<p>La funzione importXML non funziona con safari, consiglio di includere il framework jQuery e caricare il file xml utilizzando appunto jQuery modificando la funzione importXML come segue:</p>
<p>function importXML(xml_file) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;$(<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function(){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$.get(<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xml_file,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{},<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;loaded<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;);<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

