How to Fix Error get node this example in sql?(如何在sql中修复错误获取节点这个例子?)
问题描述
如何在sql这个例子中获取内部文本Divs?
考试:尺寸:14.1 英寸屏幕 (11.3"x8.4")
这是我的代码:
声明@htmlXML为xml = N' <div class="h-product" itemtype="http://schema.org/Product" itemscope="" ><div class="clearfix2" style="padding:0 10px"></div><div class="notification"><<div id="l_wizard_content"></div></div><hr class="black"><div class="screen_container"><div class="screen_image_and_zoom_cotainer"><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCB0" href="/img/screens/1000/LTN141XB-L02.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC9MVE4xNDFYQi1MMDIuanBn" width="138" border="0" alt="5a6P5Z+6QVNQSVJFIDEyMDAg5bGP5bmV5pu05o2i"></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMA==" href="/img/screens/1000/LTN141XB-L02.jpg">Zoom [+]</a><br/></div><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCDlsY/luZXmm7/mjaI=" href="/img/screens/1000/30pinsCCFL.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCDlsY/luZXmm7TmjaI="></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUkFTUElSRSAxMjAwIOabv+aNoueslOiusOacrOeUteiEkSBMQ0Qg5bGP5bmV77yMNzguOTkg576O5YWD6LW35bGP5bmV" href="/img/screens/1000/30pinsCCFL.jpg">缩放 [+]
缺货</span></p></div><div class="currencies_and_shipping_cost_container"><div class="right_specs_container">$85.99 USD </div><div class="right_specs_container">$116.95 CAD</div><div class="right_specs_container">&英镑;69.2 英镑 </div><div class="right_specs_container">&amp;euro;77.45 欧元 </div></div><div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right"><img src="L2FfaW1hZ2VzL21haWwucG5n" alt="6YCa6L+H55S15a2Q6YKu5Lu25YiG5Lqr6L+Z5Liq6aG555uu" align="left"/>&amp;nbsp;<a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 笔记本液晶屏14.1 英寸屏幕 (11.3"x8.4") XGA (1024x768) 哑光 CCFL 1-Bulb&amp;hash=467454">通过电子邮件分享此项目</a></div></div><div style="clear:both"></div><hr class="black"><div class="screen_container"><div class="screen_image_and_zoom_cotainer"><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCDmjaLlsY8=" href="/img/screens/1000/LTN150XG_L08.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC9MVE4xNTBYR19MMDguanBn" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCDmjaLlsY8="></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCDmm7/mjaLnrJTorrDmnKznlLXohJHmtrLmmbblsY/vvIzllK7ku7cgNzguOTkg576O5YWD5bGP5bmV" href="/img/screens/1000/LTN150XG_L08.jpg">缩放 [+]</a><br/><;/div><a target="blank" class="thickbox" title="5a6P56KBIEFTUElSRSAxMjAwIOaNouWxjw==" href="/img/screens/1000/30pinsCCFL.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" 边框="0" alt="5a6P56KBIEFTUElSRSAxMjAwIOWxj+W5leabtOaNog=="></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCDmm7TmjaI3OC45OSDnvo7lhYPotbfnmoTnrJTorrDmnKznlLXohJEgTENEIOWxj+W5lQ==" href="/img/screens/1000/30pinsCCFL.jpg">缩放 [+]</a><br/></div><br clear="both"><b>项目 ID:885550 </b></div><div class="screen_specs_container" ><div class="left_specs_container">兼容性:&nbsp;</div><div class="right_specs_container" ><h4 >Acer ASPIRE 1200</h4></div><div class="left_specs_container" data-filterLabel="替换部件类型:">替换零件类型</div><div class="right_specs_container spec_highlight">仅液晶屏&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container" data-filterLabel="Size:">Size:&nbsp;</div><div class="right_specs_container" title="c2l6ZQ==">15 英寸屏幕 (12"x9")&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container" data-filterLabel="Resolution:">Resolution:&nbsp;</div><div class="right_specs_container" title="5YiG6L6o546H">XGA (1024x768)&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/WWPSXibVLkg?autoplay=1"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container" data-filterLabel="Surface Type:">Surface Type:&nbsp;</div><div class="right_specs_container" title="dHlwZQ=="><font color="red">Matte&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></font></div><div class="left_specs_container" style="display:none" data-filterLabel="触摸屏面板:">触摸屏面板:&amp;nbsp;</div><div class="right_specs_container" style="display:none">不包括</div><div class="left_specs_container" data-filterLabel="背光类型:">背光类型:&amp;nbsp;</div><div class="right_specs_container" title="YmFja2xpZ2h0LXR5cGU=">CCFL 1-Bulb&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/4F0xPuz4Jnw?autoplay=1"><img border="0" valign="中间alt="P3NyYz0="/images/question2.gif"/></a></div><div class="left_specs_container">视频信号连接器:&nbsp;</div><div class="right_specs_container">30 针 CCFL 屏幕&amp;nbsp;[<a target="blank" class="thickbox notebooks" title="VmlkZW8gQ29ubmVjdG9y" href="/img/connectors/1_big/30pinsCCFL.jpg">图像</a>]</div><div class="left_specs_container">条件:&amp;nbsp;</div><div class="right_specs_container">新A级+&nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1243967715&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container">保修:&amp;nbsp;</div><div class="right_specs_container">3 年</div><div class="left_specs_container" style="color:#f00">注意:&amp;nbsp;</div><divclass="right_specs_container">确保新屏幕的尺寸、分辨率和背光与旧屏幕相同!</div></div><div class="screen_prices_container" ><div class="item_currency_selector"><h5>货币选择器</h5><ul><li class="active"><a href="?set_currency=USD" rel="nofollow">USD</a></li><li class=""><a href="?set_currency=CAD" rel="nofollow">CAD</a></li><li class=""><a href="?set_currency=GBP" rel="nofollow">GBP</a></li><li class=""><a href="?set_currency=EUR" rel="nofollow">EUR</a></li></ul></div><b class="main_price">$109.99</b><div class="combo_qty_price_container">$<span >99.99</span><span class="phrase">如果购物车中的总屏幕数为 2+ </span></div><;div class="product_os_sign">缺货</div><div class="click_on_button_below_to_be_notified_container">点击下面的按钮,当商品恢复库存时会收到通知.</div><div class="通知_me_button_container"><form name="notify_me" action="/English/" method="post"><input type="hidden" name="notify_me" value="V01-15XGAmatte1"><input type="hidden" name="section" value="notify_me"><input type="hidden" name="notificator_id" value="model==ASPIRE 1200||screens||V01-15XGAmatte1||notificator_def==def5~~15^^def6~~xga^^def7~~mtt^^backlight_type~~1b^^signal_connector~~1387225725^^backlight_connector~~0^^comments_for_customers~~^^ship_only_to~~0^^threeD~~^^ips~~^^touchscreen_panel~~^^mountings~~^^ac_size~~^^ac_weight~~^^ac_color~~^^shp_wght~~552^^scr_add_text~~####^^uk1~~^^uk2~~^^dsaqotw~~^^touch_screen~~^^digitizer~~^^digitizer_only~~^^glass_protector~~^^bare_screen~~^^assembly~~^^replacement_part_type~~lcd_screen||品牌==宏基"><button type="submit" value="submit" class="submitBtn_gray"><span>通知我</span></button></form></div><br/><p class="country_stock"><i class="small_flags usa"></i>海特尔,华盛顿州 -<span class="out_of_stock">缺货</span></p><p class="country_stock"><i class="small_flags canada"></i>温哥华,BC -<span class="out_of_stock">缺货</span></p><p class="country_stock"><i class="small_flags england"><;/i>英国盖特威克 -缺货</span></p></div><div class="currencies_and_shipping_cost_container"><div class="right_specs_container">$109.99 USD </div><div class="right_specs_container">$149.59 CAD </div><div class="right_specs_container">&英镑;88.51 英镑 </div><div class="right_specs_container">&amp;euro;99.07 欧元 </div></div><div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right"><img src="L2FfaW1hZ2VzL21haWwucG5n" alt="6YCa6L+H55S15a2Q6YKu5Lu25YiG5Lqr6L+Z5Liq6aG555uu" align="left"/>&amp;nbsp;<a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 笔记本液晶屏15 英寸屏幕 (12"x9") XGA (1024x768) 哑光 CCFL 1-Bulb&amp;hash=885550">通过电子邮件分享此项目</a></div></div><div style="clear:both"></div><hr class="black"><div class="screen_container"><div class="screen_image_and_zoom_cotainer"><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCDmjaLlsY8=" href="/img/screens/1000/LTN150XG_L08.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC9MVE4xNTBYR19MMDguanBn" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCDlsY/luZXmm7/mjaI="></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCDmm7/mjaLnrJTorrDmnKznlLXohJHmtrLmmbblsY/vvIzllK7ku7cgNzguOTkg576O5YWD5bGP5bmV" href="/img/screens/1000/LTN150XG_L08.jpg">缩放 [+]</a><br/></div><a target="blank" class="thickbox" title="5a6P56KBIEFTUElSRSAxMjAwIOaNouWxjw==" href="/img/screens/1000/30pinsCCFL.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" 边框="0" alt="5a6P56KBIEFTUElSRSAxMjAwIOWxj+W5leabtOaNog=="></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCDmm7TmjaI3OC45OSDnvo7lhYPotbfnmoTnrJTorrDmnKznlLXohJEgTENEIOWxj+W5lQ==" href="/img/screens/1000/30pinsCCFL.jpg">缩放 [+]</a><br/></div><br clear="both"><b>项目 ID:753088 </b></div><div class="screen_specs_container" ><div class="left_specs_container">兼容性:&;</div><div class="right_specs_container" ><h4 >Acer ASPIRE 1200</h4></div><div class="left_specs_container" data-filterLabel="替换部件类型:">替换零件类型</div><div class="right_specs_container spec_highlight">仅液晶屏&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1468010881&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container" data-filterLabel="Size:">Size:&nbsp;</div><div class="right_specs_container" title="c2l6ZQ==">15 英寸屏幕 (12"x9")&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/_zalTiJ1vFY?autoplay=1"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container" data-filterLabel="Resolution:">Resolution:&nbsp;</div><div class="right_specs_container" title="5YiG6L6o546H">XGA (1024x768)&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/WWPSXibVLkg?autoplay=1"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container" data-filterLabel="Surface Type:">Surface Type:&nbsp;</div><div class="right_specs_container" title="dHlwZQ=="><font color="red">Glossy&amp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/gt_CSbMF-5o?autoplay=1"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></font></div><div class="left_specs_container" style="display:none" data-filterLabel="触摸屏面板:">触摸屏面板:&amp;nbsp;</div><div class="right_specs_container" style="display:none">不包括</div><div class="left_specs_container" data-filterLabel="背光类型:">背光类型:&amp;nbsp;</div><div class="right_specs_container" title="YmFja2xpZ2h0LXR5cGU=">CCFL 1-Bulb&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container">视频信号连接器:&nbsp;</div><div class="right_specs_container">30 针 CCFL 屏幕&amp;nbsp;[<a target="blank" class="thickbox notebooks" title="VmlkZW8gQ29ubmVjdG9y" href="/img/connectors/1_big/30pinsCCFL.jpg">图像</a>]</div><div class="left_specs_container">条件:&amp;nbsp;</div><div class="right_specs_container">新A+&nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1243967715&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container">保修:&amp;nbsp;</div><div class="right_specs_container">3 年</div><div class="left_specs_container" style="color:#f00">注意:&amp;nbsp;</div><divclass="right_specs_container">确保新屏幕的尺寸、分辨率和背光与旧屏幕相同!</div></div><div class="screen_prices_container" ><div class="item_currency_selector"><h5>货币选择器</h5><ul><li class="active"><a href="?set_currency=USD" rel="nofollow">USD</a></li><li class=""><a href="?set_currency=CAD" rel="nofollow">CAD</a></li><li class=""><a href="?set_currency=GBP" rel="nofollow">GBP</a></li><li class=""><a href="?set_currency=EUR" rel="nofollow">EUR</a></li></ul></div><b class="main_price">$99.99</b><div class="combo_qty_price_container">$<span >89.99</span><span class="phrase">如果购物车中的总屏幕数为 2+ </span></div><;div class="product_os_sign">缺货</div><div class="click_on_button_below_to_be_notified_container">点击下面的按钮,当商品有货时收到通知.</div><div class="通知_me_button_container"><form name="notify_me" action="/English/" method="post"><input type="hidden" name="notify_me" value="V02-15XGAgloss1"><input type="hidden" name="section" value="notify_me"><input type="hidden" name="notificator_id" value="model==ASPIRE 1200||screens||V02-15XGAgloss1||notificator_def==def5~~15^^def6~~xga^^def7~~gls^^backlight_type~~1b^^signal_connector~~1387225725^^backlight_connector~~0^^comments_for_customers~~^^ship_only_to~~0^^threeD~~^^ips~~^^touchscreen_panel~~^^mountings~~^^ac_size~~^^ac_weight~~^^ac_color~~^^shp_wght~~552^^scr_add_text~~####^^uk1~~^^uk2~~^^dsaqotw~~^^touch_screen~~^^digitizer~~^^digitizer_only~~^^glass_protector~~^^bare_screen~~^^assembly~~^^replacement_part_type~~lcd_screen||品牌==宏基"><button type="submit" value="submit" class="submitBtn_gray"><span>通知我</span></button></form></div><br/><p class="country_stock"><i class="small_flags usa"></i>座位特尔,华盛顿州 -<span class="out_of_stock">缺货</span></p><p class="country_stock"><i class="small_flags canada"></i>温哥华,BC -<span class="out_of_stock">缺货</span></p><p class="country_stock"><i class="small_flags england"><;/i>英国盖特威克 -缺货</span></p></div><div class="currencies_and_shipping_cost_container"><div class="right_specs_container">$99.99 USD </div><div class="right_specs_container">$135.99 CAD </div><div class="right_specs_container">&英镑;80.47 英镑 </div><div class="right_specs_container">&amp;euro;90.06 欧元 </div></div><div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right"><img src="L2FfaW1hZ2VzL21haWwucG5n" alt="6YCa6L+H55S15a2Q6YKu5Lu25YiG5Lqr6L+Z5Liq6aG555uu" align="left"/>&amp;nbsp;<a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 笔记本液晶屏15 英寸屏幕 (12"x9") XGA (1024x768) Glossy CCFL 1-Bulb&amp;hash=753088">通过电子邮件分享该项目</a></div></div>;<div style="clear:both"></div><hr class="black"><div class="screen_container"><div class="screen_image_and_zoom_cotainer"><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCDmjaLlsY8=" href="/img/screens/1000/LP150E07_A3K1.jpg"><img itemprop="image" class="u-photo" src="L2ltZy9zY3JlZW5zLzEzOC9MUDE1MEUwN19BM0sxLmpwZw==" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCDmjaLlsY8="></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCDmm7/mjaLnrJTorrDmnKznlLXohJEgTENEIOWxj+W5le+8jOWUruS7tyA3OC45OSDnvo7lhYPlsY/luZU=" href="/img/screens/1000/LP150E07_A3K1.jpg">Zoom [+]</a><br/></div>;<a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCDmjaLlsY8=" href="/img/screens/1000/30pinsCCFL.jpg"><img itemprop="image" class="u-photo" src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" border="0" alt="5a6P56KBQVNQSVJFIDEyMDDmjaLlsY8="></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCDmm7/mjaLnrJTorrDmnKznlLXohJHmtrLmmbblsY/vvIzllK7ku7cgNzguOTkg576O5YWDIFNjcmVlbg==" href="/img/screens/1000/30pinsCCFL.jpg">Zoom [+]</a><br/></div><br clear="both"><b>项目 ID:308113 </b></div><div class="screen_specs_container" ><div class="left_specs_container">兼容性:&amp;nbsp;</div><div class="right_specs_container" ><h4 itemprop="model">Acer ASPIRE 1200</h4></div><div class="left_specs_container" data-filterLabel="替换零件类型:">替换零件类型</div><div class="right_specs_container spec_highlight>仅液晶屏&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1468010881&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container" data-filterLabel="Size:">Size:&nbsp;</div><div class="right_specs_container" title="c2l6ZQ==">15 英寸屏幕 (12"x9")&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/_zalTiJ1vFY?autoplay=1"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container" data-filterLabel="Resolution:">Resolution:&nbsp;</div><div class="right_specs_container" title="5YiG6L6o546H">SXGA (1400x1050)&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/WWPSXibVLkg?autoplay=1"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container" data-filterLabel="Surface Type:">Surface Type:&nbsp;</div><div class="right_specs_container" title="dHlwZQ=="><font color="red">Matte&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/gt_CSbMF-5o?autoplay=1"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></font></div><div class="left_specs_container" style="display:none" data-filterLabel="触摸屏面板:">触摸屏面板:&amp;nbsp;</div><div class="right_specs_container" style="display:none">不包括</div><div class="left_specs_container" data-filterLabel="背光类型:">背光类型:&amp;nbsp;</div><div class="right_specs_container" title="YmFja2xpZ2h0LXR5cGU=">CCFL 1-Bulb&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/4F0xPuz4Jnw?autoplay=1"><img border="0" valign="中间alt="P3NyYz0="/images/question2.gif"/></a></div><div class="left_specs_container">视频信号连接器:&nbsp;</div><div class="right_specs_container">30 针 CCFL 屏幕&amp;nbsp;[<a target="blank" class="thickbox notebooks" title="VmlkZW8gQ29ubmVjdG9y" href="/img/connectors/1_big/30pinsCCFL.jpg">图像</a>]</div><div class="left_specs_container">条件:&amp;nbsp;</div><div class="right_specs_container">新A+&nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1243967715&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw=="src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container">保修:&amp;nbsp;</div><div class="right_specs_container">3 年</div><div class="left_specs_container" style="color:#f00">注意:&amp;nbsp;</div><divclass="right_specs_container">确保新屏幕的尺寸、分辨率和背光与旧屏幕相同!</div></div><div class="screen_prices_container" itemprop="offers" itemtype="http://schema.org/Offer" itemscope itemtype="http://data-vocabulary.org/Offer" ><div class="item_currency_selector"><h5>货币选择器</h5><ul><li class="active"><a href="?set_currency=USD" rel="nofollow">USD</a></li><li class=""><a href="?set_currency=CAD" rel="nofollow">CAD</a></li><li class=""><a href="?set_currency=GBP" rel="nofollow">GBP</a></li><li class=""><a href="?set_currency=EUR" rel="nofollow">EUR</a></li></ul></div><div class="clearance_price_container_only">$79.99 </div><div class="clearance_word_only">CLEARANCE </div><div class="product_os_sign">缺货</div><div class="click_on_button_below_to_be_notified_container">点击下方按钮通知when the item back in-stock.</div><div class="notify_me_button_container"><form name="notify_me" action="/English/" method="post"><input type="hidden" name="notify_me" value="V06-15-SXGAmatte1"><input type="hidden" name="section" value="notify_me"><input type="hidden" name="notificator_id" value="model==ASPIRE 1200||screens||V06-15-SXGAmatte1||notificator_def==def5~~15^^def6~~sxga2^^def7~~mtt^^backlight_type~~1b^^signal_connector~~1387225725^^backlight_connector~~0^^comments_for_customers~~^^ship_only_to~~0^^threeD~~^^ips~~^^touchscreen_panel~~^^mountings~~^^ac_size~~^^ac_weight~~^^ac_color~~^^shp_wght~~600^^scr_add_text~~####^^uk1~~^^uk2~~^^dsaqotw~~^^touch_screen~~^^digitizer~~^^digitizer_only~~^^glass_protector~~^^bare_screen~~^^assembly~~^^replacement_part_type~~lcd_screen||brand==Acer"><button type="submit" value="submit" class="submitBtn_gray"><span>NOTIFY ME</span></button></form></div><br/><p class="country_stock"><i class="small_flags usa"></i>Seattle, WA -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags canada"></i>Vancouver, BC -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags england"></i>Gatwick, UK -<span class="out_of_stock">Out of Stock</span></p><meta itemprop="price" content="89.99"/><meta itemprop="priceCurrency" content="USD"/><meta itemprop="itemCondition" itemtype="http://schema.org/OfferItemCondition" content="http://schema.org/NewCondition"/><meta itemprop="availability" content="OutOfStock"/></div><div class="currencies_and_shipping_cost_container"><div class="right_specs_container">$79.99 USD </div><div class="right_specs_container">$108.79 CAD </div><div class="right_specs_container">&amp;pound;64.37 GBP </div><div class="right_specs_container">&amp;euro;72.05 EUR </div></div><div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right"><img src="L2FfaW1hZ2VzL21haWwucG5n" alt="U2hhcmUgdGhpcyBpdGVtIHZpYSBlLW1haWw=" align="left"/>&amp;nbsp;<a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 Laptop LCD Screen 15-inch Screen (12"x9") SXGA (1400x1050) Matte CCFL 1-Bulb&amp;hash=308113">Share this item via e-mail</a></div><meta itemprop="description" content="Acer ASPIRE 1200 Replacement Screen 15-inch Screen (12"x9")"/></div><div style="clear:both"></div></div>'
确保新屏幕具有相同的尺寸、分辨率、b</div></div><div class="screen_prices_container" ><div class="item_currency_selector"><h5>货币选择器</h5><ul><li class="active"><a href="?set_currency=USD" rel="nofollow">USD</a></li><li class=""><a href="?set_currency=CAD" rel="nofollow">CAD</a></li><li class=""><a href="?set_currency=GBP" rel="nofollow">GBP</a></li><li class=""><a href="?set_currency=EUR" rel="nofollow">EUR</a></li></ul></div><b class="main_price">$85.99</b><div class="combo_qty_price_container">$<span >78.99</span><span class="phrase">如果购物车中的总屏幕数为 2+ </span></div><;div class="product_os_sign">缺货</div><div class="click_on_button_below_to_be_notified_container">点击下面的按钮,当商品有货时收到通知.</div><div class="通知_me_button_container"><form name="notify_me" action="/English/" method="post"><input type="hidden" name="notify_me" value="H01-14XGAmatte1"><input type="hidden" name="section" value="notify_me"><input type="hidden" name="notificator_id" value="model==ASPIRE 1200||screens||H01-14XGAmatte1||notificator_def==def5~~14.1^^def6~~xga^^def7~~mtt^^backlight_type~~1b^^signal_connector~~1387225725^^backlight_connector~~0^^comments_for_customers~~^^ship_only_to~~0^^threeD~~^^ips~~^^touchscreen_panel~~^^mountings~~^^ac_size~~^^ac_weight~~^^ac_color~~^^shp_wght~~438^^scr_add_text~~####^^uk1~~^^uk2~~^^dsaqotw~~^^touch_screen~~^^digitizer~~^^digitizer_only~~^^glass_protector~~^^bare_screen~~^^assembly~~^^replacement_part_type~~lcd_screen||品牌==宏基"><button type="submit" value="submit" class="submitBtn_gray"><span>通知我</span></button></form></div><br/><p class="country_stock"><i class="small_flags usa"></i>Seattle, WA -<span class="out_of_stock">缺货</span></p><p class="country_stock"><i class="small_flags canada"></i>温哥华,BC -<span class="out_of_stock">缺货</span></p><p class="country_stock"><i class="small_flags england"><;/i>英国盖特威克 -
SQL:
SELECTt.v.value('@href','nvarchar(max)') as [URL Local],t.v.value('@tppabs','nvarchar(max)') as [URL Site]FROM @htmlXML.nodes('div/div') as t(v)
Thanks for your Tipssssssssssssssssssssssss....................................................................................................................................................................................................................................................................................................................................................................................i can in C# Start and end string select and send for sql to get inner text
There are several things to change to the HTML before it becomes XML.
For example text like (11.3"x8.4")
should be changed to (11.3"x8.4")
or (11.3 inch x8.4 inch)
And tags that don't have an end tag should be closed.
For example <foo bar="bla">
to <foo bar="bla"/>
For the example a shorter well formed xml.
(stackoverflow only allows up to 30000 characters)
declare @XML xml = N'<div class="h-product" itemtype="http://schema.org/Product" itemscope=""><div class="clearfix2" style="padding:0 10px"/><div class="notification"><div id="l_wizard_content"/><hr class="black"/><div class="screen_container"><div class="screen_image_and_zoom_cotainer"><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCB0" href="/img/screens/1000/LTN141XB-L02.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC9MVE4xNDFYQi1MMDIuanBn" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"/></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCA=" href="/img/screens/1000/LTN141XB-L02.jpg">Zoom [+]</a><br/>
<a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/30pinsCCFL.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"/></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/30pinsCCFL.jpg">Zoom [+]</a><br/>
<br clear="both"/><b>Item ID: 467454</b>
<div class="screen_specs_container "><div class="left_specs_container">Compatibility:&amp;nbsp;</div><div class="right_specs_container "><h4>Acer ASPIRE 1200</h4>
<div class="left_specs_container" data-filterLabel="Replacement Part Type:">Replacement Part Type</div><div class="right_specs_container spec_highlight">LCD Screen Only&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container" data-filterLabel="Size:">Size:&amp;nbsp;</div><div class="right_specs_container" title="c2l6ZQ==">14.1-inch Screen (11.3"x8.4")&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container" data-filterLabel="Resolution:">Resolution:&amp;nbsp;</div><div class="right_specs_container" title="cmVzb2x1dGlvbg==">XGA (1024x768)&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/WWPSXibVLkg?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container" data-filterLabel="Surface Type:">Surface Type:&amp;nbsp;</div><div class="right_specs_container" title="dHlwZQ=="><font color="red">Matte&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></font>
<div class="left_specs_container" style="display:none" data-filterLabel="Touchscreen Panel:">Touchscreen Panel:&amp;nbsp;</div><div class="right_specs_container" style="display:none">Not Included</div><div class="left_specs_container" data-filterLabel="Backlight type:">Backlight type:&amp;nbsp;</div><div class="right_specs_container" title="YmFja2xpZ2h0LXR5cGU=">CCFL 1-Bulb&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container">Video signal connector:&amp;nbsp;</div><div class="right_specs_container">30 pin CCFL screen&amp;nbsp;[<a target="blank" class="thickbox laptops" title="VmlkZW8gQ29ubmVjdG9y" href="/img/connectors/1_big/30pinsCCFL.jpg">image</a>]
<div class="left_specs_container">Condition:&amp;nbsp;</div><div class="right_specs_container">New Grade A+&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1243967715&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container">Warranty:&amp;nbsp;</div><div class="right_specs_container">3 Years</div><div class="left_specs_container" style="color:#f00">Note:&amp;nbsp;</div><div class="right_specs_container">Make sure new screen has same size, resolution, backlight as your old one!</div>
<div class="screen_prices_container"><div class="item_currency_selector"><h5>Currency selector</h5><ul><li class="active "><a href="?set_currency=USD" rel="nofollow">USD</a><li class=" "><a href="?set_currency=CAD" rel="nofollow">CAD</a><li class=" "><a href="?set_currency=GBP" rel="nofollow">GBP</a><li class=" "><a href="?set_currency=EUR" rel="nofollow">EUR</a>
<b class="main_price">$85.99</b><div class="combo_qty_price_container">$<span>78.99</span><span class="phrase">if total screens in cart 2+</span>
<div class="product_os_sign">Out of stock</div><div class="click_on_button_below_to_be_notified_container">Click on button below to be notified when the item back in-stock.</div><div class="notify_me_button_container"><form name="notify_me" action="/English/" method="post"><input type="hidden" name="notify_me" value="H01-14XGAmatte1"/><input type="hidden" name="section" value="notify_me"/><input type="hidden" name="notificator_id" value="model==ASPIRE 1200||screens||H01-14XGAmatte1||notificator_def==def5~~14.1^^def6~~xga^^def7~~mtt^^backlight_type~~1b^^signal_connector~~1387225725^^backlight_connector~~0^^comments_for_customers~~^^ship_only_to~~0^^threeD~~^^ips~~^^touchscreen_panel~~^^mountings~~^^ac_size~~^^ac_weight~~^^ac_color~~^^shp_wght~~438^^scr_add_text~~####^^uk1~~^^uk2~~^^dsaqotw~~^^touch_screen~~^^digitizer~~^^digitizer_only~~^^glass_protector~~^^bare_screen~~^^assembly~~^^replacement_part_type~~lcd_screen||brand==Acer"/><button type="submit" value="submit" class="submitBtn_gray"><span>NOTIFY ME</span>按钮></表单>
<br/><p class="country_stock"><i class="small_flags usa"/>Seattle, WA -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags canada"/>Vancouver, BC -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags england"/>Gatwick, UK -<span class="out_of_stock">Out of Stock</span></p>
<div class="currencies_and_shipping_cost_container"><div class="right_specs_container">$85.99 USD</div><div class="right_specs_container">$116.95 CAD</div><div class="right_specs_container">&amp;pound;69.2 GBP</div><div class="right_specs_container">&amp;euro;77.45 EUR</div>
<div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right"><img src="L2FfaW1hZ2VzL21haWwucG5n" alt="U2hhcmUgdGhpcyBpdGVtIHZpYSBlLW1haWw=" align="left"/>&amp;nbsp;<a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 Laptop LCD Screen 14.1-inch Screen (11.3 inch x8.4 inch) XGA (1024"x768") Matte CCFL 1-Bulb&amp;hash=467454">Share this item via e-mail</a>
<div style="clear:both"/><hr class="black"/><div class="screen_container"><div class="screen_image_and_zoom_cotainer"><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/LTN150XG_L08.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC9MVE4xNTBYR19MMDguanBn" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"/></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/LTN150XG_L08.jpg">Zoom [+]</a><br/>
<a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/30pinsCCFL.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"/></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/30pinsCCFL.jpg">Zoom [+]</a><br/>
<br clear="both"/><b>Item ID: 885550</b>
<div class="screen_specs_container "><div class="left_specs_container">Compatibility:&amp;nbsp;</div><div class="right_specs_container "><h4>Acer ASPIRE 1200</h4>
<div class="left_specs_container" data-filterLabel="Replacement Part Type:">Replacement Part Type</div><div class="right_specs_container spec_highlight">LCD Screen Only&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container" data-filterLabel="Size:">Size:&amp;nbsp;</div><div class="right_specs_container" title="c2l6ZQ==">15-inch Screen (12"x9")&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container" data-filterLabel="Resolution:">Resolution:&amp;nbsp;</div><div class="right_specs_container" title="cmVzb2x1dGlvbg==">XGA (1024x768)&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/WWPSXibVLkg?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container" data-filterLabel="Surface Type:">Surface Type:&amp;nbsp;</div><div class="right_specs_container" title="dHlwZQ=="><font color="red">Matte&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></font>
<div class="left_specs_container" style="display:none" data-filterLabel="Touchscreen Panel:">Touchscreen Panel:&amp;nbsp;</div><div class="right_specs_container" style="display:none">Not Included</div><div class="left_specs_container" data-filterLabel="Backlight type:">Backlight type:&amp;nbsp;</div><div class="right_specs_container" title="YmFja2xpZ2h0LXR5cGU=">CCFL 1-Bulb&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/4F0xPuz4Jnw?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container">Video signal connector:&amp;nbsp;</div><div class="right_specs_container">30 pin CCFL screen&amp;nbsp;[<a target="blank" class="thickbox laptops" title="VmlkZW8gQ29ubmVjdG9y" href="/img/connectors/1_big/30pinsCCFL.jpg">image</a>]
<div class="left_specs_container">Condition:&amp;nbsp;</div><div class="right_specs_container">New Grade A+&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1243967715&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container">Warranty:&amp;nbsp;</div><div class="right_specs_container">3 Years</div><div class="left_specs_container" style="color:#f00">Note:&amp;nbsp;</div><div class="right_specs_container">Make sure new screen has same size, resolution, backlight as your old one!</div>
<div class="screen_prices_container"><div class="item_currency_selector"><h5>Currency selector</h5><ul><li class="active "><a href="?set_currency=USD" rel="nofollow">USD</a><li class=" "><a href="?set_currency=CAD" rel="nofollow">CAD</a><li class=" "><a href="?set_currency=GBP" rel="nofollow">GBP</a><li class=" "><a href="?set_currency=EUR" rel="nofollow">EUR</a>
<b class="main_price">$109.99</b><div class="combo_qty_price_container">$<span>99.99</span><span class="phrase">if total screens in cart 2+</span>
<div class="product_os_sign">Out of stock</div><div class="click_on_button_below_to_be_notified_container">Click on button below to be notified when the item back in-stock.</div><div class="notify_me_button_container"><form name="notify_me" action="/English/" method="post"><input type="hidden" name="notify_me" value="V01-15XGAmatte1"/><input type="hidden" name="section" value="notify_me"/><input type="hidden" name="notificator_id" value="model==ASPIRE 1200||screens||V01-15XGAmatte1||notificator_def==def5~~15^^def6~~xga^^def7~~mtt^^backlight_type~~1b^^signal_connector~~1387225725^^backlight_connector~~0^^comments_for_customers~~^^ship_only_to~~0^^threeD~~^^ips~~^^touchscreen_panel~~^^mountings~~^^ac_size~~^^ac_weight~~^^ac_color~~^^shp_wght~~552^^scr_add_text~~####^^uk1~~^^uk2~~^^dsaqotw~~^^touch_screen~~^^digitizer~~^^digitizer_only~~^^glass_protector~~^^bare_screen~~^^assembly~~^^replacement_part_type~~lcd_screen||brand==Acer"/><button type="submit" value="submit" class="submitBtn_gray"/><span>NOTIFY ME</span></表单>
<br/><p class="country_stock"><i class="small_flags usa"/>Seattle, WA -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags canada"/>Vancouver, BC -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags england"/>Gatwick, UK -<span class="out_of_stock">Out of Stock</span></p>
<div class="currencies_and_shipping_cost_container"><div class="right_specs_container">$109.99 USD</div><div class="right_specs_container">$149.59 CAD</div><div class="right_specs_container">&amp;pound;88.51 GBP</div><div class="right_specs_container">&amp;euro;99.07 EUR</div>
<div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right"><img src="L2FfaW1hZ2VzL21haWwucG5n" alt="U2hhcmUgdGhpcyBpdGVtIHZpYSBlLW1haWw=" align="left"/>&amp;nbsp;<a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 Laptop LCD Screen 15-inch Screen (12x9) XGA (1024x768) Matte CCFL 1-Bulb&amp;hash=885550">Share this item via e-mail</a>
<div style="clear:both"/><hr class="black"/><div class="screen_container"><div class="screen_image_and_zoom_cotainer"><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/LTN150XG_L08.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC9MVE4xNTBYR19MMDguanBn" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"/></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/LTN150XG_L08.jpg">Zoom [+]</a><br/>
<a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/30pinsCCFL.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"/></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/30pinsCCFL.jpg">Zoom [+]</a><br/>
<br clear="both"/><b>Item ID: 753088</b>
<div class="screen_specs_container "><div class="left_specs_container">Compatibility:&amp;nbsp;</div><div class="right_specs_container "><h4>Acer ASPIRE 1200</h4>
<div class="left_specs_container" data-filterLabel="Replacement Part Type:">Replacement Part Type</div><div class="right_specs_container spec_highlight">LCD Screen Only&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1468010881&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container" data-filterLabel="Size:">Size:&amp;nbsp;</div><div class="right_specs_container" title="c2l6ZQ==">15-inch Screen (12"x9")&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/_zalTiJ1vFY?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container" data-filterLabel="Resolution:">Resolution:&amp;nbsp;</div><div class="right_specs_container" title="cmVzb2x1dGlvbg==">XGA (1024x768)&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/WWPSXibVLkg?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container" data-filterLabel="Surface Type:">Surface Type:&amp;nbsp;</div><div class="right_specs_container" title="dHlwZQ=="><font color="red">Glossy&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/gt_CSbMF-5o?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></font>
<div class="left_specs_container" style="display:none" data-filterLabel="Touchscreen Panel:">Touchscreen Panel:&amp;nbsp;</div><div class="right_specs_container" style="display:none">Not Included</div><div class="left_specs_container" data-filterLabel="Backlight type:">Backlight type:&amp;nbsp;</div><div class="right_specs_container" title="YmFja2xpZ2h0LXR5cGU=">CCFL 1-Bulb&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container">Video signal connector:&amp;nbsp;</div><div class="right_specs_container">30 pin CCFL screen&amp;nbsp;[<a target="blank" class="thickbox laptops" title="VmlkZW8gQ29ubmVjdG9y" href="/img/connectors/1_big/30pinsCCFL.jpg">image</a>]
<div class="left_specs_container">Condition:&amp;nbsp;</div><div class="right_specs_container">New Grade A+&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1243967715&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a>
<div class="left_specs_container">Warranty:&amp;nbsp;</div><div class="right_specs_container">3 Years</div><div class="left_specs_container" style="color:#f00">Note:&amp;nbsp;</div><div class="right_specs_container">Make sure new screen has same size, resolution, backlight as your old one!</div>
<div class="screen_prices_container"><div class="item_currency_selector"><h5>Currency selector</h5><ul><li class="active "><a href="?set_currency=USD" rel="nofollow">USD</a><li class=" "><a href="?set_currency=CAD" rel="nofollow">CAD</a><li class=" "><a href="?set_currency=GBP" rel="nofollow">GBP</a><li class=" "><a href="?set_currency=EUR" rel="nofollow">EUR</a>
<b class="main_price">$99.99</b><div class="combo_qty_price_container">$<span>89.99</span><span class="phrase">if total screens in cart 2+</span>
<div class="product_os_sign">Out of stock</div><div class="click_on_button_below_to_be_notified_container">Click on button below to be notified when the item back in-stock.</div><p class="country_stock"><i class="small_flags usa"/>Seattle, WA -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags canada"/>Vancouver, BC -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags england"/>Gatwick, UK -<span class="out_of_stock">Out of Stock</span></p>
<div class="currencies_and_shipping_cost_container"><div class="right_specs_container">$99.99 USD</div><div class="right_specs_container">$135.99 CAD</div><div class="right_specs_container">&amp;pound;80.47 GBP</div><div class="right_specs_container">&amp;euro;90.06 EUR</div>
<div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right"><img src="L2FfaW1hZ2VzL21haWwucG5n" alt="U2hhcmUgdGhpcyBpdGVtIHZpYSBlLW1haWw=" align="left"/>&amp;nbsp;<a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 Laptop LCD Screen 15-inch Screen (12x9) XGA (1024x768) Glossy CCFL 1-Bulb&amp;hash=753088">Share this item via e-mail</a>
</div>';
To get what you want from it, one should learn about the XPATH syntax.
Although SQL Server uses the XQuery, which is a superset of XPATH.
This example gets content from the <a>
tags.
SELECTx.node.value('@href','nvarchar(max)') as [URL href],x.node.value('@title','nvarchar(max)') as [URL title]from @XML.nodes('//a') x(node);
how to get inner texts Divs in in sql this example?
exam: size : 14.1-inch Screen (11.3"x8.4")
this is my code:
Declare @htmlXML as xml = N' <div class="h-product" itemtype="http://schema.org/Product" itemscope="" ><div class="clearfix2" style="padding:0 10px"></div><div class="notification"><<div id="l_wizard_content"></div></div><hr class="black"><div class="screen_container"><div class="screen_image_and_zoom_cotainer"><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCB0" href="/img/screens/1000/LTN141XB-L02.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC9MVE4xNDFYQi1MMDIuanBn" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCA=" href="/img/screens/1000/LTN141XB-L02.jpg">Zoom [+]</a><br /></div><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/30pinsCCFL.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/30pinsCCFL.jpg">Zoom [+]</a><br /></div><br clear="both"><b>Item ID: 467454 </b></div><div class="screen_specs_container " ><div class="left_specs_container">Compatibility:&amp;nbsp;</div><div class="right_specs_container " ><h4 >Acer ASPIRE 1200</h4></div><div class="left_specs_container" data-filterLabel="Replacement Part Type:">Replacement Part Type</div><div class="right_specs_container spec_highlight"> LCD Screen Only&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container" data-filterLabel="Size:">Size:&amp;nbsp;</div><div class="right_specs_container" title="c2l6ZQ==">14.1-inch Screen (11.3"x8.4")&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></div><div class="left_specs_container" data-filterLabel="Resolution:">Resolution:&amp;nbsp;</div><div class="right_specs_container" title="cmVzb2x1dGlvbg==">XGA (1024x768)&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/WWPSXibVLkg?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></div><div class="left_specs_container" data-filterLabel="Surface Type:">Surface Type:&amp;nbsp;</div><div class="right_specs_container" title="dHlwZQ=="><font color="red">Matte&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></font></div><div class="left_specs_container" style="display:none" data-filterLabel="Touchscreen Panel:">Touchscreen Panel:&amp;nbsp;</div><div class="right_specs_container" style="display:none">Not Included</div><div class="left_specs_container" data-filterLabel="Backlight type:">Backlight type:&amp;nbsp;</div><div class="right_specs_container" title="YmFja2xpZ2h0LXR5cGU=">CCFL 1-Bulb&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></div><div class="left_specs_container">Video signal connector:&amp;nbsp;</div><div class="right_specs_container">30 pin CCFL screen&amp;nbsp;[<a target="blank" class="thickbox laptops" title="VmlkZW8gQ29ubmVjdG9y" href="/img/connectors/1_big/30pinsCCFL.jpg">image</a>]</div><div class="left_specs_container">Condition:&amp;nbsp;</div><div class="right_specs_container">New Grade A+&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1243967715&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container">Warranty:&amp;nbsp;</div><div class="right_specs_container">3 Years</div><div class="left_specs_container" style="color:#f00">Note:&amp;nbsp;</div><div class="right_specs_container">Make sure new screen has same size, resolution, backlight as your old one!</div></div><div class="screen_prices_container" > <div class="item_currency_selector"><h5>Currency selector </h5><ul><li class="active "><a href="?set_currency=USD" rel="nofollow">USD</a></li><li class=" "><a href="?set_currency=CAD" rel="nofollow">CAD</a></li><li class=" "><a href="?set_currency=GBP" rel="nofollow">GBP</a></li><li class=" "><a href="?set_currency=EUR" rel="nofollow">EUR</a></li></ul></div><b class="main_price">$85.99</b><div class="combo_qty_price_container">$<span >78.99</span><span class="phrase">if total screens in cart 2+ </span></div><div class="product_os_sign">Out of stock</div><div class="click_on_button_below_to_be_notified_container">Click on button below to be notified when the item back in-stock.</div><div class="notify_me_button_container"><form name="notify_me" action="/English/" method="post"><input type="hidden" name="notify_me" value="H01-14XGAmatte1"><input type="hidden" name="section" value="notify_me"><input type="hidden" name="notificator_id" value="model==ASPIRE 1200||screens||H01-14XGAmatte1||notificator_def==def5~~14.1^^def6~~xga^^def7~~mtt^^backlight_type~~1b^^signal_connector~~1387225725^^backlight_connector~~0^^comments_for_customers~~^^ship_only_to~~0^^threeD~~^^ips~~^^touchscreen_panel~~^^mountings~~^^ac_size~~^^ac_weight~~^^ac_color~~^^shp_wght~~438^^scr_add_text~~####^^uk1~~^^uk2~~^^dsaqotw~~^^touch_screen~~^^digitizer~~^^digitizer_only~~^^glass_protector~~^^bare_screen~~^^assembly~~^^replacement_part_type~~lcd_screen||brand==Acer"><button type="submit" value="submit" class="submitBtn_gray"><span>NOTIFY ME</span></button></form></div><br /><p class="country_stock"><i class="small_flags usa"></i>Seattle, WA -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags canada"></i>Vancouver, BC -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags england"></i>Gatwick, UK -<span class="out_of_stock">Out of Stock</span></p></div><div class="currencies_and_shipping_cost_container"> <div class="right_specs_container">$85.99 USD </div><div class="right_specs_container">$116.95 CAD</div><div class="right_specs_container">&amp;pound;69.2 GBP </div><div class="right_specs_container">&amp;euro;77.45 EUR </div></div><div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right"><img src="L2FfaW1hZ2VzL21haWwucG5n" alt="U2hhcmUgdGhpcyBpdGVtIHZpYSBlLW1haWw=" align="left"/> &amp;nbsp; <a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 Laptop LCD Screen 14.1-inch Screen (11.3"x8.4") XGA (1024x768) Matte CCFL 1-Bulb&amp;hash=467454">Share this item via e-mail</a></div></div><div style="clear:both"></div><hr class="black"><div class="screen_container"><div class="screen_image_and_zoom_cotainer"><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/LTN150XG_L08.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC9MVE4xNTBYR19MMDguanBn" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/LTN150XG_L08.jpg">Zoom [+]</a><br /></div><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/30pinsCCFL.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/30pinsCCFL.jpg">Zoom [+]</a><br /></div><br clear="both"><b>Item ID: 885550 </b></div><div class="screen_specs_container " ><div class="left_specs_container">Compatibility:&amp;nbsp;</div><div class="right_specs_container " ><h4 >Acer ASPIRE 1200</h4></div><div class="left_specs_container" data-filterLabel="Replacement Part Type:">Replacement Part Type</div><div class="right_specs_container spec_highlight"> LCD Screen Only&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container" data-filterLabel="Size:">Size:&amp;nbsp;</div><div class="right_specs_container" title="c2l6ZQ==">15-inch Screen (12"x9")&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></div><div class="left_specs_container" data-filterLabel="Resolution:">Resolution:&amp;nbsp;</div><div class="right_specs_container" title="cmVzb2x1dGlvbg==">XGA (1024x768)&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/WWPSXibVLkg?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></div><div class="left_specs_container" data-filterLabel="Surface Type:">Surface Type:&amp;nbsp;</div><div class="right_specs_container" title="dHlwZQ=="><font color="red">Matte&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></font></div><div class="left_specs_container" style="display:none" data-filterLabel="Touchscreen Panel:">Touchscreen Panel:&amp;nbsp;</div><div class="right_specs_container" style="display:none">Not Included</div><div class="left_specs_container" data-filterLabel="Backlight type:">Backlight type:&amp;nbsp;</div><div class="right_specs_container" title="YmFja2xpZ2h0LXR5cGU=">CCFL 1-Bulb&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/4F0xPuz4Jnw?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></div><div class="left_specs_container">Video signal connector:&amp;nbsp;</div><div class="right_specs_container">30 pin CCFL screen&amp;nbsp;[<a target="blank" class="thickbox laptops" title="VmlkZW8gQ29ubmVjdG9y" href="/img/connectors/1_big/30pinsCCFL.jpg">image</a>]</div><div class="left_specs_container">Condition:&amp;nbsp;</div><div class="right_specs_container">New Grade A+&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1243967715&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container">Warranty:&amp;nbsp;</div><div class="right_specs_container">3 Years</div><div class="left_specs_container" style="color:#f00">Note:&amp;nbsp;</div><div class="right_specs_container">Make sure new screen has same size, resolution, backlight as your old one!</div></div><div class="screen_prices_container" > <div class="item_currency_selector"><h5>Currency selector </h5><ul><li class="active "><a href="?set_currency=USD" rel="nofollow">USD</a></li><li class=" "><a href="?set_currency=CAD" rel="nofollow">CAD</a></li><li class=" "><a href="?set_currency=GBP" rel="nofollow">GBP</a></li><li class=" "><a href="?set_currency=EUR" rel="nofollow">EUR</a></li></ul></div><b class="main_price">$109.99</b><div class="combo_qty_price_container">$<span >99.99</span><span class="phrase">if total screens in cart 2+ </span></div><div class="product_os_sign">Out of stock</div><div class="click_on_button_below_to_be_notified_container">Click on button below to be notified when the item back in-stock.</div><div class="notify_me_button_container"><form name="notify_me" action="/English/" method="post"><input type="hidden" name="notify_me" value="V01-15XGAmatte1"><input type="hidden" name="section" value="notify_me"><input type="hidden" name="notificator_id" value="model==ASPIRE 1200||screens||V01-15XGAmatte1||notificator_def==def5~~15^^def6~~xga^^def7~~mtt^^backlight_type~~1b^^signal_connector~~1387225725^^backlight_connector~~0^^comments_for_customers~~^^ship_only_to~~0^^threeD~~^^ips~~^^touchscreen_panel~~^^mountings~~^^ac_size~~^^ac_weight~~^^ac_color~~^^shp_wght~~552^^scr_add_text~~####^^uk1~~^^uk2~~^^dsaqotw~~^^touch_screen~~^^digitizer~~^^digitizer_only~~^^glass_protector~~^^bare_screen~~^^assembly~~^^replacement_part_type~~lcd_screen||brand==Acer"><button type="submit" value="submit" class="submitBtn_gray"><span>NOTIFY ME</span></button></form></div><br /><p class="country_stock"><i class="small_flags usa"></i>Seattle, WA -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags canada"></i>Vancouver, BC -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags england"></i>Gatwick, UK -<span class="out_of_stock">Out of Stock</span></p></div><div class="currencies_and_shipping_cost_container"> <div class="right_specs_container">$109.99 USD </div><div class="right_specs_container">$149.59 CAD </div><div class="right_specs_container">&amp;pound;88.51 GBP </div><div class="right_specs_container">&amp;euro;99.07 EUR </div></div><div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right"><img src="L2FfaW1hZ2VzL21haWwucG5n" alt="U2hhcmUgdGhpcyBpdGVtIHZpYSBlLW1haWw=" align="left"/> &amp;nbsp; <a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 Laptop LCD Screen 15-inch Screen (12"x9") XGA (1024x768) Matte CCFL 1-Bulb&amp;hash=885550">Share this item via e-mail</a></div></div><div style="clear:both"></div><hr class="black"><div class="screen_container"><div class="screen_image_and_zoom_cotainer"><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/LTN150XG_L08.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC9MVE4xNTBYR19MMDguanBn" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/LTN150XG_L08.jpg">Zoom [+]</a><br /></div><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/30pinsCCFL.jpg"><img src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/30pinsCCFL.jpg">Zoom [+]</a><br /></div><br clear="both"><b>Item ID: 753088 </b></div><div class="screen_specs_container " ><div class="left_specs_container">Compatibility:&amp;nbsp;</div><div class="right_specs_container " ><h4 >Acer ASPIRE 1200</h4></div><div class="left_specs_container" data-filterLabel="Replacement Part Type:">Replacement Part Type</div><div class="right_specs_container spec_highlight"> LCD Screen Only&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1468010881&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container" data-filterLabel="Size:">Size:&amp;nbsp;</div><div class="right_specs_container" title="c2l6ZQ==">15-inch Screen (12"x9")&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/_zalTiJ1vFY?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></div><div class="left_specs_container" data-filterLabel="Resolution:">Resolution:&amp;nbsp;</div><div class="right_specs_container" title="cmVzb2x1dGlvbg==">XGA (1024x768)&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/WWPSXibVLkg?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></div><div class="left_specs_container" data-filterLabel="Surface Type:">Surface Type:&amp;nbsp;</div><div class="right_specs_container" title="dHlwZQ=="><font color="red">Glossy&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/gt_CSbMF-5o?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></font></div><div class="left_specs_container" style="display:none" data-filterLabel="Touchscreen Panel:">Touchscreen Panel:&amp;nbsp;</div><div class="right_specs_container" style="display:none">Not Included</div><div class="left_specs_container" data-filterLabel="Backlight type:">Backlight type:&amp;nbsp;</div><div class="right_specs_container" title="YmFja2xpZ2h0LXR5cGU=">CCFL 1-Bulb&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></div><div class="left_specs_container">Video signal connector:&amp;nbsp;</div><div class="right_specs_container">30 pin CCFL screen&amp;nbsp;[<a target="blank" class="thickbox laptops" title="VmlkZW8gQ29ubmVjdG9y" href="/img/connectors/1_big/30pinsCCFL.jpg">image</a>]</div><div class="left_specs_container">Condition:&amp;nbsp;</div><div class="right_specs_container">New Grade A+&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1243967715&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container">Warranty:&amp;nbsp;</div><div class="right_specs_container">3 Years</div><div class="left_specs_container" style="color:#f00">Note:&amp;nbsp;</div><div class="right_specs_container">Make sure new screen has same size, resolution, backlight as your old one!</div></div><div class="screen_prices_container" > <div class="item_currency_selector"><h5>Currency selector </h5><ul><li class="active "><a href="?set_currency=USD" rel="nofollow">USD</a></li><li class=" "><a href="?set_currency=CAD" rel="nofollow">CAD</a></li><li class=" "><a href="?set_currency=GBP" rel="nofollow">GBP</a></li><li class=" "><a href="?set_currency=EUR" rel="nofollow">EUR</a></li></ul></div><b class="main_price">$99.99</b><div class="combo_qty_price_container">$<span >89.99</span><span class="phrase">if total screens in cart 2+ </span></div><div class="product_os_sign">Out of stock</div><div class="click_on_button_below_to_be_notified_container">Click on button below to be notified when the item back in-stock.</div><div class="notify_me_button_container"><form name="notify_me" action="/English/" method="post"><input type="hidden" name="notify_me" value="V02-15XGAgloss1"><input type="hidden" name="section" value="notify_me"><input type="hidden" name="notificator_id" value="model==ASPIRE 1200||screens||V02-15XGAgloss1||notificator_def==def5~~15^^def6~~xga^^def7~~gls^^backlight_type~~1b^^signal_connector~~1387225725^^backlight_connector~~0^^comments_for_customers~~^^ship_only_to~~0^^threeD~~^^ips~~^^touchscreen_panel~~^^mountings~~^^ac_size~~^^ac_weight~~^^ac_color~~^^shp_wght~~552^^scr_add_text~~####^^uk1~~^^uk2~~^^dsaqotw~~^^touch_screen~~^^digitizer~~^^digitizer_only~~^^glass_protector~~^^bare_screen~~^^assembly~~^^replacement_part_type~~lcd_screen||brand==Acer"><button type="submit" value="submit" class="submitBtn_gray"><span>NOTIFY ME</span></button></form></div><br /><p class="country_stock"><i class="small_flags usa"></i>Seattle, WA -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags canada"></i>Vancouver, BC -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags england"></i>Gatwick, UK -<span class="out_of_stock">Out of Stock</span></p></div><div class="currencies_and_shipping_cost_container"> <div class="right_specs_container">$99.99 USD </div><div class="right_specs_container">$135.99 CAD </div><div class="right_specs_container">&amp;pound;80.47 GBP </div><div class="right_specs_container">&amp;euro;90.06 EUR </div></div><div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right"><img src="L2FfaW1hZ2VzL21haWwucG5n" alt="U2hhcmUgdGhpcyBpdGVtIHZpYSBlLW1haWw=" align="left"/> &amp;nbsp; <a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 Laptop LCD Screen 15-inch Screen (12"x9") XGA (1024x768) Glossy CCFL 1-Bulb&amp;hash=753088">Share this item via e-mail</a></div></div><div style="clear:both"></div><hr class="black"><div class="screen_container"><div class="screen_image_and_zoom_cotainer"><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/LP150E07_A3K1.jpg"><img itemprop="image" class="u-photo" src="L2ltZy9zY3JlZW5zLzEzOC9MUDE1MEUwN19BM0sxLmpwZw==" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/LP150E07_A3K1.jpg">Zoom [+]</a><br /></div><a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/30pinsCCFL.jpg"><img itemprop="image" class="u-photo" src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50"></a><div class="screen_zoom_container"><a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/30pinsCCFL.jpg">Zoom [+]</a><br /></div><br clear="both"><b>Item ID: 308113 </b></div><div class="screen_specs_container " ><div class="left_specs_container">Compatibility:&amp;nbsp;</div><div class="right_specs_container " ><h4 itemprop="model">Acer ASPIRE 1200</h4></div><div class="left_specs_container" data-filterLabel="Replacement Part Type:">Replacement Part Type</div><div class="right_specs_container spec_highlight"> LCD Screen Only&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1468010881&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container" data-filterLabel="Size:">Size:&amp;nbsp;</div><div class="right_specs_container" title="c2l6ZQ==">15-inch Screen (12"x9")&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/_zalTiJ1vFY?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></div><div class="left_specs_container" data-filterLabel="Resolution:">Resolution:&amp;nbsp;</div><div class="right_specs_container" title="cmVzb2x1dGlvbg==">SXGA (1400x1050)&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/WWPSXibVLkg?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></div><div class="left_specs_container" data-filterLabel="Surface Type:">Surface Type:&amp;nbsp;</div><div class="right_specs_container" title="dHlwZQ=="><font color="red">Matte&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/gt_CSbMF-5o?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></font></div><div class="left_specs_container" style="display:none" data-filterLabel="Touchscreen Panel:">Touchscreen Panel:&amp;nbsp;</div><div class="right_specs_container" style="display:none">Not Included</div><div class="left_specs_container" data-filterLabel="Backlight type:">Backlight type:&amp;nbsp;</div><div class="right_specs_container" title="YmFja2xpZ2h0LXR5cGU=">CCFL 1-Bulb&amp;nbsp;<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/4F0xPuz4Jnw?autoplay=1"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" /></a></div><div class="left_specs_container">Video signal connector:&amp;nbsp;</div><div class="right_specs_container">30 pin CCFL screen&amp;nbsp;[<a target="blank" class="thickbox laptops" title="VmlkZW8gQ29ubmVjdG9y" href="/img/connectors/1_big/30pinsCCFL.jpg">image</a>]</div><div class="left_specs_container">Condition:&amp;nbsp;</div><div class="right_specs_container">New Grade A+&amp;nbsp;<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1243967715&amp;height=500&amp;width=800"><img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm"/></a></div><div class="left_specs_container">Warranty:&amp;nbsp;</div><div class="right_specs_container">3 Years</div><div class="left_specs_container" style="color:#f00">Note:&amp;nbsp;</div><div class="right_specs_container">Make sure new screen has same size, resolution, backlight as your old one!</div></div><div class="screen_prices_container" itemprop="offers" itemtype="http://schema.org/Offer" itemscope itemtype="http://data-vocabulary.org/Offer" > <div class="item_currency_selector"><h5>Currency selector </h5><ul><li class="active "><a href="?set_currency=USD" rel="nofollow">USD</a></li><li class=" "><a href="?set_currency=CAD" rel="nofollow">CAD</a></li><li class=" "><a href="?set_currency=GBP" rel="nofollow">GBP</a></li><li class=" "><a href="?set_currency=EUR" rel="nofollow">EUR</a></li></ul></div><div class="clearance_price_container_only">$79.99 </div><div class="clearance_word_only">CLEARANCE </div><div class="product_os_sign">Out of stock</div><div class="click_on_button_below_to_be_notified_container">Click on button below to be notified when the item back in-stock.</div><div class="notify_me_button_container"><form name="notify_me" action="/English/" method="post"><input type="hidden" name="notify_me" value="V06-15-SXGAmatte1"><input type="hidden" name="section" value="notify_me"><input type="hidden" name="notificator_id" value="model==ASPIRE 1200||screens||V06-15-SXGAmatte1||notificator_def==def5~~15^^def6~~sxga2^^def7~~mtt^^backlight_type~~1b^^signal_connector~~1387225725^^backlight_connector~~0^^comments_for_customers~~^^ship_only_to~~0^^threeD~~^^ips~~^^touchscreen_panel~~^^mountings~~^^ac_size~~^^ac_weight~~^^ac_color~~^^shp_wght~~600^^scr_add_text~~####^^uk1~~^^uk2~~^^dsaqotw~~^^touch_screen~~^^digitizer~~^^digitizer_only~~^^glass_protector~~^^bare_screen~~^^assembly~~^^replacement_part_type~~lcd_screen||brand==Acer"><button type="submit" value="submit" class="submitBtn_gray"><span>NOTIFY ME</span></button></form></div><br /><p class="country_stock"><i class="small_flags usa"></i>Seattle, WA -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags canada"></i>Vancouver, BC -<span class="out_of_stock">Out of Stock</span></p><p class="country_stock"><i class="small_flags england"></i>Gatwick, UK -<span class="out_of_stock">Out of Stock</span></p><meta itemprop="price" content="89.99"/><meta itemprop="priceCurrency" content="USD"/><meta itemprop="itemCondition" itemtype="http://schema.org/OfferItemCondition" content="http://schema.org/NewCondition"/><meta itemprop="availability" content="OutOfStock" /></div><div class="currencies_and_shipping_cost_container"> <div class="right_specs_container">$79.99 USD </div><div class="right_specs_container">$108.79 CAD </div><div class="right_specs_container">&amp;pound;64.37 GBP </div><div class="right_specs_container">&amp;euro;72.05 EUR </div></div><div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right"><img src="L2FfaW1hZ2VzL21haWwucG5n" alt="U2hhcmUgdGhpcyBpdGVtIHZpYSBlLW1haWw=" align="left"/> &amp;nbsp; <a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 Laptop LCD Screen 15-inch Screen (12"x9") SXGA (1400x1050) Matte CCFL 1-Bulb&amp;hash=308113">Share this item via e-mail</a></div><meta itemprop="description" content="Acer ASPIRE 1200 Replacement Screen 15-inch Screen (12"x9")" /></div><div style="clear:both"></div></div>'
SQL:
SELECT
t.v.value('@href','nvarchar(max)') as [URL Local],
t.v.value('@tppabs','nvarchar(max)') as [URL Site]
FROM @htmlXML.nodes('div/div') as t(v)
Thanks for your Tipssssssssssssssssssssssss.................................................................................................................................................................................................................................................................................................................................................................................... i can in C# Start and end string select and send for sql to get inner text
There are several things to change to the HTML before it becomes XML.
For example text like (11.3"x8.4")
should be changed to (11.3"x8.4")
or (11.3 inch x8.4 inch)
And tags that don't have an end tag should be closed.
For example <foo bar="bla">
to <foo bar="bla"/>
For the example a shorter well formed xml.
(stackoverflow only allows up to 30000 characters)
declare @XML xml = N'
<div class="h-product" itemtype="http://schema.org/Product" itemscope="">
<div class="clearfix2" style="padding:0 10px" />
<div class="notification">
<div id="l_wizard_content" />
</div>
<hr class="black" />
<div class="screen_container">
<div class="screen_image_and_zoom_cotainer">
<a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCB0" href="/img/screens/1000/LTN141XB-L02.jpg">
<img src="L2ltZy9zY3JlZW5zLzEzOC9MVE4xNDFYQi1MMDIuanBn" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" />
</a>
<div class="screen_zoom_container">
<a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCA=" href="/img/screens/1000/LTN141XB-L02.jpg">Zoom [+]</a>
<br />
</div>
<a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/30pinsCCFL.jpg">
<img src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" />
</a>
<div class="screen_zoom_container">
<a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/30pinsCCFL.jpg">Zoom [+]</a>
<br />
</div>
<br clear="both" />
<b>Item ID: 467454</b>
</div>
<div class="screen_specs_container ">
<div class="left_specs_container">Compatibility:&amp;nbsp;</div>
<div class="right_specs_container ">
<h4>Acer ASPIRE 1200</h4>
</div>
<div class="left_specs_container" data-filterLabel="Replacement Part Type:">Replacement Part Type</div>
<div class="right_specs_container spec_highlight">
LCD Screen Only&amp;nbsp;
<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container" data-filterLabel="Size:">Size:&amp;nbsp;</div>
<div class="right_specs_container" title="c2l6ZQ==">
14.1-inch Screen (11.3"x8.4")&amp;nbsp;
<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container" data-filterLabel="Resolution:">Resolution:&amp;nbsp;</div>
<div class="right_specs_container" title="cmVzb2x1dGlvbg==">
XGA (1024x768)&amp;nbsp;
<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/WWPSXibVLkg?autoplay=1">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container" data-filterLabel="Surface Type:">Surface Type:&amp;nbsp;</div>
<div class="right_specs_container" title="dHlwZQ==">
<font color="red">
Matte&amp;nbsp;
<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</font>
</div>
<div class="left_specs_container" style="display:none" data-filterLabel="Touchscreen Panel:">Touchscreen Panel:&amp;nbsp;</div>
<div class="right_specs_container" style="display:none">Not Included</div>
<div class="left_specs_container" data-filterLabel="Backlight type:">Backlight type:&amp;nbsp;</div>
<div class="right_specs_container" title="YmFja2xpZ2h0LXR5cGU=">
CCFL 1-Bulb&amp;nbsp;
<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container">Video signal connector:&amp;nbsp;</div>
<div class="right_specs_container">
30 pin CCFL screen&amp;nbsp;[
<a target="blank" class="thickbox laptops" title="VmlkZW8gQ29ubmVjdG9y" href="/img/connectors/1_big/30pinsCCFL.jpg">image</a>
]
</div>
<div class="left_specs_container">Condition:&amp;nbsp;</div>
<div class="right_specs_container">
New Grade A+&amp;nbsp;
<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1243967715&amp;height=500&amp;width=800">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container">Warranty:&amp;nbsp;</div>
<div class="right_specs_container">3 Years</div>
<div class="left_specs_container" style="color:#f00">Note:&amp;nbsp;</div>
<div class="right_specs_container">Make sure new screen has same size, resolution, backlight as your old one!</div>
</div>
<div class="screen_prices_container">
<div class="item_currency_selector">
<h5>Currency selector</h5>
<ul>
<li class="active ">
<a href="?set_currency=USD" rel="nofollow">USD</a>
</li>
<li class=" ">
<a href="?set_currency=CAD" rel="nofollow">CAD</a>
</li>
<li class=" ">
<a href="?set_currency=GBP" rel="nofollow">GBP</a>
</li>
<li class=" ">
<a href="?set_currency=EUR" rel="nofollow">EUR</a>
</li>
</ul>
</div>
<b class="main_price">$85.99</b>
<div class="combo_qty_price_container">
$
<span>78.99</span>
<span class="phrase">if total screens in cart 2+</span>
</div>
<div class="product_os_sign">Out of stock</div>
<div class="click_on_button_below_to_be_notified_container">Click on button below to be notified when the item back in-stock.</div>
<div class="notify_me_button_container">
<form name="notify_me" action="/English/" method="post">
<input type="hidden" name="notify_me" value="H01-14XGAmatte1" />
<input type="hidden" name="section" value="notify_me" />
<input type="hidden" name="notificator_id" value="model==ASPIRE 1200||screens||H01-14XGAmatte1||notificator_def==def5~~14.1^^def6~~xga^^def7~~mtt^^backlight_type~~1b^^signal_connector~~1387225725^^backlight_connector~~0^^comments_for_customers~~^^ship_only_to~~0^^threeD~~^^ips~~^^touchscreen_panel~~^^mountings~~^^ac_size~~^^ac_weight~~^^ac_color~~^^shp_wght~~438^^scr_add_text~~####^^uk1~~^^uk2~~^^dsaqotw~~^^touch_screen~~^^digitizer~~^^digitizer_only~~^^glass_protector~~^^bare_screen~~^^assembly~~^^replacement_part_type~~lcd_screen||brand==Acer" />
<button type="submit" value="submit" class="submitBtn_gray">
<span>NOTIFY ME</span>
</button>
</form>
</div>
<br />
<p class="country_stock">
<i class="small_flags usa" />
Seattle, WA -
<span class="out_of_stock">Out of Stock</span>
</p>
<p class="country_stock">
<i class="small_flags canada" />
Vancouver, BC -
<span class="out_of_stock">Out of Stock</span>
</p>
<p class="country_stock">
<i class="small_flags england" />
Gatwick, UK -
<span class="out_of_stock">Out of Stock</span>
</p>
</div>
<div class="currencies_and_shipping_cost_container">
<div class="right_specs_container">$85.99 USD</div>
<div class="right_specs_container">$116.95 CAD</div>
<div class="right_specs_container">&amp;pound;69.2 GBP</div>
<div class="right_specs_container">&amp;euro;77.45 EUR</div>
</div>
<div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right">
<img src="L2FfaW1hZ2VzL21haWwucG5n" alt="U2hhcmUgdGhpcyBpdGVtIHZpYSBlLW1haWw=" align="left" />
&amp;nbsp;
<a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 Laptop LCD Screen 14.1-inch Screen (11.3 inch x8.4 inch) XGA (1024"x768") Matte CCFL 1-Bulb&amp;hash=467454">Share this item via e-mail</a>
</div>
</div>
<div style="clear:both" />
<hr class="black" />
<div class="screen_container">
<div class="screen_image_and_zoom_cotainer">
<a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/LTN150XG_L08.jpg">
<img src="L2ltZy9zY3JlZW5zLzEzOC9MVE4xNTBYR19MMDguanBn" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" />
</a>
<div class="screen_zoom_container">
<a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/LTN150XG_L08.jpg">Zoom [+]</a>
<br />
</div>
<a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/30pinsCCFL.jpg">
<img src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" />
</a>
<div class="screen_zoom_container">
<a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/30pinsCCFL.jpg">Zoom [+]</a>
<br />
</div>
<br clear="both" />
<b>Item ID: 885550</b>
</div>
<div class="screen_specs_container ">
<div class="left_specs_container">Compatibility:&amp;nbsp;</div>
<div class="right_specs_container ">
<h4>Acer ASPIRE 1200</h4>
</div>
<div class="left_specs_container" data-filterLabel="Replacement Part Type:">Replacement Part Type</div>
<div class="right_specs_container spec_highlight">
LCD Screen Only&amp;nbsp;
<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container" data-filterLabel="Size:">Size:&amp;nbsp;</div>
<div class="right_specs_container" title="c2l6ZQ==">
15-inch Screen (12"x9")&amp;nbsp;
<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container" data-filterLabel="Resolution:">Resolution:&amp;nbsp;</div>
<div class="right_specs_container" title="cmVzb2x1dGlvbg==">
XGA (1024x768)&amp;nbsp;
<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/WWPSXibVLkg?autoplay=1">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container" data-filterLabel="Surface Type:">Surface Type:&amp;nbsp;</div>
<div class="right_specs_container" title="dHlwZQ==">
<font color="red">
Matte&amp;nbsp;
<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</font>
</div>
<div class="left_specs_container" style="display:none" data-filterLabel="Touchscreen Panel:">Touchscreen Panel:&amp;nbsp;</div>
<div class="right_specs_container" style="display:none">Not Included</div>
<div class="left_specs_container" data-filterLabel="Backlight type:">Backlight type:&amp;nbsp;</div>
<div class="right_specs_container" title="YmFja2xpZ2h0LXR5cGU=">
CCFL 1-Bulb&amp;nbsp;
<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/4F0xPuz4Jnw?autoplay=1">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container">Video signal connector:&amp;nbsp;</div>
<div class="right_specs_container">
30 pin CCFL screen&amp;nbsp;[
<a target="blank" class="thickbox laptops" title="VmlkZW8gQ29ubmVjdG9y" href="/img/connectors/1_big/30pinsCCFL.jpg">image</a>
]
</div>
<div class="left_specs_container">Condition:&amp;nbsp;</div>
<div class="right_specs_container">
New Grade A+&amp;nbsp;
<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1243967715&amp;height=500&amp;width=800">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container">Warranty:&amp;nbsp;</div>
<div class="right_specs_container">3 Years</div>
<div class="left_specs_container" style="color:#f00">Note:&amp;nbsp;</div>
<div class="right_specs_container">Make sure new screen has same size, resolution, backlight as your old one!</div>
</div>
<div class="screen_prices_container">
<div class="item_currency_selector">
<h5>Currency selector</h5>
<ul>
<li class="active ">
<a href="?set_currency=USD" rel="nofollow">USD</a>
</li>
<li class=" ">
<a href="?set_currency=CAD" rel="nofollow">CAD</a>
</li>
<li class=" ">
<a href="?set_currency=GBP" rel="nofollow">GBP</a>
</li>
<li class=" ">
<a href="?set_currency=EUR" rel="nofollow">EUR</a>
</li>
</ul>
</div>
<b class="main_price">$109.99</b>
<div class="combo_qty_price_container">
$
<span>99.99</span>
<span class="phrase">if total screens in cart 2+</span>
</div>
<div class="product_os_sign">Out of stock</div>
<div class="click_on_button_below_to_be_notified_container">Click on button below to be notified when the item back in-stock.</div>
<div class="notify_me_button_container">
<form name="notify_me" action="/English/" method="post">
<input type="hidden" name="notify_me" value="V01-15XGAmatte1" />
<input type="hidden" name="section" value="notify_me" />
<input type="hidden" name="notificator_id" value="model==ASPIRE 1200||screens||V01-15XGAmatte1||notificator_def==def5~~15^^def6~~xga^^def7~~mtt^^backlight_type~~1b^^signal_connector~~1387225725^^backlight_connector~~0^^comments_for_customers~~^^ship_only_to~~0^^threeD~~^^ips~~^^touchscreen_panel~~^^mountings~~^^ac_size~~^^ac_weight~~^^ac_color~~^^shp_wght~~552^^scr_add_text~~####^^uk1~~^^uk2~~^^dsaqotw~~^^touch_screen~~^^digitizer~~^^digitizer_only~~^^glass_protector~~^^bare_screen~~^^assembly~~^^replacement_part_type~~lcd_screen||brand==Acer" />
<button type="submit" value="submit" class="submitBtn_gray" />
<span>NOTIFY ME</span>
</form>
</div>
<br />
<p class="country_stock">
<i class="small_flags usa" />
Seattle, WA -
<span class="out_of_stock">Out of Stock</span>
</p>
<p class="country_stock">
<i class="small_flags canada" />
Vancouver, BC -
<span class="out_of_stock">Out of Stock</span>
</p>
<p class="country_stock">
<i class="small_flags england" />
Gatwick, UK -
<span class="out_of_stock">Out of Stock</span>
</p>
</div>
<div class="currencies_and_shipping_cost_container">
<div class="right_specs_container">$109.99 USD</div>
<div class="right_specs_container">$149.59 CAD</div>
<div class="right_specs_container">&amp;pound;88.51 GBP</div>
<div class="right_specs_container">&amp;euro;99.07 EUR</div>
</div>
<div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right">
<img src="L2FfaW1hZ2VzL21haWwucG5n" alt="U2hhcmUgdGhpcyBpdGVtIHZpYSBlLW1haWw=" align="left" />
&amp;nbsp;
<a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 Laptop LCD Screen 15-inch Screen (12x9) XGA (1024x768) Matte CCFL 1-Bulb&amp;hash=885550">Share this item via e-mail</a>
</div>
</div>
<div style="clear:both" />
<hr class="black" />
<div class="screen_container">
<div class="screen_image_and_zoom_cotainer">
<a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/LTN150XG_L08.jpg">
<img src="L2ltZy9zY3JlZW5zLzEzOC9MVE4xNTBYR19MMDguanBn" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" />
</a>
<div class="screen_zoom_container">
<a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/LTN150XG_L08.jpg">Zoom [+]</a>
<br />
</div>
<a target="blank" class="thickbox" title="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" href="/img/screens/1000/30pinsCCFL.jpg">
<img src="L2ltZy9zY3JlZW5zLzEzOC8zMHBpbnNDQ0ZMLmpwZw==" width="138" border="0" alt="QWNlciBBU1BJUkUgMTIwMCAgc2NyZWVuIHJlcGxhY2VtZW50" />
</a>
<div class="screen_zoom_container">
<a target="blank" class="thickbox" title="QUNFUiBBU1BJUkUgMTIwMCBSRVBMQUNFTUVOVCBMQVBUT1AgTENEIFNDUkVFTiBGUk9NICQ3OC45OSAgU2NyZWVu" href="/img/screens/1000/30pinsCCFL.jpg">Zoom [+]</a>
<br />
</div>
<br clear="both" />
<b>Item ID: 753088</b>
</div>
<div class="screen_specs_container ">
<div class="left_specs_container">Compatibility:&amp;nbsp;</div>
<div class="right_specs_container ">
<h4>Acer ASPIRE 1200</h4>
</div>
<div class="left_specs_container" data-filterLabel="Replacement Part Type:">Replacement Part Type</div>
<div class="right_specs_container spec_highlight">
LCD Screen Only&amp;nbsp;
<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1468010881&amp;height=500&amp;width=800">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container" data-filterLabel="Size:">Size:&amp;nbsp;</div>
<div class="right_specs_container" title="c2l6ZQ==">
15-inch Screen (12"x9")&amp;nbsp;
<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/_zalTiJ1vFY?autoplay=1">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container" data-filterLabel="Resolution:">Resolution:&amp;nbsp;</div>
<div class="right_specs_container" title="cmVzb2x1dGlvbg==">
XGA (1024x768)&amp;nbsp;
<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/WWPSXibVLkg?autoplay=1">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container" data-filterLabel="Surface Type:">Surface Type:&amp;nbsp;</div>
<div class="right_specs_container" title="dHlwZQ==">
<font color="red">
Glossy&amp;nbsp;
<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com/embed/gt_CSbMF-5o?autoplay=1">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</font>
</div>
<div class="left_specs_container" style="display:none" data-filterLabel="Touchscreen Panel:">Touchscreen Panel:&amp;nbsp;</div>
<div class="right_specs_container" style="display:none">Not Included</div>
<div class="left_specs_container" data-filterLabel="Backlight type:">Backlight type:&amp;nbsp;</div>
<div class="right_specs_container" title="YmFja2xpZ2h0LXR5cGU=">
CCFL 1-Bulb&amp;nbsp;
<a class="lightbox" title="IiBocmVmPQ=="//www.youtube.com">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container">Video signal connector:&amp;nbsp;</div>
<div class="right_specs_container">
30 pin CCFL screen&amp;nbsp;[
<a target="blank" class="thickbox laptops" title="VmlkZW8gQ29ubmVjdG9y" href="/img/connectors/1_big/30pinsCCFL.jpg">image</a>
]
</div>
<div class="left_specs_container">Condition:&amp;nbsp;</div>
<div class="right_specs_container">
New Grade A+&amp;nbsp;
<a class="thickbox" title="IiBocmVmPQ=="/laptopscreen_viewer.php?edit_language=English&amp;view_article=1243967715&amp;height=500&amp;width=800">
<img border="0" valign="middle" alt="Pw==" src="L2ltYWdlcy9xdWVzdGlvbjIuZ2lm" />
</a>
</div>
<div class="left_specs_container">Warranty:&amp;nbsp;</div>
<div class="right_specs_container">3 Years</div>
<div class="left_specs_container" style="color:#f00">Note:&amp;nbsp;</div>
<div class="right_specs_container">Make sure new screen has same size, resolution, backlight as your old one!</div>
</div>
<div class="screen_prices_container">
<div class="item_currency_selector">
<h5>Currency selector</h5>
<ul>
<li class="active ">
<a href="?set_currency=USD" rel="nofollow">USD</a>
</li>
<li class=" ">
<a href="?set_currency=CAD" rel="nofollow">CAD</a>
</li>
<li class=" ">
<a href="?set_currency=GBP" rel="nofollow">GBP</a>
</li>
<li class=" ">
<a href="?set_currency=EUR" rel="nofollow">EUR</a>
</li>
</ul>
</div>
<b class="main_price">$99.99</b>
<div class="combo_qty_price_container">
$
<span>89.99</span>
<span class="phrase">if total screens in cart 2+</span>
</div>
<div class="product_os_sign">Out of stock</div>
<div class="click_on_button_below_to_be_notified_container">Click on button below to be notified when the item back in-stock.</div>
<p class="country_stock">
<i class="small_flags usa" />
Seattle, WA -
<span class="out_of_stock">Out of Stock</span>
</p>
<p class="country_stock">
<i class="small_flags canada" />
Vancouver, BC -
<span class="out_of_stock">Out of Stock</span>
</p>
<p class="country_stock">
<i class="small_flags england" />
Gatwick, UK -
<span class="out_of_stock">Out of Stock</span>
</p>
</div>
<div class="currencies_and_shipping_cost_container">
<div class="right_specs_container">$99.99 USD</div>
<div class="right_specs_container">$135.99 CAD</div>
<div class="right_specs_container">&amp;pound;80.47 GBP</div>
<div class="right_specs_container">&amp;euro;90.06 EUR</div>
</div>
<div class="currencies_and_shipping_cost_container" style="background-color:#fff;line-height:1.6em;clear:right">
<img src="L2FfaW1hZ2VzL21haWwucG5n" alt="U2hhcmUgdGhpcyBpdGVtIHZpYSBlLW1haWw=" align="left" />
&amp;nbsp;
<a rel="nofollow" class="email_item fake_link" href="/English/section/share_item/?b=Acer&amp;m=ASPIRE 1200&amp;desc=Acer ASPIRE 1200 Laptop LCD Screen 15-inch Screen (12x9) XGA (1024x768) Glossy CCFL 1-Bulb&amp;hash=753088">Share this item via e-mail</a>
</div>
</div>
</div>';
To get what you want from it, one should learn about the XPATH syntax.
Although SQL Server uses the XQuery, which is a superset of XPATH.
This example gets content from the <a>
tags.
SELECT
x.node.value('@href','nvarchar(max)') as [URL href],
x.node.value('@title','nvarchar(max)') as [URL title]
from @XML.nodes('//a') x(node);
这篇关于如何在sql中修复错误获取节点这个例子?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在sql中修复错误获取节点这个例子?


- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
- 更改自动增量起始编号? 2021-01-01
- 导入具有可变标题的 Excel 文件 2021-01-01
- SQL 临时表问题 2022-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01