如何使用解析以下 XMLDOM PARSER
<Result>
<Status>OK</Status>
<All_BookDetails>
<BookAuthor>Mohammadi Reyshahri</BookAuthor>
<BookRating>0</BookRating>
<BookDescription>Islamic belief and ideology</BookDescription>
<DatePublished>May 1 1992 12:00AM</DatePublished>
<BookTitle>Are You Free or Slave</BookTitle>
<BookID>171</BookID>
<BookCode>EN171</BookCode>
<BookImage>1.jpg</BookImage>
<TotalPages>164</TotalPages>
</All_BookDetails>
</Result>
我想得到BookAuthor
, BookRating
, BookDescription
, DatePublished
, BookTitle
, BookID
, BookCode
,的值BookImage
TotalPages
我怎样才能做到这一点。我试图解析上面选择All_BookDetails
为父节点的 XML,但nodelist
返回长度为 0
谢谢