Sun River
          Topics about Java SE, Servlet/JSP, JDBC, MultiThread, UML, Design Pattern, CSS, JavaScript, Maven, JBoss, Tomcat, ...
          posts - 78,comments - 0,trackbacks - 0
          1).?Processing (parsing) XML documents using:?
          ???- Document Object Model (DOM)
          ???- Simple API for XML (SAX)
          ???Transforming XML documents using?
          ???-
          XSL/XSLT
          ???-?XPath
          2).

          Steps for DOM Parsing

          1. Tell the system which parser you will use

          2. Create a JAXP document builder

          3. Invoke the parser to create a Document representing an XML

          document

          4. Normalize the tree

          5. Obtain the root node of the tree

          6. Examine and modify properties of the node

          ?
          3).

          Steps for SAX Parsing

          1. Tell the system which parser you want to use

          2. Create a parser instance

          3. Create a content handler to respond to parsing events

          4. Invoke the parser with the designated content handler and

          document

          posted on 2006-11-27 05:26 Sun River 閱讀(232) 評論(0)  編輯  收藏 所屬分類: XML
          主站蜘蛛池模板: 巴林右旗| 庆元县| 岳池县| 若羌县| 天气| 嵊州市| 贡嘎县| 旬阳县| 英超| 石台县| 台前县| 涡阳县| 平邑县| 德清县| 洞头县| 长岭县| 泰兴市| 牡丹江市| 长春市| 东宁县| 墨竹工卡县| 武威市| 延川县| 庄河市| 都匀市| 大城县| 嘉鱼县| 错那县| 莆田市| 桃源县| 松阳县| 吴旗县| 临泉县| 保康县| 文山县| 贵州省| 明星| 大荔县| 萨嘎县| 泸西县| 阳新县|