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://ybzwz.com/article/psodjs.html