books.xml文件內容如下:
打印結果:
Root element of the doc is bookstore
Total no of book : 5
title : Harry Potter
author: J K. Rowling
author: 2000000000000005
year : 2005
price: 29.99
title : Everyday Italian
author: Giada De Laurentiis
year : 2005
price: 30.00
title : Learning XML
author: Erik T. Ray
year : 2003
price: 39.95
title : XQuery Kick Start
author: James McGovern
author: Per Bothner
author: Kurt Cagle
author: James Linn
author: Vaidyanathan Nagarajan
year : 2003
price: 49.99
title : XQuery Kick Start
author: James McGovern
author: Per Bothner
author: Kurt Cagle
author: James Linn
author: Vaidyanathan Nagarajan
year : 2003
price: 49.99