Ola
MashXML seeks to be an extension of Erel's XML2Map module with special attention to Library XMLs. I did this to help me parse library xml's for other tasks I needed.
MashXML
Author: Anele Mashy Mbanga
Version: 1
MashXML seeks to be an extension of Erel's XML2Map module with special attention to Library XMLs. I did this to help me parse library xml's for other tasks I needed.
MashXML
Author: Anele Mashy Mbanga
Version: 1
- MashXML
- Functions:
- Process_Globals As String
- Xml2JSON (sPath As String) As String
returns xml file data as a json string, pass the complete file path - XmlToMap (sPath As String) As Map
returns a map with classes and project keys
each classes keys are classname,description,properties,methods,fields and events
each properties,methods,fields,events is a list of maps with attributes for that class
properties & fields - keyname,fieldtype,defaultvalue,description
methods & events - keyname,fieldtype,description,parameterdef,parameters
project returns a map with - libraryname,author,version
- Process_Globals As String
- Functions:
- Xml2Map
- Fields:
- elements As List
- Functions:
- Class_Globals As String
- Initialize As String
- IsInitialized As Boolean
Tests whether the object has been initialized. - Parse (XML As String) As Map
- Parse2 (Input As InputStream) As Map
- Class_Globals As String
- Fields:
- XmlElement
- Fields:
- Attributes As Map
- Children As List
- ID As String
- IsInitialized As Boolean
Tests whether the object has been initialized. - Name As String
- Text As String
- Attributes As Map
- Functions:
- Initialize
Initializes the fields to their default value.
- Initialize
- Fields:
Attachments
Last edited: