<%@ page import="javax.xml.parsers.*,org.w3c.dom.*,java.util.*" %> <%! Document doc; String getXMLValue(String name) { NodeList nlist=doc.getElementsByTagName(name); String value = nlist.item(3).getFirstChild().getNodeValue(); return value; } %> <% if( getServletContext().getAttribute("filepath")==null) { %> <% } //String xmlfile = "C:\\xmldocs\\mrl_spec_data_menus.xml" ; String xmlfile = (getServletContext().getAttribute("filepath")).toString() + "mrl_spec_data_menus.xml" ; DocumentBuilderFactory dbf=DocumentBuilderFactory.newInstance(); DocumentBuilder db=dbf.newDocumentBuilder(); doc=db.parse(xmlfile); int tot_rec = doc.getElementsByTagName("code_value").getLength(); //tot_rec =6; Vector list = new Vector (); Vector Line = new Vector(); Vector Var_name = new Vector(); Vector Code = new Vector(); Vector Code_Title = new Vector(); Vector Code_Value = new Vector(); Vector Code_Application = new Vector(); Vector Note = new Vector(); for(int i = 1; i < tot_rec ; i++) { Line.addElement(doc.getElementsByTagName("line").item(i).getFirstChild().getNodeValue() ); Var_name.addElement(doc.getElementsByTagName("var_name").item(i).getFirstChild().getNodeValue() ); Code.addElement(doc.getElementsByTagName("code").item(i).getFirstChild().getNodeValue() ); Code_Title.addElement(doc.getElementsByTagName("code_title").item(i).getFirstChild().getNodeValue() ); Code_Value.addElement(doc.getElementsByTagName("code_value").item(i).getFirstChild().getNodeValue() ); Code_Application.addElement(doc.getElementsByTagName("code_application").item(i).getFirstChild().getNodeValue() ); //Note.addElement(doc.getElementsByTagName("note").item(i).getFirstChild().getNodeValue() ); } %> MRL-Options
Mitsubishi Electric Elevators and Escalators - Quality in Motion
Reliable. Efficient. Comfortable. Mitsubishi Electric’s technology-driven elevators and escalators add safety and style wherever they are installed..
Step 1: Project Info Step 2: Basic Spec Step 3: Lobby Spec Step 4: Cab Spec Step 5: Get Spec

Diamond Trac Specifications

Building/Project Name*:
Building/Project Address:
City/State:
Architect/Consultant*:
Contact Name*:
Phone Number*:
E-Mail Address*:

Please enter all fields with (*) to continue.


   Project Info


Brochure
PDF Type Brochure (2.2MB)