XML analysis technique and template language based dynamic WEB page generation method

An automatic generation and template technology, applied in the computer field, can solve cumbersome and other problems, and achieve the effect of concise page file and reduced size

Inactive Publication Date: 2016-03-23
BEIJING JINHAI MINGTIAN SOFTWARE TECH CO LTD
View PDF3 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But these things are cumbersome, so in most cases, uncompressed scripts are used during development, and they will not be merged and compressed when they go online

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • XML analysis technique and template language based dynamic WEB page generation method
  • XML analysis technique and template language based dynamic WEB page generation method
  • XML analysis technique and template language based dynamic WEB page generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0037] The present invention proposes a method for generating dynamic WEB pages based on XML parsing technology and template language, which mixes standard XML language and text files of template instructions, wherein template instructions are used to provide data and simple logic for dynamic WEB pages, and XML Tags are used to generate dynamic page HTML codes, thus forming a complete WEB page.

[0038] Such as figure 1 As shown, the dynamic WEB page generation method based on XML parsing technology and template language of the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention provides an XML analysis technique and template language based dynamic WEB page generation method. The method comprises the steps of: performing variable substitution on an original page by using a template language, so as to generate an original page comprising real-time data; analyzing the original page by using an XML technique; sequentially performing the following operations on each XML tag according to a hierarchical relationship between a plurality of XML tags: performing searching to learn whether the XML tag is defined in an XML tag library, and if yes, invoking a tag processing program in the XML tag library, and automatically generating an HTML code in the XML tag library onto a WEB page corresponding to the original page; and after tag processing programs of all XML tags are completed, HTML codes output by the tag processing programs jointly forming the WEB page. According to the method provided by the present invention, the XML analysis technique and the template language technique are adopted for generating dynamic page HTML codes, so as to form a complete WEB page.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for generating dynamic WEB pages based on XML parsing technology and template language. Background technique [0002] In the process of web page development, developers will use server-side technologies to dynamically generate web pages, such as: JSP, Servlet, PHP, ASP, ASP.NET, etc. These technologies belong to the underlying technology and only have the most basic functions, so technicians A more powerful framework is encapsulated on these foundations. For example, in the field of Java, such frameworks include Struts, SpringMVC, Webwork, Apache Tapestry, etc., all of which include more powerful functions for developing dynamic WEB pages. Moreover, they usually use the technology of JSP tag library to achieve their goals. For example, Struts provides developers with a set of JSP tag libraries containing different themes, or generates dynamic page. [0003] Taking J...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F17/22
CPCG06F8/30G06F40/14
Inventor 崔盛
Owner BEIJING JINHAI MINGTIAN SOFTWARE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products