Method and program for XML data conversion
AssigneeHitachi, Ltd.
InventorMasaaki Nagao
Life of this patent
Estimating the term…
Abstract
A method of processing a general-purpose XML document is executed to generate mapping data as a variable in a variable buffer when an input XML document is inputted through the effect of an input mapping function of a processing processor of a script language. When the output mapping function is started, the output XML document is supplied from the mapping data in the variable buffer.
Claims11
A method for XML data conversion through the use of a computer, comprising the steps of:
- extracting, by said computer, data based on a specific character from XML data being inputted;
- and
- converting, by said computer, said extracted data into a variable to be processed by a script language on the basis of the predetermined rules.
A method for XML data conversion through the use of a computer, comprising the steps of:
- extracting, by said computer, data on a specific character from XML data being inputted;
- and
- storing, by said computer, said extracted data as data composed of a variable name, a member name, an array index, and a value, on the basis of the predetermined rules.
A program for converting XML data into data to be processed by a script language, comprising the steps of:
- reading said XML data stored in a recording unit;
- converting a variable name for a tag included in said XML data into a variable name to be used by a script language and storing said variable name;
- and
- storing data of said tag included in said XML data as a variable value for said variable name.
A program of generating XML data, comprising the steps of:
- reading a variable name to be processed by a script language described according to the predetermined rules and a variable value for said variable name from a recording unit;
- and
- generating said XML data based on said variable name and said variable value.
A program of converting XML data into data to be processed by a script language, comprising the steps of:
- reading said XML data stored in a recording unit;
- determining if said XML data includes text information;
- storing said text information as a member variable of a character string to be processed by said script language, based on the result of determining if said text information is included;
- determining if said XML data is included in tag information;
- storing a tag name included in said tag information as a member variable of a variable name to be processed by said script language, based on the result of determining if said tag information is included;
- determining if comment information is included in said XML data;
- storing said comment information as a member variable of a character string to be processed by said script language, based on the result of determining if said comment information is included;
- determining if said XML data includes information on a processing instruction;
- and
- storing information on said processing instruction as a member variable of a content to be processed by said script language.
Dependencies are inferred from the claim text.