free papers,research papers,free term paper samples

Enrollment of XML technology in the network of

Paper Keywords: XML; office automation; data island; DOM
Abstract: This paper introduces XML XML Information exchange Technology and the Application process, and described how the network enrollment in XML, and a brief description of examples.

The development of Internet Web based teaching to become the development trend of office automation. Use of XML (extensible Markup Language) Information can be easily shared.

1, XML Information Exchange Technology
1.1 XML type of Information exchange
XML defines the structure to pass data between Applications, this structure is a simple description can be read with the universal text editor. Use this mechanism to develop the underlying data exchange standard, which is transmitted between the modules The data will be standardized in accordance with established rules of the data. from the Application point of view, XML Information exchange can be divided into several types: data distribution, data integration and transaction automation.

1. 2 XML data access mechanism
XML data source from the Application point of view can be divided into three kinds: �� XML plain text document; �� relational database. Most appropriate for the current most popular 3-layer structure based Application development; �� data from a variety of other applications, such as mail, directories, lists. Figure 1 shows the typical mechanism for XML data access.


1.3 XML in the database application mode
Application of XML in the database with 3-layer architecture model needs to achieve. This mode, the user interface layer, the use of (I stone or XSL Technology, XML to Web browser-based multi-format visual display. While the middle layer is necessary to have an agent running on them, through which to access the database management system, data and output XML documents. In addition, this agent can also be event-based two-way data updates, ie. client data changes (such as data insertion, deletion, modification, etc.) can be reflected through the agent to the underlying database, and database updates can also be notified to the client. At the same time during transmission of the data are already out of XML. through the middle agent layer, accessible sources of data need not be limited to a stationary database server. and can be distributed in the enterprise, even across database servers around the world. In addition, by means of XML Schema, developers can more accurately describe and exchange data.

XML provides a connection between the database and object-oriented database management system database, and other ties between the Figure 2.XML document itself is a structure composed by a number of nodes, this feature makes the data more suitable for use for object format to store, but also conducive to the object-oriented languages ​​(C + +, Java, etc.) call the XML programming interface to access XML node. relational databases and object-oriented database will first need to data from the database, extracted, transformed, or directly to XML data in the form posted online (LAN or Internet network), and then exchange data with each other, the application layer system to process and then turned deposited library.


1.4 XML data exchange Technology
Different programming languages ​​and scripting languages ​​require different SQL API and the XML parser combination.

2, XML in the application process
2.1 Display XML
The contents of the document itself describes only the data, display it by the style sheet to complete. Using a separate style sheet document to develop the display format is a big advantage: a data file of the same style for different styles can be applied in different occasions, so that data can be more reasonable, more targeted performance, enhanced data reuse.

Currently, W3C officially recommended a single standard, there are two styles: �� Cascading Style Sheets CSS (Cascding Style Sheets), �� extensible stylesheet language XSL.

XSL pattern matching using the method, select the XML document need to be addressed in the element / attribute, and then developed for these particular objects the corresponding transformation rules. With XSL, can also add new elements / attributes of all elements / attributes to re-sort , recycling, and other procedures to determine condition of the control, to adapt them to a variety of complex needs.

XSL XML document referenced in the format:
<?} Unl a stylesheet type = "text / xsl" href = "applymentxsl"?>
2.2 XML Binding
Web server and the client data transfer method between a 3: H'1'ML pages, XML documents and XML data island. Which, XML data island through a specific tag to XML data directly embedded into the HTML document. Using data Island as an interactive tool, not only can the data to have some semantic information, while maintaining the original number of HTML features, such as the use of client script for dynamic information exchange.

Implementation of XML data island is used in the document in H'I'ML <XML> label. Code embedded in two ways: direct embedding (eg Example 1) and external references (such as Example 2).

Example 1:
<XML ID="MyXMLData">
<? Xml version = "0"?>
... ... XML definitions ... ...

</ XML>
Example 2:
<XML ID = "MyXMLData" SRC = "http://www.mi-croeoft, corn / MyXMLData. Xml">
</ XML> Links to free access to papers download http://www.hi138.com 2.3 XML
Document Object Model (Document Object Model) referred to as the DOM, the document is a Web application development, application programming interfaces (API), is the W3C published a cross-platform, and language-independent interface specification.

DOM object model used to describe the interface and a range of content and structure of XML documents, namely the use of the object model of the document. This object model to achieve the basic functions include: �� the document that describes the interface and operation; �� interface behavior and property; �� the relationship between interfaces and interoperability.

The structure of the XML DOM to parse the document, the instructions in the document, elements, entities, property and all other individuals can use the object model representation. The logical document structure similar to a tree, the resulting object model is a tree of nodes, each objects also contain methods and properties.

Using DOM, can be dynamically created XML documents, traversal structure, add / modify / delete content and other operations. DOM object-oriented features, so that people in the management and affairs related to XML parsing save a lot of energy, is a consistent code re-thinking of a powerful programming tool.

XML 2.4 validation
Formed XML document is a basic requirement. XML documents must strictly abide by the syntax, the same time, XML documents should also be consistent with the semantic aspects of the specification, that is "effective." Checks the validity of XML documents for XML, called "Verify" (Validation).

3, in the recruitment of
Enrolling system approach often used to download the form of artificial fill, and the school feedback forms you will need to re-enter into the database one by one, which greatly reduces the efficiency of the work is not conducive to data management and sharing. Using XSL Technology online registration form in Table 1.


After completing its transformation into XML documents, deposited in memory, followed by the DOM application to get XMI. Document the data, the coexistence of a corresponding database.

4 Conclusion
XML implementation of the use of information can be easily re-use for data sharing and application of foundation. Links http://www.hi138.com Research Papers Download

Newest Research Papers

  • Newest
  • Computer Applications Papers

MOST POPULAR Computer Applications Papers

  • 24Hours
  • 7Days
  • 30Days