Method for converting XML (X Extensive Markup Language) document into HTML (Hypertext Markup Language) document based on XSL (Xml Schema Language)
The invention discloses a method for converting an XML (X Extensive Markup Language) document into an HTML (Hypertext Markup Language) document based on an XSL (Xml Schema Language). The method comprises the following steps: S1, building a new HTML-format document which has the same name with an XML...
Saved in:
Main Authors | , , , , , , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
30.11.2018
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a method for converting an XML (X Extensive Markup Language) document into an HTML (Hypertext Markup Language) document based on an XSL (Xml Schema Language). The method comprises the following steps: S1, building a new HTML-format document which has the same name with an XML document; S2, defining a conversion algorithm to realize conversion from the XML document to the HTML document; S3, calling a system default browser in order to display the HTML document, wherein a correlated method and a correlated variable are called as input parameters through a converter instance by the conversion algorithm to realize conversion from the XML document to the HTML document. By adopting the method for converting the XML document into the HTML document based on the XSL providedby the invention, a conversion error monitor is defined specific to the conversion error occurring in the converting process in order to determine the error cause and the error occurring location fora data editing person to |
---|---|
Bibliography: | Application Number: CN20181762801 |