token used to output a xml document More...
#include <ZFXml.h>
Public Attributes | |
zfstring | xmlNewLineToken |
"\n" by default | |
zfstring | xmlIndentToken |
" " by default | |
zfstring | xmlDeclarationTagLeft |
"<?xml" by default | |
zfstring | xmlDeclarationTagRight |
"?>" by default | |
zfstring | xmlDocTypeTagLeft |
"<!DOCTYPE" by default | |
zfstring | xmlDocTypeTagRight |
">" by default | |
zfstring | xmlPITagLeft |
"<?" by default | |
zfstring | xmlPITagRight |
"?>" by default | |
zfstring | xmlElementBeginTagLeft |
"<" by default | |
zfstring | xmlElementBeginTagRight |
">" by default | |
zfstring | xmlElementEndTagLeft |
"</" by default | |
zfstring | xmlElementEndTagRight |
">" by default | |
zfstring | xmlElementSingleTagLeft |
"<" by default | |
zfstring | xmlElementSingleTagRight |
"/>" by default | |
zfstring | xmlAttrEqualTag |
"=" by default | |
zfstring | xmlAttrQuoteTagLeft |
"\"" by default | |
zfstring | xmlAttrQuoteTagRight |
"\"" by default | |
zfstring | xmlTextCDATATagLeft |
"<![CDATA[" by default | |
zfstring | xmlTextCDATATagRight |
"]]>" by default | |
zfstring | xmlCommentTagLeft |
"<!--" by default | |
zfstring | xmlCommentTagRight |
"-->" by default | |
zfstring | xmlGlobalLineBeginToken |
strings added to head of each new line, empty by default | |
zfindex | xmlElementAttrCountBeforeAddNewLine |
how many attributes before add new line, 3 by default | |
zfbool | xmlElementAddNewLineAtHeadIfNotSingleLine |
add new line before entering a element if the element isn't single line, zffalse by default | |
zfbool | xmlElementTrimTagIfNoChildren |
trim "<element></element>" to "<element/>" if no children, zffalse by default | |
zfbool | xmlElementEndTagAtSameLineIfNoChildElement |
whether put element's end tag in a same line if no child element or only text children, zftrue by default | |
token used to output a xml document
zfindex ZFXmlOutputToken::xmlElementAttrCountBeforeAddNewLine |
how many attributes before add new line, 3 by default
e.g. if zfindexMax(), never add new line, if 0, add before every attributes, if 1, add before every attributes except first one