Link to home
Start Free TrialLog in
Avatar of jellydeal
jellydeal

asked on

Simple classic ASP XML Parser needed

Arrgghh.. Please help..
12 hours of trying to build my own XML parser have resulted in zilcho! :(
I am writing a page in Classic ASP, All I am trying to do is pull out the products from the XML listed in the code section.
I just need to know the code to navigate or loop through the nodes.

I Get the XML fine using :
Set xmlObj = Server.CreateObject("MSXML2.DOMDocument")
    xmlObj.async = False
    xmlObj.setProperty "ServerHTTPRequest", True
    xmlObj.Load(url)

Its the creation of a loop to pull out all the products I am failing on.

I have played with the documentElement.selectSingleNode("product") command but got nothing.
I need to get all the products (there can be various amounts), and store the name, description, image100x100 etc.

Ive googled it to death and drawn a blank, I just dont understand the basics of the XML method.
Please help.
Kindets regards
Happy New Year,
Baz

- <GeneralSearchResponse xmlns="urn:types.partner.api.shopping.com">
- <serverDetail>
  <apiEnv>prod</apiEnv> 
  <apiVersion>3.1 R25.2</apiVersion> 
  <buildNumber>13589</buildNumber> 
  <buildTimestamp>2009.11.19 09:28:02 PST</buildTimestamp> 
  <requestId>s15.c913eec2dbb4c5b51c73</requestId> 
  <timestamp>2009-12-30T17:04:51.461-05:00</timestamp> 
  <responseTime>P0Y0M0DT0H0M0.047S</responseTime> 
  </serverDetail>
- <clientTracking height="1" type="pixel" width="1">
  <sourceURL>http://www999.shopping.com/pixel/noscript?PV_EvnTyp=APPV&APPV_APITSP=12%2F30%2F09_05%3A04%3A51_PM&APPV_DSPRQSID=s15.c913eec2dbb4c5b51c73&APPV_IMGURL=&APPV_LI_LNKINID=8033413&APPV_LI_SBMKYW=LG+42INS&APPV_MTCTYP=1000&APPV_PRTID=122164&APPV_BrnID=14305</sourceURL> 
  <hrefURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs</hrefURL> 
  <titleText>Plasma and LCD TVs</titleText> 
  <altText>Plasma and LCD TVs</altText> 
  </clientTracking>
- <searchHistory>
- <categorySelection id="3">
  <name>Consumer Electronics</name> 
  <categoryURL>http://uk.shopping.com/xCH-consumer_electronics-lg_42_ins~linkin_id-8033413?oq=lg_42_ins</categoryURL> 
  </categorySelection>
- <categorySelection id="87200">
  <name>TV, Video, DVD and BluRay Equipment</name> 
  <categoryURL>http://uk.shopping.com/xCH-tv_video_dvd_and_bluray_equipment-lg_42_ins~linkin_id-8033413?oq=lg_42_ins</categoryURL> 
  </categorySelection>
- <categorySelection id="96252">
  <name>Plasma and LCD TVs</name> 
  <categoryURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins~linkin_id-8033413?oq=lg_42_ins</categoryURL> 
  </categorySelection>
- <dynamicNavigationHistory>
- <keywordSearch dropped="false" modified="true">
  <originalKeyword>LG 42INS</originalKeyword> 
  <resultKeyword>lg 42 ins</resultKeyword> 
  </keywordSearch>
  </dynamicNavigationHistory>
  </searchHistory>
- <categories matchedCategoryCount="1" returnedCategoryCount="1">
- <category id="96252">
  <name>Plasma and LCD TVs</name> 
  <categoryURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins~linkin_id-8033413?oq=lg_42_ins</categoryURL> 
- <items matchedItemCount="7" pageNumber="1" returnedItemCount="2">
- <product id="84599040">
  <name>LG 42LH2000 42 in. HDTV-Ready TV</name> 
  <shortDescription>LCD TV, 42 inch, HDTV-Ready Television, Resolution: 1366 x 768 pixels, Brightness: 500 cd/m², Aspect Ratio: 16:9, 14:9 Enhanced, ...</shortDescription> 
  <fullDescription>Enjoy high quality sound and vision with the 42LH2000 42" HD Ready LCD TV. With a variety of picture and audio enhancing technologies, this excellent LCD TV will become the home for your entertainment viewing. Incorporating a 30,000:1 contrast ratio and LGs Twin XD Engine, the 42LH2000 offers HD Ready resolution for viewing your HD quality content. The three AV viewing modes feature include movies, games and Sport, with each one delivering outstanding image clarity and colour to suit. Two invisible speakers produce a high quality sound for audio technologies, such as Clear Voice 11, that automatically increases the volume of dialogue in noisy background scenes and SRS TruSurround XT that creates a cinema style sound experience in your living room.</fullDescription> 
- <images>
- <image available="true" height="100" width="100">
  <sourceURL>http://di1.shopping.com/images/pi/a3/1b/cb/84599040-100x100-0-0.jpg?p=s15.c913eec2dbb4c5b51c73&a=2&c=44&l=8033413&t=091230170451&r=1</sourceURL> 
  </image>
- <image available="true" height="200" width="200">
  <sourceURL>http://di1.shopping.com/images/pi/a3/1b/cb/84599040-200x200-0-0.jpg?p=s15.c913eec2dbb4c5b51c73&a=2&c=44&l=8033413&t=091230170451&r=1</sourceURL> 
  </image>
- <image available="true" height="300" width="300">
  <sourceURL>http://di1.shopping.com/images/pi/a3/1b/cb/84599040-300x300-0-0.jpg?p=s15.c913eec2dbb4c5b51c73&a=2&c=44&l=8033413&t=091230170451&r=1</sourceURL> 
  </image>
- <image available="false" height="400" width="400">
  <sourceURL>http://img.shopping.com/sc/ds/no_image_100X100.jpg?p=s15.c913eec2dbb4c5b51c73&a=2&c=44&l=8033413&t=091230170451&r=1</sourceURL> 
  </image>
- <image available="true" height="337" width="338">
  <sourceURL>http://di1.shopping.com/images/pi/a3/1b/cb/84599040-338x337-0-0.jpg?p=s15.c913eec2dbb4c5b51c73&a=2&c=44&l=8033413&t=091230170451&r=1</sourceURL> 
  </image>
  </images>
- <rating>
  <reviewCount>5</reviewCount> 
  <rating>5.00</rating> 
- <ratingImage height="18" width="91">
  <sourceURL>http://img.shopping.com/sc/pr/sdc_stars_sm_5.gif</sourceURL> 
  </ratingImage>
  <reviewURL>http://uk.shopping.com/xPR-LG-42LH2000~linkin_id-8033413</reviewURL> 
  </rating>
  <minPrice>449.00</minPrice> 
  <maxPrice>600.00</maxPrice> 
  <productOffersURL>http://uk.shopping.com/xPO-LG-42LH2000~linkin_id-8033413</productOffersURL> 
  <productSpecsURL>http://uk.shopping.com/xPF-LG-42LH2000~linkin_id-8033413</productSpecsURL> 
  <offers matchedOfferCount="12" pageNumber="1" returnedOfferCount="0" /> 
- <specifications>
- <featureGroup>
  <name>Product MPN</name> 
- <feature>
  <name>MPN</name> 
  <value>42LH2000</value> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Key Features</name> 
- <feature>
  <name>Flat Panel Type</name> 
  <description>Flat Panel TVs use LCD, Plasma, or today's new type of viewing screen OLED.<br><br><b>LCD</b>s (Liquid Crystal Displays) use liquid crystals as optical shutters, which control the amount of light passing through the thin display screen, creating vivid, life-like colors. LCDs are commonly used on microwaves, calculators and computers, as well as projection (up to 60") and direct view (10"-30") TVs.<br><br><b>Plasma</b> displays use a complex gas-based system. The benefits are a vivid, bright, clear picture with a slim form factor that can be mounted on a wall or on a pedestal. Plasma TVs range from 42 inches to 63 inches.<br><br><b>OLED</b> (Organic Light-Emitting Diode) can provide brighter, crisper displays on electronic devices and use less power than conventional light-emitting diodes (LEDs) or liquid crystal displays (LCDs) used today, it also can be viewed in bright lighting conditions, at greater angles.</description> 
  <value>LCD TV</value> 
  </feature>
- <feature>
  <name>LCD Response Time</name> 
  <description>Response time is the amount of time a pixel in an LCD monitor takes to go from a fully active (black) to fully inactive (white) and back to fully active (black) again. It is measured in milliseconds (ms). Lower numbers mean faster transitions and therefore fewer visible image artifacts. A faster LCD TV response time is suppose to render better, fast actions during movies, sport events, and gaming.</description> 
  <value>5 ms</value> 
  </feature>
- <feature>
  <name>Screen Size</name> 
  <description>Diagonal Screen Size is the size of your TV screen, measured diagonally in inches.</description> 
  <value>42 inch</value> 
  </feature>
- <feature>
  <name>Digital TV Standard</name> 
  <description>Digital TV Standard refers to the way in which your television receives and displays signals:<br><br><b>EDTV</b> (Enhanced Definition Television) - The picture quality of EDTV is superior to that of standard analog TV (480i) but not as good as HDTV (1080i or 720p). EDTV displays the picture at a resolution of 852x480 (480p) lines in either 4:3 or 16:9 aspect ratios and it includes Dolby Digital sound system.<br><br><b>HDTV</b> (High Definition Television) - An improved television system which provides twice the vertical and horizontal resolution of existing television standards. It also provides audio quality approaching that of compact discs. It capables of displaying on a wider screen (16x9 as opposed to the conventional 4x3) and at higher resolution.<br><br><b>SDTV</b> (Standard Definition Television) - The SDTV picture, having either in 4:3 or 16:9 aspect ratios, is better and of higher quality than the one of NTSC, however, it does not reach the quality and resolution of HDTV.</description> 
  <value>HDTV-Ready Television</value> 
  </feature>
- <feature>
  <name>Display Resolution</name> 
  <description>Display Resolution measures picture quality in pixels. The more pixels a television can display, the sharper the image. More pixels also provide higher-quality color.</description> 
  <value>1366 x 768 pixels</value> 
  </feature>
- <feature>
  <name>HDCP Support</name> 
  <value>With HDCP Support</value> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Display Capabilities</name> 
- <feature>
  <name>Digital TV Standard</name> 
  <description>Digital TV Standard refers to the way in which your television receives and displays signals:<br><br><b>EDTV</b> (Enhanced Definition Television) - The picture quality of EDTV is superior to that of standard analog TV (480i) but not as good as HDTV (1080i or 720p). EDTV displays the picture at a resolution of 852x480 (480p) lines in either 4:3 or 16:9 aspect ratios and it includes Dolby Digital sound system.<br><br><b>HDTV</b> (High Definition Television) - An improved television system which provides twice the vertical and horizontal resolution of existing television standards. It also provides audio quality approaching that of compact discs. It capables of displaying on a wider screen (16x9 as opposed to the conventional 4x3) and at higher resolution.<br><br><b>SDTV</b> (Standard Definition Television) - The SDTV picture, having either in 4:3 or 16:9 aspect ratios, is better and of higher quality than the one of NTSC, however, it does not reach the quality and resolution of HDTV.</description> 
  <value>HDTV-Ready - Requires separate receiver to view HDTV signals.</value> 
  </feature>
- <feature>
  <name>Broadcast Format Displayed</name> 
  <description>The broadcast formats supported by your television dictate what sort of signals your television is able to receive and process. It is important that your television not only support but is also able to display the formats you wish to view. A supported format can be understood by your television, but not necessarily displayed in its optimum form. 1080i, 1080p and 720p are standards for HDTV, while 480p and 480i are standard definition formats.</description> 
  <value>720p (HDTV)</value> 
  <value>480p (EDTV)</value> 
  <value>480i (SDTV)</value> 
  </feature>
- <feature>
  <name>Broadcast Format Supported</name> 
  <description>The broadcast formats displayed by your television dictate what sort of signals your television is able to receive and display. The number represents how big the picture will be, and the letter represents the way in which the image is refreshed. Generally, the higher the number, the more clearly it will show up on bigger screens. While progressive (p) formats refresh images twice as often as interlaced (i) formats, most users would not notice a significant difference between the two. 1080i, 1080p and 720p are standards for HDTV, while 480p and 480i are standard definition formats.</description> 
  <value>1080p (HDTV)</value> 
  <value>1080i (HDTV)</value> 
  <value>720p (HDTV)</value> 
  <value>480p (EDTV)</value> 
  <value>480i (SDTV)</value> 
  <value>576p</value> 
  <value>576i</value> 
  </feature>
- <feature>
  <name>Built-in Tuner</name> 
  <description>There are various types of tuners that may be built into a television:<br><br>NTSC (National Television System Committee) is the analog television broadcasting standard used widely in North America. It is referred to as a 525-line standard, but actually displays only 480 lines. NTSC is to be replaced with new DTV (Digital TV) standards in the coming years.<br><br>\r\nThe PAL (Phase Alternating Line) standard was introduced in the early 1960's and was implemented widely in Europe. It has a wider channel bandwidth than NTSC as it runs on 635 lines.<br><br>\r\nATSC (Advanced Television Standards Committee) creates the technical standards for the US digital television system (DTV). These standards are expected to be used in most new televisions, as the US television system shifts from analog to digital.<br><br>\r\nQAM (Quadrature Amplitude Modulation) tuner is present in some new digital televisions and similar devices. It enables direct reception of digital cable channels without the use of a set-top box. QAM tuners can be likened to the cable equivalent of an ATSC tuner which is required to receive over-the-air (OTA) digital channels broadcast by local television stations.</description> 
  <value>NTSC</value> 
  <value>PAL</value> 
  <value>SECAM</value> 
  <value>DVB</value> 
  <value>TNT</value> 
  </feature>
- <feature>
  <name>Native Aspect Ratio</name> 
  <description>Native Aspect Ratio refers to the dimensions of the display of a television. It measures the units wide, by the units high. The two standard measurements for flat panel televisions and various types of projectors are 4:3 and 16:9. 4:3 produces a traditional square display. 16:9 produces a rectangular, wide screen display. One ratio is not necessarily better than the other. It all depends on the preferences of the consumer.\r\n</description> 
  <value>16:9</value> 
  </feature>
- <feature>
  <name>Interpolated Aspect Ratio</name> 
  <value>14:9 Enhanced</value> 
  </feature>
- <feature>
  <name>Aspect Ratio</name> 
  <description>Traditional TVs have an aspect ratio of 4:3 (squarish), which represents the ratio of the width of the screen to the height. Widescreen TVs have an aspect ratio of 16:9 (also known as "letterbox", a rectangular shape). If you plan to watch a lot of DVD movies on your TV, you might want to consider a widescreen TV, as many DVDs support the 16:9 aspect ratio. If you have a widescreen TV and are viewing standard programming, the picture will appear in letterbox format, meaning that the picture will appear with black boxes on either side or the top and bottom of the screen.</description> 
  <value>Widescreen (16:9)</value> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Image Quality</name> 
- <feature>
  <name>Display Resolution</name> 
  <description>Display Resolution measures picture quality in pixels. The more pixels a television can display, the sharper the image. More pixels also provide higher-quality color.</description> 
  <value>1366 x 768 pixels</value> 
  </feature>
- <feature>
  <name>Brightness</name> 
  <description>Brightness, also known as luminance or photometric brightness, is the luminance intensity of any surface in a given direction. It is measured per unit of projected area of the surface as viewed from a single direction.</description> 
  <value>500 cd/m²</value> 
  </feature>
- <feature>
  <name>Viewing Angle</name> 
  <description>The Viewing Angle is the maximum side angle from which the viewer can see the screen clearly.</description> 
  <value>178</value> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Connectors</name> 
- <feature>
  <name>Rear Input Connectors</name> 
  <value>HDMI x 1</value> 
  <value>Audio (RCA) x 1</value> 
  <value>1 x D-Sub (RGB PC)</value> 
  <value>1 x RS-232C</value> 
  <value>USB Port</value> 
  </feature>
- <feature>
  <name>Front Input Connectors</name> 
  <value>Composite x 1</value> 
  <value>HDMI x 1</value> 
  <value>Audio (RCA) x 1</value> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Speakers</name> 
- <feature>
  <name>Speaker Power</name> 
  <value /> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Dimensions</name> 
- <feature>
  <name>Weight</name> 
  <value>15.58 kg</value> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Miscellaneous</name> 
- <feature>
  <name>UPC</name> 
  <value /> 
  </feature>
- <feature>
  <name>Product ID</name> 
  <value>84599040</value> 
  </feature>
  </featureGroup>
  </specifications>
  </product>
- <product id="83906082">
  <name>LG 42LH3000 42 in. HDTV TV</name> 
  <shortDescription>LCD TV, 42 inch, HDTV Television, Resolution: 1920 x 1080 pixels, Brightness: 500 cd/m², Aspect Ratio: 16:9, 14:9 Enhanced, Weigh...</shortDescription> 
  <fullDescription>The LH3000 series introduces the greener side of innovation. This series is not only HD Ready 1080p but is also certified by the Energy Saving Trust for saving you money off your electricity bills.</fullDescription> 
- <images>
- <image available="true" height="100" width="100">
  <sourceURL>http://di1.shopping.com/images/pi/6b/66/91/83906082-100x100-0-0.jpg?p=s15.c913eec2dbb4c5b51c73&a=2&c=44&l=8033413&t=091230170451&r=2</sourceURL> 
  </image>
- <image available="true" height="200" width="200">
  <sourceURL>http://di1.shopping.com/images/pi/6b/66/91/83906082-200x200-0-0.jpg?p=s15.c913eec2dbb4c5b51c73&a=2&c=44&l=8033413&t=091230170451&r=2</sourceURL> 
  </image>
- <image available="true" height="300" width="300">
  <sourceURL>http://di1.shopping.com/images/pi/6b/66/91/83906082-300x300-0-0.jpg?p=s15.c913eec2dbb4c5b51c73&a=2&c=44&l=8033413&t=091230170451&r=2</sourceURL> 
  </image>
- <image available="false" height="400" width="400">
  <sourceURL>http://img.shopping.com/sc/ds/no_image_100X100.jpg?p=s15.c913eec2dbb4c5b51c73&a=2&c=44&l=8033413&t=091230170451&r=2</sourceURL> 
  </image>
- <image available="true" height="337" width="338">
  <sourceURL>http://di1.shopping.com/images/pi/6b/66/91/83906082-338x337-0-0.jpg?p=s15.c913eec2dbb4c5b51c73&a=2&c=44&l=8033413&t=091230170451&r=2</sourceURL> 
  </image>
  </images>
- <rating>
  <reviewCount>0</reviewCount> 
  </rating>
  <minPrice>499.00</minPrice> 
  <maxPrice>670.00</maxPrice> 
  <productOffersURL>http://uk.shopping.com/xPO-LG-42LH3000-42-1080p-LCD-TV~linkin_id-8033413</productOffersURL> 
  <productSpecsURL>http://uk.shopping.com/xPF-LG-42LH3000-42-1080p-LCD-TV~linkin_id-8033413</productSpecsURL> 
  <offers matchedOfferCount="12" pageNumber="1" returnedOfferCount="0" /> 
- <specifications>
- <featureGroup>
  <name>Product MPN</name> 
- <feature>
  <name>MPN</name> 
  <value>42LH3000</value> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Key Features</name> 
- <feature>
  <name>Flat Panel Type</name> 
  <description>Flat Panel TVs use LCD, Plasma, or today's new type of viewing screen OLED.<br><br><b>LCD</b>s (Liquid Crystal Displays) use liquid crystals as optical shutters, which control the amount of light passing through the thin display screen, creating vivid, life-like colors. LCDs are commonly used on microwaves, calculators and computers, as well as projection (up to 60") and direct view (10"-30") TVs.<br><br><b>Plasma</b> displays use a complex gas-based system. The benefits are a vivid, bright, clear picture with a slim form factor that can be mounted on a wall or on a pedestal. Plasma TVs range from 42 inches to 63 inches.<br><br><b>OLED</b> (Organic Light-Emitting Diode) can provide brighter, crisper displays on electronic devices and use less power than conventional light-emitting diodes (LEDs) or liquid crystal displays (LCDs) used today, it also can be viewed in bright lighting conditions, at greater angles.</description> 
  <value>LCD TV</value> 
  </feature>
- <feature>
  <name>LCD Response Time</name> 
  <description>Response time is the amount of time a pixel in an LCD monitor takes to go from a fully active (black) to fully inactive (white) and back to fully active (black) again. It is measured in milliseconds (ms). Lower numbers mean faster transitions and therefore fewer visible image artifacts. A faster LCD TV response time is suppose to render better, fast actions during movies, sport events, and gaming.</description> 
  <value /> 
  </feature>
- <feature>
  <name>Screen Size</name> 
  <description>Diagonal Screen Size is the size of your TV screen, measured diagonally in inches.</description> 
  <value>42 inch</value> 
  </feature>
- <feature>
  <name>Digital TV Standard</name> 
  <description>Digital TV Standard refers to the way in which your television receives and displays signals:<br><br><b>EDTV</b> (Enhanced Definition Television) - The picture quality of EDTV is superior to that of standard analog TV (480i) but not as good as HDTV (1080i or 720p). EDTV displays the picture at a resolution of 852x480 (480p) lines in either 4:3 or 16:9 aspect ratios and it includes Dolby Digital sound system.<br><br><b>HDTV</b> (High Definition Television) - An improved television system which provides twice the vertical and horizontal resolution of existing television standards. It also provides audio quality approaching that of compact discs. It capables of displaying on a wider screen (16x9 as opposed to the conventional 4x3) and at higher resolution.<br><br><b>SDTV</b> (Standard Definition Television) - The SDTV picture, having either in 4:3 or 16:9 aspect ratios, is better and of higher quality than the one of NTSC, however, it does not reach the quality and resolution of HDTV.</description> 
  <value>HDTV Television</value> 
  </feature>
- <feature>
  <name>Display Resolution</name> 
  <description>Display Resolution measures picture quality in pixels. The more pixels a television can display, the sharper the image. More pixels also provide higher-quality color.</description> 
  <value>1920 x 1080 pixels</value> 
  </feature>
- <feature>
  <name>HDCP Support</name> 
  <value>With HDCP Support</value> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Display Capabilities</name> 
- <feature>
  <name>Digital TV Standard</name> 
  <description>Digital TV Standard refers to the way in which your television receives and displays signals:<br><br><b>EDTV</b> (Enhanced Definition Television) - The picture quality of EDTV is superior to that of standard analog TV (480i) but not as good as HDTV (1080i or 720p). EDTV displays the picture at a resolution of 852x480 (480p) lines in either 4:3 or 16:9 aspect ratios and it includes Dolby Digital sound system.<br><br><b>HDTV</b> (High Definition Television) - An improved television system which provides twice the vertical and horizontal resolution of existing television standards. It also provides audio quality approaching that of compact discs. It capables of displaying on a wider screen (16x9 as opposed to the conventional 4x3) and at higher resolution.<br><br><b>SDTV</b> (Standard Definition Television) - The SDTV picture, having either in 4:3 or 16:9 aspect ratios, is better and of higher quality than the one of NTSC, however, it does not reach the quality and resolution of HDTV.</description> 
  <value>HDTV - HDTV receiver is integrated.</value> 
  </feature>
- <feature>
  <name>Broadcast Format Displayed</name> 
  <description>The broadcast formats supported by your television dictate what sort of signals your television is able to receive and process. It is important that your television not only support but is also able to display the formats you wish to view. A supported format can be understood by your television, but not necessarily displayed in its optimum form. 1080i, 1080p and 720p are standards for HDTV, while 480p and 480i are standard definition formats.</description> 
  <value>1080p (HDTV)</value> 
  <value>1080i (HDTV)</value> 
  <value>720p (HDTV)</value> 
  <value>480p (EDTV)</value> 
  <value>480i (SDTV)</value> 
  </feature>
- <feature>
  <name>Broadcast Format Supported</name> 
  <description>The broadcast formats displayed by your television dictate what sort of signals your television is able to receive and display. The number represents how big the picture will be, and the letter represents the way in which the image is refreshed. Generally, the higher the number, the more clearly it will show up on bigger screens. While progressive (p) formats refresh images twice as often as interlaced (i) formats, most users would not notice a significant difference between the two. 1080i, 1080p and 720p are standards for HDTV, while 480p and 480i are standard definition formats.</description> 
  <value>1080p (HDTV)</value> 
  <value>1080i (HDTV)</value> 
  <value>720p (HDTV)</value> 
  <value>480p (EDTV)</value> 
  <value>480i (SDTV)</value> 
  <value>576p</value> 
  <value>576i</value> 
  </feature>
- <feature>
  <name>Built-in Tuner</name> 
  <description>There are various types of tuners that may be built into a television:<br><br>NTSC (National Television System Committee) is the analog television broadcasting standard used widely in North America. It is referred to as a 525-line standard, but actually displays only 480 lines. NTSC is to be replaced with new DTV (Digital TV) standards in the coming years.<br><br>\r\nThe PAL (Phase Alternating Line) standard was introduced in the early 1960's and was implemented widely in Europe. It has a wider channel bandwidth than NTSC as it runs on 635 lines.<br><br>\r\nATSC (Advanced Television Standards Committee) creates the technical standards for the US digital television system (DTV). These standards are expected to be used in most new televisions, as the US television system shifts from analog to digital.<br><br>\r\nQAM (Quadrature Amplitude Modulation) tuner is present in some new digital televisions and similar devices. It enables direct reception of digital cable channels without the use of a set-top box. QAM tuners can be likened to the cable equivalent of an ATSC tuner which is required to receive over-the-air (OTA) digital channels broadcast by local television stations.</description> 
  <value>ATSC</value> 
  <value>NTSC</value> 
  <value>PAL</value> 
  <value>SECAM</value> 
  <value>DVB</value> 
  </feature>
- <feature>
  <name>Native Aspect Ratio</name> 
  <description>Native Aspect Ratio refers to the dimensions of the display of a television. It measures the units wide, by the units high. The two standard measurements for flat panel televisions and various types of projectors are 4:3 and 16:9. 4:3 produces a traditional square display. 16:9 produces a rectangular, wide screen display. One ratio is not necessarily better than the other. It all depends on the preferences of the consumer.\r\n</description> 
  <value>16:9</value> 
  </feature>
- <feature>
  <name>Interpolated Aspect Ratio</name> 
  <value>14:9 Enhanced</value> 
  </feature>
- <feature>
  <name>Aspect Ratio</name> 
  <description>Traditional TVs have an aspect ratio of 4:3 (squarish), which represents the ratio of the width of the screen to the height. Widescreen TVs have an aspect ratio of 16:9 (also known as "letterbox", a rectangular shape). If you plan to watch a lot of DVD movies on your TV, you might want to consider a widescreen TV, as many DVDs support the 16:9 aspect ratio. If you have a widescreen TV and are viewing standard programming, the picture will appear in letterbox format, meaning that the picture will appear with black boxes on either side or the top and bottom of the screen.</description> 
  <value>Widescreen (16:9)</value> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Image Quality</name> 
- <feature>
  <name>Display Resolution</name> 
  <description>Display Resolution measures picture quality in pixels. The more pixels a television can display, the sharper the image. More pixels also provide higher-quality color.</description> 
  <value>1920 x 1080 pixels</value> 
  </feature>
- <feature>
  <name>Brightness</name> 
  <description>Brightness, also known as luminance or photometric brightness, is the luminance intensity of any surface in a given direction. It is measured per unit of projected area of the surface as viewed from a single direction.</description> 
  <value>500 cd/m²</value> 
  </feature>
- <feature>
  <name>Viewing Angle</name> 
  <description>The Viewing Angle is the maximum side angle from which the viewer can see the screen clearly.</description> 
  <value>178</value> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Connectors</name> 
- <feature>
  <name>Rear Input Connectors</name> 
  <value>Component x 1</value> 
  <value>HDMI x 1</value> 
  <value>Audio (RCA) x 1</value> 
  <value>1 x D-Sub (RGB PC)</value> 
  <value>21-pin SCART x 2</value> 
  </feature>
- <feature>
  <name>Front Input Connectors</name> 
  <value>Composite x 1</value> 
  <value>HDMI x 1</value> 
  <value>Audio (RCA) x 1</value> 
  <value>USB Port</value> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Speakers</name> 
- <feature>
  <name>Speaker Power</name> 
  <value>10 Watt</value> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Dimensions</name> 
- <feature>
  <name>Weight</name> 
  <value>15.58 kg</value> 
  </feature>
  </featureGroup>
- <featureGroup>
  <name>Miscellaneous</name> 
- <feature>
  <name>UPC</name> 
  <value>8808992479048</value> 
  </feature>
- <feature>
  <name>Product ID</name> 
  <value>83906082</value> 
  </feature>
  </featureGroup>
  </specifications>
  </product>
  </items>
- <attributes matchedAttributeCount="5" returnedAttributeCount="5">
- <attribute id="digital_standard__list">
  <name>Digital TV Standard</name> 
  <attributeURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins~all-digital_standard__list~MS-1~linkin_id-8033413?oq=lg_42_ins</attributeURL> 
- <attributeValues matchedValueCount="2" returnedValueCount="2">
- <attributeValue id="hdtv_monitor___hdtv_ready" matchingItemsCount="3">
  <name>HDTV-Ready Television</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-hdtv_monitor___hdtv_ready~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
- <attributeValue id="digital_standard__list__hdtv" matchingItemsCount="3">
  <name>HDTV Television</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-digital_standard__list__hdtv~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
  </attributeValues>
  </attribute>
- <attribute id="30598_aspect_ratio">
  <name>Aspect Ratio</name> 
  <attributeURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins~all-30598_aspect_ratio~MS-1~linkin_id-8033413?oq=lg_42_ins</attributeURL> 
- <attributeValues matchedValueCount="2" returnedValueCount="2">
- <attributeValue id="widescreen_16_9" matchingItemsCount="4">
  <name>Widescreen (16:9)</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-widescreen_16_9~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
- <attributeValue id="standard_4_3" matchingItemsCount="3">
  <name>Standard (4:3)</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-standard_4_3~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
  </attributeValues>
  </attribute>
- <attribute id="built_in_tuner__list">
  <name>Built-in Tuner</name> 
  <attributeURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins~all-built_in_tuner__list~MS-1~linkin_id-8033413?oq=lg_42_ins</attributeURL> 
- <attributeValues matchedValueCount="6" returnedValueCount="5">
- <attributeValue id="built_in_tuner__list__pal" matchingItemsCount="6">
  <name>PAL</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-built_in_tuner__list__pal~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
- <attributeValue id="built_in_tuner__list__secam" matchingItemsCount="6">
  <name>SECAM</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-built_in_tuner__list__secam~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
- <attributeValue id="built_in_tuner_dvb" matchingItemsCount="5">
  <name>DVB</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-built_in_tuner_dvb~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
- <attributeValue id="tnt" matchingItemsCount="1">
  <name>TNT</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-tnt~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
- <attributeValue id="atsc" matchingItemsCount="3">
  <name>ATSC</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-atsc~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
  </attributeValues>
  </attribute>
- <attribute id="store">
  <name>Store</name> 
  <attributeURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins~all-store~MS-1~linkin_id-8033413?oq=lg_42_ins</attributeURL> 
- <attributeValues matchedValueCount="14" returnedValueCount="5">
- <attributeValue id="littlewoods" matchingItemsCount="7">
  <name>Very</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-littlewoods~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
- <attributeValue id="store_marshall_ward" matchingItemsCount="7">
  <name>Marshall Ward</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-store_marshall_ward~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
- <attributeValue id="307518" matchingItemsCount="4">
  <name>Additions Direct</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-307518~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
- <attributeValue id="9689_dixons_merch" matchingItemsCount="4">
  <name>Dixons</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-9689_dixons_merch~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
- <attributeValue id="9689_currys_merch" matchingItemsCount="4">
  <name>Currys</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-9689_currys_merch~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
  </attributeValues>
  </attribute>
- <attribute id="flat_panel_type">
  <name>Flat Panel Type</name> 
  <attributeURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins~all-flat_panel_type~MS-1~linkin_id-8033413?oq=lg_42_ins</attributeURL> 
- <attributeValues matchedValueCount="2" returnedValueCount="2">
- <attributeValue id="lcd_tv" matchingItemsCount="6">
  <name>LCD TV</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-lcd_tv~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
- <attributeValue id="flat_panel_type_plasma_tv" matchingItemsCount="1">
  <name>Plasma TV</name> 
  <attributeValueURL>http://uk.shopping.com/xPP-plasma_and_lcd_tvs-lg_42_ins-flat_panel_type_plasma_tv~linkin_id-8033413</attributeValueURL> 
  </attributeValue>
  </attributeValues>
  </attribute>
  </attributes>
  <contentType>products</contentType> 
  </category>
  </categories>
- <relatedTerms>
  <term>lcd tv</term> 
  <term>tv</term> 
  <term>lcd tvs</term> 
  <term>plasma tv</term> 
  <term>television</term> 
  <term>televisions</term> 
  <term>38089738</term> 
  <term>lcd televisions</term> 
  <term>kdl32d3000</term> 
  <term>jvc</term> 
  <term>lcd</term> 
  <term>toshiba 37x3030db</term> 
  <term>panasonic 42pz700cab</term> 
  <term>panasonic lcd tv</term> 
  <term>le40m87bdx</term> 
  <term>hdtv</term> 
  <term>tvs</term> 
  <term>samsung</term> 
  <term>sony</term> 
  <term>panasonic tx32lxd70</term> 
  </relatedTerms>
  </GeneralSearchResponse>

Open in new window

Avatar of neeraj523
neeraj523
Flag of India image

Hello

Can you post the url to load xml which need to be parsed ?
Avatar of jellydeal
jellydeal

ASKER

Hi,

I would but it's not much use without my password in the URL and I don't want to put that on here. Why do you need the URL?
The XML is in the code section. Thanks :)
Here is a JavaScript class for dealing with XML.

Remove the ".TXT" from the file name before use.


xml.js.TXT
Drat! I ran the script through JSLint and fixed the problems it found.

Use this instead of the previous file.
xml.js.TXT
is this question is still unresolved ?
Hello,
thanks for the response although I need asp vbscript code.
The file I posted works on IIS (server) as well as the client.
ASKER CERTIFIED SOLUTION
Avatar of neeraj523
neeraj523
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for your time.. You cracked it for me..
I also found the additional command :
 product.item(i).selectSingleNode("minPrice").text
that allowed me to pull the exact node back!
Thanks again!