<?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"
	>
<channel>
	<title>Comments on: xml search class</title>
	<atom:link href="http://www.actionscriptclasses.com/2007/xml-search-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.actionscriptclasses.com/2007/xml-search-class/</link>
	<description>Actionscript Class File Repository</description>
	<pubDate>Thu, 20 Nov 2008 10:54:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: jeanmichel</title>
		<link>http://www.actionscriptclasses.com/2007/xml-search-class/#comment-4916</link>
		<dc:creator>jeanmichel</dc:creator>
		<pubDate>Thu, 28 Jun 2007 21:59:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptclasses.com/2007/xml-search-class/#comment-4916</guid>
		<description>Hi there, thanks for your little class, i'm sure i'll use it very often.

The only thing is that i want to make sure i use it the right way, since i dont have extensive experience using flash and actionscript. I'm more used to php.

So here's my code (doesnt work actually). If you could guide me with tips i sure would be very grateful.

So beforehand, i've created the path "classLib/com/maxgarfinkel/data" and have stored your XmlSearch.as file there.

After that, i've set the right classpath in flash in order to be able to have access to it.

Should i use #include instead of import?


import com.maxgarfinkel.data.XmlSearch;

xmlData = new XmlSearch();

xDoc = new XML();
xDoc.ignoreWhite = true;
xDoc.load("test.xml");

xSearch = new Array;

xSearch = xmlData.getAttributes("test.xml", "season2", "path", recursive);
trace(xSearch);


thank you so much for your time...</description>
		<content:encoded><![CDATA[<p>Hi there, thanks for your little class, i&#8217;m sure i&#8217;ll use it very often.</p>
<p>The only thing is that i want to make sure i use it the right way, since i dont have extensive experience using flash and actionscript. I&#8217;m more used to php.</p>
<p>So here&#8217;s my code (doesnt work actually). If you could guide me with tips i sure would be very grateful.</p>
<p>So beforehand, i&#8217;ve created the path &#8220;classLib/com/maxgarfinkel/data&#8221; and have stored your XmlSearch.as file there.</p>
<p>After that, i&#8217;ve set the right classpath in flash in order to be able to have access to it.</p>
<p>Should i use #include instead of import?</p>
<p>import com.maxgarfinkel.data.XmlSearch;</p>
<p>xmlData = new XmlSearch();</p>
<p>xDoc = new XML();<br />
xDoc.ignoreWhite = true;<br />
xDoc.load(&#8221;test.xml&#8221;);</p>
<p>xSearch = new Array;</p>
<p>xSearch = xmlData.getAttributes(&#8221;test.xml&#8221;, &#8220;season2&#8243;, &#8220;path&#8221;, recursive);<br />
trace(xSearch);</p>
<p>thank you so much for your time&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
