成都网站建设设计

将想法与焦点和您一起共享

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://chengdu.cdxwcx.cn/article/psodjs.html