trufflepig
08-29-2003, 07:52 AM
Hi,
I apologize in advance... I've tried (hard) looking through forums and reading tuts to figure this out, and i'm probably just retarded, but i just can't get this right
I want to load content from an xml file into a textbox
my xml (created from mt) is:
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<channel>
<title>blah-XML</title>
<link>http://www.blah.com/</link>
<description></description>
<dc:language>en-us</dc:language>
<dc:creator>blah@blah.com</dc:creator>
<dc:date>2003-08-29T03:11:14-05:00</dc:date>
<admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=2.64" />
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
<entry>
<title>blah</title>
<link>http://blah.html</link>
<body><![CDATA[ blah blah blah...]]></body>
<guid isPermaLink="false">2@http://www.blah.com/</guid>
<dc:subject></dc:subject>
<dc:date>2003-08-29T03:11:14-05:00</dc:date>
</entry>
</channel>
</rss>
I guess my question is whether i need to change anything in the xml, and if not, then what would the ActionScript look like? A hint? anything? please?!! :confused: (i feel like an arse)
I apologize in advance... I've tried (hard) looking through forums and reading tuts to figure this out, and i'm probably just retarded, but i just can't get this right
I want to load content from an xml file into a textbox
my xml (created from mt) is:
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<channel>
<title>blah-XML</title>
<link>http://www.blah.com/</link>
<description></description>
<dc:language>en-us</dc:language>
<dc:creator>blah@blah.com</dc:creator>
<dc:date>2003-08-29T03:11:14-05:00</dc:date>
<admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=2.64" />
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
<entry>
<title>blah</title>
<link>http://blah.html</link>
<body><![CDATA[ blah blah blah...]]></body>
<guid isPermaLink="false">2@http://www.blah.com/</guid>
<dc:subject></dc:subject>
<dc:date>2003-08-29T03:11:14-05:00</dc:date>
</entry>
</channel>
</rss>
I guess my question is whether i need to change anything in the xml, and if not, then what would the ActionScript look like? A hint? anything? please?!! :confused: (i feel like an arse)