Qore XML Module
1.4.1
|
Classes | |
class | InvalidHash |
Public Member Functions | |
MakeXmlOpts () | |
Static Public Member Functions | |
static MakeXmlOpts | createFromFlags (int flags, const QoreEncoding *encoding=nullptr) |
static MakeXmlOpts | createFromHash (const QoreHashNode *hash) |
Public Attributes | |
std::string | m_docVersion |
xml document version as a string | |
const QoreEncoding * | m_encoding |
encoding used for the output xml | |
bool | m_formatWithWhitespaces |
True, if the output xml shall be formatted with white spaces. | |
bool | m_useNumericRefs |
Use numeric character references instead of native characters for non-ascii character when generating XML. | |
std::string | m_dateFormat |
format of dates when serializing into xml | |
Wrapper for xml generating options.
|
explicit |
Constructs the wrapper with default options.
|
static |
Creates the wrapper with options filled from flags and passed encoding.
flags | Formatting flags; see XML Generation Constants for more information. |
encoding | An optional encoding for the output XML string |
|
static |
Creates the wrapper with options filled from hash.
hash | Hash with formatting options; see XML Generation Options for more information about possible values. |
InvalidHash | in case that known option is invalid (unknown options are skipped). |