company logo

XMLString :: open - Open XML string

The function creates an hierarchical XML string from data passed in a file or string.

Implementation overview

Implementation details

  1. 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.

  2. to list
  3. Create XML string from string
    XMLString  :: open ( odaba::String &sValue )
    • sValue - String value
  4. to list