网站建设资讯

NEWS

网站建设资讯

html使用xpath解析xml

  1. test.xml:
    
    
    
    Everyday Italian
    Giada De Laurentiis
    2005
    30.00
    
    
    Harry Potter
    J K. Rowling
    2005
    29.99
    
    
    XQuery Kick Start
    James McGovern
    Per Bothner
    Kurt Cagle
    James Linn
    Vaidyanathan Nagarajan
    2003
    49.99
    
    
    Learning XML
    Erik T. Ray
    2003
    39.95
    
    
  2. test.html:
  3. 输出:
    Harry Potter
    Everyday Italian
    Learning XML
    XQuery Kick Start

本文标题:html使用xpath解析xml
文章链接:http://njwzjz.com/article/psodjs.html