A method for converting an XML Schema document into an XSL document
The invention discloses a method for converting an XML Schema document into an XSL document. The method comprises the following steps: determining elements needing to be concerned in an XML Schema standard definition firstly, and then determining the mapping relation between the elements defined by...
Saved in:
Main Authors | , , , , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
09.04.2019
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a method for converting an XML Schema document into an XSL document. The method comprises the following steps: determining elements needing to be concerned in an XML Schema standard definition firstly, and then determining the mapping relation between the elements defined by the XML Schema standard definition and the elements defined by the XSL standard definition; Analyzing the XML Schema document, obtaining a first element needing to be concerned in the schema standard, and adding the first element into the XSL document; According to a depth-first principle, parsing elements in child nodes of the (schema) in the XML Schema document in sequence; and searching elements needing to be concerned in the XML Schema, and adding the elements into the XSL document until theconversion of the whole XML Schema document is completed. According to the method and the device, the complexity of editing the XSL document is reduced, the editing efficiency is improved, and the XML document is easy to rea |
---|---|
Bibliography: | Application Number: CN201811208124 |