Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 867
  • Last Modified:

Parse XML from TheMoveDb API using ASP

Hello,

How do I display the 'overview' element in a TheMovieDb XML file using ASP?

I have attached a sample XML file.

Thanks!

Drew
-
<OpenSearchDescription>
<opensearch:Query searchTerms="187"/>
<opensearch:totalResults>1</opensearch:totalResults>
-
<movies>
-
<movie>
<popularity>3</popularity>
<translated>true</translated>
<adult>false</adult>
<language>en</language>
<original_name>Sin City</original_name>
<name>Sin City</name>
<alternative_name/>
<type>movie</type>
<id>187</id>
<imdb_id>tt0401792</imdb_id>
<url>http://www.themoviedb.org/movie/187</url>
-
<overview>
The first of three films based on the beautiful comic world of Frank Miller. Sin City depicts the comic book almost page for page with its heavy contrast black and white extremely violent and graphic imagery. Sin City is set in a dangerous and dark Basin City where corruption, sex and violence is everyday life.
</overview>
<votes>63</votes>
<rating>7.0</rating>
<tagline>There is no justice without sin.</tagline>
<certification>R</certification>
<released>2005-04-01</released>
<runtime>124</runtime>
<budget>40000000</budget>
<revenue>158733820</revenue>
<homepage>http://www.sincitythemovie.com/</homepage>
<trailer>http://www.youtube.com/watch?v=YKFLrTYKIXk</trailer>
-
<categories>
<category type="genre" name="Crime" url="http://themoviedb.org/genre/crime" id="80"/>
<category type="genre" name="Drama" url="http://themoviedb.org/genre/drama" id="18"/>
<category type="genre" name="Thriller" url="http://themoviedb.org/genre/thriller" id="53"/>
</categories>
-
<studios>
<studio name="Miramax Films" url="http://www.themoviedb.org/company/20" id="20"/>
<studio name="Dimension" url="http://www.themoviedb.org/company/334" id="334"/>
</studios>
-
<countries>
<country name="United States of America" code="US" url="http://www.themoviedb.org/country/us"/>
</countries>
-
<images>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/68c/4bc904e9017a3c57fe00168c/sin-city-original.jpg" size="original" width="2124" height="3000" id="4bc904e9017a3c57fe00168c"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/68c/4bc904e9017a3c57fe00168c/sin-city-mid.jpg" size="mid" width="500" height="706" id="4bc904e9017a3c57fe00168c"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/68c/4bc904e9017a3c57fe00168c/sin-city-cover.jpg" size="cover" width="185" height="261" id="4bc904e9017a3c57fe00168c"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/68c/4bc904e9017a3c57fe00168c/sin-city-thumb.jpg" size="thumb" width="92" height="130" id="4bc904e9017a3c57fe00168c"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/6a5/4bc904f1017a3c57fe0016a5/sin-city-original.jpg" size="original" width="2014" height="3000" id="4bc904f1017a3c57fe0016a5"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/6a5/4bc904f1017a3c57fe0016a5/sin-city-mid.jpg" size="mid" width="500" height="745" id="4bc904f1017a3c57fe0016a5"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/6a5/4bc904f1017a3c57fe0016a5/sin-city-cover.jpg" size="cover" width="185" height="276" id="4bc904f1017a3c57fe0016a5"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/6a5/4bc904f1017a3c57fe0016a5/sin-city-thumb.jpg" size="thumb" width="92" height="137" id="4bc904f1017a3c57fe0016a5"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/06e/4c55d9087b9aa151f700006e/sin-city-original.jpg" size="original" width="946" height="2802" id="4c55d9087b9aa151f700006e"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/06e/4c55d9087b9aa151f700006e/sin-city-mid.jpg" size="mid" width="500" height="1481" id="4c55d9087b9aa151f700006e"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/06e/4c55d9087b9aa151f700006e/sin-city-cover.jpg" size="cover" width="185" height="548" id="4c55d9087b9aa151f700006e"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/06e/4c55d9087b9aa151f700006e/sin-city-thumb.jpg" size="thumb" width="92" height="273" id="4c55d9087b9aa151f700006e"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/6aa/4bc904f4017a3c57fe0016aa/sin-city-original.png" size="original" width="570" height="759" id="4bc904f4017a3c57fe0016aa"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/6aa/4bc904f4017a3c57fe0016aa/sin-city-mid.png" size="mid" width="500" height="666" id="4bc904f4017a3c57fe0016aa"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/6aa/4bc904f4017a3c57fe0016aa/sin-city-cover.png" size="cover" width="185" height="246" id="4bc904f4017a3c57fe0016aa"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/6aa/4bc904f4017a3c57fe0016aa/sin-city-thumb.png" size="thumb" width="92" height="122" id="4bc904f4017a3c57fe0016aa"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/041/4c55d9417b9aa151f2000041/sin-city-original.jpg" size="original" width="2594" height="3648" id="4c55d9417b9aa151f2000041"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/041/4c55d9417b9aa151f2000041/sin-city-mid.jpg" size="mid" width="500" height="703" id="4c55d9417b9aa151f2000041"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/041/4c55d9417b9aa151f2000041/sin-city-cover.jpg" size="cover" width="185" height="260" id="4c55d9417b9aa151f2000041"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/041/4c55d9417b9aa151f2000041/sin-city-thumb.jpg" size="thumb" width="92" height="129" id="4c55d9417b9aa151f2000041"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/6a0/4bc904ef017a3c57fe0016a0/sin-city-original.jpg" size="original" width="2027" height="3000" id="4bc904ef017a3c57fe0016a0"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/6a0/4bc904ef017a3c57fe0016a0/sin-city-mid.jpg" size="mid" width="500" height="740" id="4bc904ef017a3c57fe0016a0"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/6a0/4bc904ef017a3c57fe0016a0/sin-city-cover.jpg" size="cover" width="185" height="274" id="4bc904ef017a3c57fe0016a0"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/6a0/4bc904ef017a3c57fe0016a0/sin-city-thumb.jpg" size="thumb" width="92" height="136" id="4bc904ef017a3c57fe0016a0"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/69b/4bc904ee017a3c57fe00169b/sin-city-original.jpg" size="original" width="2024" height="3000" id="4bc904ee017a3c57fe00169b"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/69b/4bc904ee017a3c57fe00169b/sin-city-mid.jpg" size="mid" width="500" height="741" id="4bc904ee017a3c57fe00169b"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/69b/4bc904ee017a3c57fe00169b/sin-city-cover.jpg" size="cover" width="185" height="274" id="4bc904ee017a3c57fe00169b"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/69b/4bc904ee017a3c57fe00169b/sin-city-thumb.jpg" size="thumb" width="92" height="136" id="4bc904ee017a3c57fe00169b"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/696/4bc904eb017a3c57fe001696/sin-city-original.jpg" size="original" width="2032" height="3000" id="4bc904eb017a3c57fe001696"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/696/4bc904eb017a3c57fe001696/sin-city-mid.jpg" size="mid" width="500" height="738" id="4bc904eb017a3c57fe001696"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/696/4bc904eb017a3c57fe001696/sin-city-cover.jpg" size="cover" width="185" height="273" id="4bc904eb017a3c57fe001696"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/696/4bc904eb017a3c57fe001696/sin-city-thumb.jpg" size="thumb" width="92" height="136" id="4bc904eb017a3c57fe001696"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/691/4bc904ea017a3c57fe001691/sin-city-original.jpg" size="original" width="2025" height="3000" id="4bc904ea017a3c57fe001691"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/691/4bc904ea017a3c57fe001691/sin-city-mid.jpg" size="mid" width="500" height="741" id="4bc904ea017a3c57fe001691"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/691/4bc904ea017a3c57fe001691/sin-city-cover.jpg" size="cover" width="185" height="274" id="4bc904ea017a3c57fe001691"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/691/4bc904ea017a3c57fe001691/sin-city-thumb.jpg" size="thumb" width="92" height="136" id="4bc904ea017a3c57fe001691"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/9c7/4c6fef5f7b9aa13ab60009c7/sin-city-original.jpg" size="original" width="1023" height="1450" id="4c6fef5f7b9aa13ab60009c7"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/9c7/4c6fef5f7b9aa13ab60009c7/sin-city-mid.jpg" size="mid" width="500" height="709" id="4c6fef5f7b9aa13ab60009c7"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/9c7/4c6fef5f7b9aa13ab60009c7/sin-city-cover.jpg" size="cover" width="185" height="262" id="4c6fef5f7b9aa13ab60009c7"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/9c7/4c6fef5f7b9aa13ab60009c7/sin-city-thumb.jpg" size="thumb" width="92" height="130" id="4c6fef5f7b9aa13ab60009c7"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/630/4bc904d7017a3c57fe001630/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904d7017a3c57fe001630"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/630/4bc904d7017a3c57fe001630/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904d7017a3c57fe001630"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/630/4bc904d7017a3c57fe001630/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904d7017a3c57fe001630"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/14d/4bd5a73e017a3c2e7800014d/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bd5a73e017a3c2e7800014d"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/14d/4bd5a73e017a3c2e7800014d/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bd5a73e017a3c2e7800014d"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/14d/4bd5a73e017a3c2e7800014d/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bd5a73e017a3c2e7800014d"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/688/4bc904e8017a3c57fe001688/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904e8017a3c57fe001688"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/688/4bc904e8017a3c57fe001688/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904e8017a3c57fe001688"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/688/4bc904e8017a3c57fe001688/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904e8017a3c57fe001688"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/614/4bc904d1017a3c57fe001614/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904d1017a3c57fe001614"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/614/4bc904d1017a3c57fe001614/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904d1017a3c57fe001614"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/614/4bc904d1017a3c57fe001614/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904d1017a3c57fe001614"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/61c/4bc904d2017a3c57fe00161c/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904d2017a3c57fe00161c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/61c/4bc904d2017a3c57fe00161c/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904d2017a3c57fe00161c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/61c/4bc904d2017a3c57fe00161c/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904d2017a3c57fe00161c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/620/4bc904d5017a3c57fe001620/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904d5017a3c57fe001620"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/620/4bc904d5017a3c57fe001620/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904d5017a3c57fe001620"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/620/4bc904d5017a3c57fe001620/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904d5017a3c57fe001620"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/618/4bc904d2017a3c57fe001618/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904d2017a3c57fe001618"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/618/4bc904d2017a3c57fe001618/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904d2017a3c57fe001618"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/618/4bc904d2017a3c57fe001618/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904d2017a3c57fe001618"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/624/4bc904d5017a3c57fe001624/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904d5017a3c57fe001624"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/624/4bc904d5017a3c57fe001624/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904d5017a3c57fe001624"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/624/4bc904d5017a3c57fe001624/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904d5017a3c57fe001624"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/654/4bc904dd017a3c57fe001654/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904dd017a3c57fe001654"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/654/4bc904dd017a3c57fe001654/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904dd017a3c57fe001654"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/654/4bc904dd017a3c57fe001654/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904dd017a3c57fe001654"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/670/4bc904e4017a3c57fe001670/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904e4017a3c57fe001670"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/670/4bc904e4017a3c57fe001670/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904e4017a3c57fe001670"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/670/4bc904e4017a3c57fe001670/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904e4017a3c57fe001670"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/66c/4bc904e1017a3c57fe00166c/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904e1017a3c57fe00166c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/66c/4bc904e1017a3c57fe00166c/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904e1017a3c57fe00166c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/66c/4bc904e1017a3c57fe00166c/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904e1017a3c57fe00166c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/668/4bc904e1017a3c57fe001668/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904e1017a3c57fe001668"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/668/4bc904e1017a3c57fe001668/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904e1017a3c57fe001668"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/668/4bc904e1017a3c57fe001668/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904e1017a3c57fe001668"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/664/4bc904e1017a3c57fe001664/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904e1017a3c57fe001664"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/664/4bc904e1017a3c57fe001664/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904e1017a3c57fe001664"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/664/4bc904e1017a3c57fe001664/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904e1017a3c57fe001664"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/660/4bc904e0017a3c57fe001660/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904e0017a3c57fe001660"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/660/4bc904e0017a3c57fe001660/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904e0017a3c57fe001660"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/660/4bc904e0017a3c57fe001660/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904e0017a3c57fe001660"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/65c/4bc904e0017a3c57fe00165c/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904e0017a3c57fe00165c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/65c/4bc904e0017a3c57fe00165c/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904e0017a3c57fe00165c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/65c/4bc904e0017a3c57fe00165c/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904e0017a3c57fe00165c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/658/4bc904de017a3c57fe001658/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904de017a3c57fe001658"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/658/4bc904de017a3c57fe001658/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904de017a3c57fe001658"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/658/4bc904de017a3c57fe001658/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904de017a3c57fe001658"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/674/4bc904e4017a3c57fe001674/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904e4017a3c57fe001674"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/674/4bc904e4017a3c57fe001674/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904e4017a3c57fe001674"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/674/4bc904e4017a3c57fe001674/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904e4017a3c57fe001674"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/650/4bc904dd017a3c57fe001650/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904dd017a3c57fe001650"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/650/4bc904dd017a3c57fe001650/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904dd017a3c57fe001650"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/650/4bc904dd017a3c57fe001650/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904dd017a3c57fe001650"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/64c/4bc904dc017a3c57fe00164c/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904dc017a3c57fe00164c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/64c/4bc904dc017a3c57fe00164c/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904dc017a3c57fe00164c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/64c/4bc904dc017a3c57fe00164c/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904dc017a3c57fe00164c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/648/4bc904dc017a3c57fe001648/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904dc017a3c57fe001648"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/648/4bc904dc017a3c57fe001648/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904dc017a3c57fe001648"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/648/4bc904dc017a3c57fe001648/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904dc017a3c57fe001648"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/644/4bc904db017a3c57fe001644/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904db017a3c57fe001644"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/644/4bc904db017a3c57fe001644/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904db017a3c57fe001644"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/644/4bc904db017a3c57fe001644/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904db017a3c57fe001644"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/640/4bc904db017a3c57fe001640/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904db017a3c57fe001640"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/640/4bc904db017a3c57fe001640/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904db017a3c57fe001640"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/640/4bc904db017a3c57fe001640/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904db017a3c57fe001640"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/63c/4bc904d8017a3c57fe00163c/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904d8017a3c57fe00163c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/63c/4bc904d8017a3c57fe00163c/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904d8017a3c57fe00163c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/63c/4bc904d8017a3c57fe00163c/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904d8017a3c57fe00163c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/638/4bc904d8017a3c57fe001638/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904d8017a3c57fe001638"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/638/4bc904d8017a3c57fe001638/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904d8017a3c57fe001638"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/638/4bc904d8017a3c57fe001638/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904d8017a3c57fe001638"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/634/4bc904d7017a3c57fe001634/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904d7017a3c57fe001634"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/634/4bc904d7017a3c57fe001634/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904d7017a3c57fe001634"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/634/4bc904d7017a3c57fe001634/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904d7017a3c57fe001634"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/678/4bc904e5017a3c57fe001678/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904e5017a3c57fe001678"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/678/4bc904e5017a3c57fe001678/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904e5017a3c57fe001678"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/678/4bc904e5017a3c57fe001678/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904e5017a3c57fe001678"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/62c/4bc904d6017a3c57fe00162c/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904d6017a3c57fe00162c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/62c/4bc904d6017a3c57fe00162c/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904d6017a3c57fe00162c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/62c/4bc904d6017a3c57fe00162c/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904d6017a3c57fe00162c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/628/4bc904d6017a3c57fe001628/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904d6017a3c57fe001628"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/628/4bc904d6017a3c57fe001628/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904d6017a3c57fe001628"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/628/4bc904d6017a3c57fe001628/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904d6017a3c57fe001628"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/67c/4bc904e5017a3c57fe00167c/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904e5017a3c57fe00167c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/67c/4bc904e5017a3c57fe00167c/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904e5017a3c57fe00167c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/67c/4bc904e5017a3c57fe00167c/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904e5017a3c57fe00167c"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/680/4bc904e5017a3c57fe001680/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904e5017a3c57fe001680"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/680/4bc904e5017a3c57fe001680/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904e5017a3c57fe001680"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/680/4bc904e5017a3c57fe001680/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904e5017a3c57fe001680"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/684/4bc904e8017a3c57fe001684/sin-city-original.jpg" size="original" width="1920" height="1080" id="4bc904e8017a3c57fe001684"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/684/4bc904e8017a3c57fe001684/sin-city-poster.jpg" size="poster" width="780" height="439" id="4bc904e8017a3c57fe001684"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/684/4bc904e8017a3c57fe001684/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4bc904e8017a3c57fe001684"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/001/4c896ff55e73d67c45000001/sin-city-original.jpg" size="original" width="1920" height="1200" id="4c896ff55e73d67c45000001"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/001/4c896ff55e73d67c45000001/sin-city-poster.jpg" size="poster" width="780" height="488" id="4c896ff55e73d67c45000001"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/001/4c896ff55e73d67c45000001/sin-city-thumb.jpg" size="thumb" width="300" height="188" id="4c896ff55e73d67c45000001"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/003/4c8970605e73d67c46000003/sin-city-original.jpg" size="original" width="1920" height="1080" id="4c8970605e73d67c46000003"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/003/4c8970605e73d67c46000003/sin-city-poster.jpg" size="poster" width="780" height="439" id="4c8970605e73d67c46000003"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/003/4c8970605e73d67c46000003/sin-city-thumb.jpg" size="thumb" width="300" height="169" id="4c8970605e73d67c46000003"/>
</images>
-
<cast>
<person name="Frank Miller" character="" job="Director" id="2293" thumb="" department="Directing" url="http://www.themoviedb.org/person/2293" order="0" cast_id="1"/>
<person name="Frank Miller" character="" job="Author" id="2293" thumb="" department="Writing" url="http://www.themoviedb.org/person/2293" order="0" cast_id="4"/>
<person name="Robert Rodriguez" character="" job="Director" id="2294" thumb="" department="Directing" url="http://www.themoviedb.org/person/2294" order="0" cast_id="2"/>
<person name="Quentin Tarantino" character="Special Guest Director" job="Director" id="138" thumb="http://hwcdn.themoviedb.org/profiles/16a/4bdeab0e017a3c35b700016a/quentin-tarantino-thumb.jpg" department="Directing" url="http://www.themoviedb.org/person/138" order="0" cast_id="3"/>
<person name="Graeme Revell" character="" job="Original Music Composer" id="5912" thumb="" department="Sound" url="http://www.themoviedb.org/person/5912" order="0" cast_id="13"/>
<person name="John Debney" character="" job="Original Music Composer" id="4500" thumb="" department="Sound" url="http://www.themoviedb.org/person/4500" order="0" cast_id="12"/>
<person name="Elizabeth Avellan" character="" job="Producer" id="5911" thumb="" department="Production" url="http://www.themoviedb.org/person/5911" order="0" cast_id="11"/>
<person name="Robert Rodriguez" character="" job="Original Music Composer" id="2294" thumb="" department="Sound" url="http://www.themoviedb.org/person/2294" order="0" cast_id="14"/>
<person name="Robert Rodriguez" character="" job="Director of Photography" id="2294" thumb="" department="Camera" url="http://www.themoviedb.org/person/2294" order="0" cast_id="15"/>
<person name="Robert Rodriguez" character="" job="Editor" id="2294" thumb="" department="Editing" url="http://www.themoviedb.org/person/2294" order="0" cast_id="16"/>
<person name="Beth Sepko" character="" job="Casting" id="5913" thumb="" department="Production" url="http://www.themoviedb.org/person/5913" order="0" cast_id="17"/>
<person name="Mary Vernieu" character="" job="Casting" id="5914" thumb="" department="Production" url="http://www.themoviedb.org/person/5914" order="0" cast_id="18"/>
<person name="Bruce Willis" character="Hartigan" job="Actor" id="62" thumb="http://hwcdn.themoviedb.org/profiles/190/4bd72974017a3c21ea000190/bruce-willis-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/62" order="0" cast_id="5"/>
<person name="Mickey Rourke" character="Marv" job="Actor" id="2295" thumb="http://hwcdn.themoviedb.org/profiles/086/4bcf7797017a3c63ed000086/mickey-rourke-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/2295" order="1" cast_id="6"/>
<person name="Clive Owen" character="Dwight" job="Actor" id="2296" thumb="http://hwcdn.themoviedb.org/profiles/6b6/4be18daf017a3c35bd0006b6/clive-owen-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/2296" order="2" cast_id="7"/>
<person name="Jessica Alba" character="Nancy Callahan" job="Actor" id="56731" thumb="http://hwcdn.themoviedb.org/profiles/0c9/4bcc3ba0017a3c0f340000c9/jessica-alba-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/56731" order="3" cast_id="8"/>
<person name="Elijah Wood" character="Kevin" job="Actor" id="109" thumb="http://hwcdn.themoviedb.org/profiles/00e/4bc9f571017a3c0e9100000e/elijah-wood-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/109" order="4" cast_id="9"/>
<person name="Josh Hartnett" character="The Salesman" job="Actor" id="2299" thumb="http://hwcdn.themoviedb.org/profiles/173/4c7d7e125e73d6474a000173/josh-hartnett-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/2299" order="5" cast_id="10"/>
<person name="Jaime King" character="Goldie/Wendy" job="Actor" id="5915" thumb="http://hwcdn.themoviedb.org/profiles/0ce/4bcc3bbd017a3c0f340000ce/jaime-king-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/5915" order="6" cast_id="19"/>
<person name="Rutger Hauer" character="Cardinal Roark" job="Actor" id="585" thumb="http://hwcdn.themoviedb.org/profiles/747/4c096394017a3c7e89000747/rutger-hauer-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/585" order="7" cast_id="20"/>
<person name="Benicio Del Toro" character="Jackie Boy" job="Actor" id="1121" thumb="http://hwcdn.themoviedb.org/profiles/2e1/4bf72cf2017a3c77260002e1/benicio-del-toro-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/1121" order="8" cast_id="21"/>
<person name="Rosario Dawson" character="Gail" job="Actor" id="5916" thumb="http://hwcdn.themoviedb.org/profiles/0b2/4bcc3bde017a3c0f320000b2/rosario-dawson-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/5916" order="9" cast_id="22"/>
<person name="Michael Clarke Duncan" character="Manute" job="Actor" id="61981" thumb="http://hwcdn.themoviedb.org/profiles/43b/4bfa6fd1017a3c703300043b/michael-clarke-duncan-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/61981" order="10" cast_id="23"/>
<person name="Devon Aoki" character="Miho" job="Actor" id="6278" thumb="http://hwcdn.themoviedb.org/profiles/071/4bcc3bfe017a3c0f2a000071/devon-aoki-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/6278" order="11" cast_id="24"/>
<person name="Alexis Bledel" character="Becky" job="Actor" id="6279" thumb="http://hwcdn.themoviedb.org/profiles/0b6/4bcc3c1e017a3c0f320000b6/alexis-bledel-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/6279" order="12" cast_id="25"/>
<person name="Powers Boothe" character="Senator Roark" job="Actor" id="6280" thumb="" department="Actors" url="http://www.themoviedb.org/person/6280" order="13" cast_id="26"/>
<person name="Marley Shelton" character="The Customer" job="Actor" id="6407" thumb="http://hwcdn.themoviedb.org/profiles/0bb/4bcc3c3c017a3c0f320000bb/marley-shelton-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/6407" order="14" cast_id="27"/>
<person name="Nick Stahl" character="Roark Jr./The Yellow Bastard" job="Actor" id="6408" thumb="" department="Actors" url="http://www.themoviedb.org/person/6408" order="15" cast_id="28"/>
<person name="Michael Madsen" character="Bob" job="Actor" id="147" thumb="http://hwcdn.themoviedb.org/profiles/090/4c2385d77b9aa13f65000090/michael-madsen-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/147" order="16" cast_id="29"/>
<person name="Makenzie Vega" character="Nancy (11 Years)" job="Actor" id="2139" thumb="" department="Actors" url="http://www.themoviedb.org/person/2139" order="17" cast_id="30"/>
<person name="Brittany Murphy" character="Shellie" job="Actor" id="328" thumb="http://hwcdn.themoviedb.org/profiles/095/4bcc2ffb017a3c0f26000095/brittany-murphy-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/328" order="18" cast_id="31"/>
<person name="Carla Gugino" character="Lucille" job="Actor" id="17832" thumb="http://hwcdn.themoviedb.org/profiles/95c/4be431ff017a3c35b900095c/carla-gugino-thumb.jpg" department="Actors" url="http://www.themoviedb.org/person/17832" order="19" cast_id="32"/>
</cast>
<version>55</version>
<last_modified_at>2010-09-18 18:54:01</last_modified_at>
</movie>
</movies>
</OpenSearchDescription>

Open in new window

0
drew17
Asked:
drew17
  • 3
1 Solution
 
giuseppepiCommented:
As far as I understood you want to access a remote XML file
You can do something linke this:


<%'Inizializziamo il Parser MS XMLSet objXML = Server.CreateObject("Microsoft.XMLDOM")objXML.setProperty "ServerHTTPRequest", true objXML.async = False
strFile= "http://www.free-script.it/feed/feed.php"
<%
    ' Vars
    Dim xml, TextFound, ResultX

    ' Open XMLDOM
    Set xml = Server.CreateObject("Microsoft.XMLDOM")
    xml.async = False

    xml.Load(Server.MapPath("yourfile.xml"))


    ' Select the node
    Set Mynode = xml.documentElement.selectNodes("OpenSearchDescription/movies/movie")

    ' I check if some text exists
    TextFound = False
    For Each Item In Mynode
        If Item.Text > "" Then TextFound = True
    Next

    ' Cleanup a bit...
    Set xml = Nothing

    ' Printout ResultX
    ResultX = "Il nome " & nome
    If TextFound = True Then
        ResultX = ResultX
    Else
        ResultX = "No text"
    End If
    Response.Write ResultX
%>

Open in new window

0
 
giuseppepiCommented:
Sorry, In previous post I pasted some garbage...
Here is the correct one:

0
 
giuseppepiCommented:

<%
    ' Vars
    Dim xml, TextFound, ResultX

    ' Open XMLDOM
    Set xml = Server.CreateObject("Microsoft.XMLDOM")
    xml.async = False

    xml.Load(Server.MapPath("yourfile.xml"))


    ' Select the node
    Set Mynode = xml.documentElement.selectNodes("OpenSearchDescription/movies/movie")

    ' I check if some text exists
    TextFound = False
    For Each Item In Mynode
        If Item.Text > "" Then TextFound = True
    Next

    ' Cleanup a bit...
    Set xml = Nothing

    ' Printout ResultX
    ResultX = "Il nome " & nome
    If TextFound = True Then
        ResultX = ResultX
    Else
        ResultX = "No text"
    End If
    Response.Write ResultX
%>

Open in new window

0
 
drew17Author Commented:
Hello,

Thanks!

I needed to tweak your code if anyone else runs into the same issue.

Drew
<%
    ' Vars
    Dim xml, TextFound, ResultX

    ' Open XMLDOM
    Set xml = Server.CreateObject("Microsoft.XMLDOM")
    xml.async = False
    xml.setProperty "ServerHTTPRequest", true
    xml.Load("http://api.themoviedb.org/2.1/Movie.imdbLookup/en/xml/............")


    ' Select the node
    Set Mynode = xml.documentElement.selectNodes("//OpenSearchDescription/movies/movie/overview")

    ' I check if some text exists
    TextFound = False
    For Each Item In Mynode
        If Item.Text > "" Then TextFound = True
        
      Response.write "<b>Summary</b> " & Item.Text
        
    Next

    ' Cleanup a bit...
    Set xml = Nothing

%>

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now