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 閱讀(239) 評論(0)  編輯  收藏 所屬分類: XML
          主站蜘蛛池模板: 临朐县| 北宁市| 河南省| 西藏| 抚宁县| 紫金县| 中宁县| 靖宇县| 大丰市| 蓬溪县| 准格尔旗| 县级市| 乡宁县| 秦皇岛市| 万年县| 闵行区| 抚顺县| 阜城县| 庆城县| 花垣县| 肇州县| 深水埗区| 五华县| 铜鼓县| 建昌县| 玉屏| 垫江县| 木兰县| 榆林市| 临安市| 洛隆县| 永定县| 思南县| 浮山县| 龙岩市| 阳朔县| 织金县| 霸州市| 磐安县| 德化县| 长泰县|