Loading...
Please wait, while we are loading the content...
Similar Documents
Report no. 4 of csce 896 extensible markup language using dom to retrieve xml data.
| Content Provider | CiteSeerX |
|---|---|
| Author | Zhu, Yifeng Ta, Reichbanch Chen, Yi |
| Abstract | this report, TreeWalker and NodeFilter were used to retrieve selected elements from an XML file. II. SYSTEM DESIGN Based on the analysis of the functional requirements of this program, the interface, diagram and output are designed as the following. A. Program Interface The program should have a friendly interface. The program should allow users to specify the XML file name, names of elements to be shown, and constraint conditions for the filter. It is assumed that users know the field names. However, the program should give friendly prompts about the available field names and be responsible to check the correctness of the input data. Due to time limitation, the logical operations AND and OR are not implemented in the filter constraints and the constraints is limited on the field of course number. B. Program Diagram The main diagram of this java program is shown in Fig. 1. After getting the input data from users and checking its validity, the program constructs a DOMParser. If the DOM level 2 is supported, the program will create a TreeWalker and invoke a recursive procedure to retrieve and print the selected elements by visiting the document tree. C. Program Output The output of the program is an well-formed XML document, named "output.xml", which contains the selected fields of the class elements after being filtered by the NodeFilter |
| File Format | |
| Access Restriction | Open |
| Subject Keyword | Extensible Markup Language Using Dom Retrieve Xml Data Input Data Friendly Prompt Document Tree System Design Dom Level Filter Constraint Constraint Condition Logical Operation Program Interface Xml File Functional Requirement Recursive Procedure Xml File Name Friendly Interface Main Diagram Time Limitation Well-formed Xml Document Course Number Java Program Available Field Name Program Diagram Class Element |
| Content Type | Text |