29#include <sptk5/Buffer.h>
30#include <sptk5/RegularExpression.h>
31#include <sptk5/xdoc/Node.h>
32#include <sptk5/xdoc/XMLDocType.h>
87 void parse(
const SNode& node,
const char* _buffer,
Mode formatting = Mode::Compact);
97 void processAttributes(
Node& node,
const char* ptr);
99 static char* readComment(
const SNode& currentNode,
char* nodeName,
char* nodeEnd,
char* tokenEnd);
101 static char* readCDataSection(
const SNode& currentNode,
char* nodeName,
char* nodeEnd,
char* tokenEnd,
104 static char* readXMLDocType(
char* tokenEnd);
106 static const RegularExpression parseAttributes;
108 static char* readExclamationTag(
const SNode& currentNode,
char* nodeName,
char* tokenEnd,
char* nodeEnd,
Mode formatting);
110 char* readProcessingInstructions(
const SNode& currentNode,
const char* nodeName,
char* tokenEnd,
char*& nodeEnd,
113 char* readOpenningTag(SNode& currentNode,
const char* nodeName,
char* tokenEnd,
char*& nodeEnd);
115 static char* readClosingTag(
const SNode& currentNode,
const char* nodeName,
char* tokenEnd,
char*& nodeEnd);
117 void readText(
const SNode& currentNode,
XMLDocType* doctype,
const char* nodeStart,
const char* textStart,
120 static SNode detectArray(
const SNode& node);
Definition: ImportXML.h:51
void indentSpaces(int i)
Definition: ImportXML.h:79
XMLDocType & docType()
Definition: ImportXML.h:69
void parse(const SNode &node, const char *_buffer, Mode formatting=Mode::Compact)
Mode
Definition: ImportXML.h:54
Definition: XMLDocType.h:50