<%@ page contentType="text/html"%> <%@ page import="javax.xml.parsers.DocumentBuilderFactory,javax.xml.parsers.DocumentBuilder,org.w3c.dom.*" %>
<% DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.parse("\\imageXML.XML"); NodeList pic1= doc.getElementsByTagName("pic1"); NodeList pic2= doc.getElementsByTagName("pic2"); NodeList pic3= doc.getElementsByTagName("pic3"); NodeList pic4= doc.getElementsByTagName("pic4"); NodeList pic5= doc.getElementsByTagName("pic5"); NodeList pic6= doc.getElementsByTagName("pic6"); NodeList pic7= doc.getElementsByTagName("pic7"); NodeList pic8= doc.getElementsByTagName("pic8"); NodeList pic9= doc.getElementsByTagName("pic9"); %>
width="137" height="140"> width="137" height="140"> width="137" height="140">
width="137" height="140"> width="137" height="140"> width="137" height="140">
width="137" height="140"> width="137" height="140"> width="137" height="140">