XMLString :: open - Open XML string
The function creates an hierarchical XML string from data passed in a file or string.
Implementation overview
- Load XML string from file
XMLString :: open ( sFilePath, eStringCodingType ) - Create XML string from string
XMLString :: open ( sValue )
Implementation details
-
Load XML string from file
XMLString  :: open ( odaba::String &sFilePath, odaba::StringCodingTypes eStringCodingType )
The constructor fill the XMLString from data contained in the file passed in sFilePath . When the file contains BOM data, text encoding information is taken from BOM. Otherwise, text encoding type may be passed in sStringCodingType . When no text encoding information is available, default text encoding is assumed (usually encoding set for the running system or the one defined in option DEFAULT_ENCODING .
- sFilePath - Complete file path
- eStringCodingType
- String encoding type
In case of unknown text encoding type undefinedCoding is used.
to list
-
Create XML string from string
XMLString  :: open ( odaba::String &sValue )
- sValue - String value
to list