write functions
[Parser]


Detailed Description

This module contains all writing functions.


Functions

xostreamwrite_qname (xostream &xos, const xstring &localPart, const xstring &prefix)
xostreamwrite_ns_att_name (xostream &xos, const xstring &xstr)
xostreamwrite_xml_decl (xostream &xos)
xostreamwrite_pe_def (xostream &xos, const xstring &entity_value, const xstring &system_literal, const xstring &pub_id_literal)
xostreamwrite_entity_def (xostream &xos, const xstring &entity_value, const xstring &system_literal, const xstring &pub_id_literal, const xstring &ndata_name)
xostreamwrite_pe_decl (xostream &xos, const xstring &entity_name, const xstring &entity_value, const xstring &system_literal, const xstring &pubid_literal)
xostreamwrite_ge_decl (xostream &xos, const xstring &entity_name, const xstring &entity_value, const xstring &system_literal, const xstring &pubid_literal, const xstring &ndata_name)
xostreamwrite_prolog (xostream &xos)
XIMOL_EXPORT xostreamwrite_string_with_forbidden_serie (xostream &xos, const xstring &xstr, bool(*is_good_xchar)(xchar_t), const::std::string &forbidden_string, const::std::string &entity_test, const::std::string &entity_definition)
XIMOL_EXPORT xostreamwrite_space (xostream &xos)
XIMOL_EXPORT xostreamwrite_name (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_ncname (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_char_data (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_nm_token (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_char_ref (xostream &xos, xchar_t xc)
XIMOL_EXPORT xostreamwrite_entity_ref (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_pe_reference (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_pubid_literal (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_system_literal (xostream &xos, const xstring &xstr, xchar_t quote=0x0022)
XIMOL_EXPORT xostreamwrite_entity_value (xostream &xos, const xstring &xstr, xchar_t quote=0x0022)
XIMOL_EXPORT xostreamwrite_att_value (xostream &xos, const xstring &xstr, xchar_t quote=0x0022)
XIMOL_EXPORT xostreamwrite_attribute (xostream &xos, const xstring &name, const xstring &att_value, const xstring &short_ns, xchar_t quote=0x0022)
XIMOL_EXPORT xostreamwrite_comment (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_pi_target (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_pi (xostream &xos, const xstring &pi_target, const xstring &xext)
XIMOL_EXPORT xostreamwrite_cd_end (xostream &xos)
XIMOL_EXPORT xostreamwrite_cd_start (xostream &xos)
XIMOL_EXPORT xostreamwrite_cdata (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_cd_sect (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_eq (xostream &xos)
XIMOL_EXPORT xostreamwrite_version_num (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_version_info (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_enc_name (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_encoding_decl (xostream &xos, const xstring &xstr)
XIMOL_EXPORT xostreamwrite_sd_decl (xostream &xos, bool standalone)
XIMOL_EXPORT xostreamwrite_xml_decl (xostream &xos, const xstring &version_info, const xstring &encoding_decl=L"", const xstring &standalone_decl=L"")
XIMOL_EXPORT xostreamwrite_external_id (xostream &xos, const xstring &system_literal, const xstring &pub_id_literal=xstring())
XIMOL_EXPORT xostreamwrite_public_id (xostream &xos, const xstring &pub_id_literal)
XIMOL_EXPORT xostreamwrite_notation_decl (xostream &xos, const xstring &name, const xstring &system_literal, const xstring &pub_id_literal)
XIMOL_EXPORT xostreamwrite_open_stag (xostream &xos, const xstring &name, const XIMOL_XML_NAMESPACE_PATH::attributes &att, const xstring &uri=xstring())
XIMOL_EXPORT xostreamwrite_open_stag (xostream &xos, const xstring &name, const xstring &uri=xstring())
XIMOL_EXPORT xostreamwrite_stag (xostream &xos, const xstring &name, const XIMOL_XML_NAMESPACE_PATH::attributes &att, const xstring &uri=xstring())
XIMOL_EXPORT xostreamwrite_stag (xostream &xos, const xstring &name)
XIMOL_EXPORT xostreamwrite_stag (xostream &xos, const xstring &name, const xstring &uri)
XIMOL_EXPORT xostreamwrite_etag (xostream &xos, const xstring &name, const xstring &uri)
XIMOL_EXPORT xostreamwrite_etag (xostream &xos, const xstring &name)
XIMOL_EXPORT xostreamwrite_etag (xostream &xos)
XIMOL_EXPORT xostreamwrite_ndata_decl (xostream &xos, const xstring &name)


Function Documentation

XIMOL_EXPORT xostream& write_att_value xostream xos,
const xstring xstr,
xchar_t  quote = 0x0022
 

AttValue ::= '"' ([^<&"] | Reference)* '"' | "'" ([^<&'] | Reference)* "'"
we use only the value without quote.

Definition at line 1360 of file utils.cpp.

References _(), is_char(), write_char_ref(), write_xchar(), XCHAR_AMPERSAND, XCHAR_LESS_THAN_SIGN, XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

Referenced by attributes::write(), and write_attribute().

XIMOL_EXPORT xostream& write_attribute xostream xos,
const xstring name,
const xstring att_value,
const xstring short_ns,
xchar_t  quote = 0x0022
 

Attribute ::= name Eq AttValue
we use only the value without quote.

Definition at line 1443 of file utils.cpp.

References write_att_value(), write_eq(), write_qname(), and xstring.

Referenced by attributes::write().

XIMOL_EXPORT xostream& write_cd_end xostream xos  ) 
 

cd_end ::= ']]>'

Definition at line 1677 of file utils.cpp.

References write_xchar(), XCHAR_GREATER_THAN_SIGN, and XCHAR_RIGHT_SQUARE_BRACKET.

Referenced by cd_end(), and write_cd_sect().

XIMOL_EXPORT xostream& write_cd_sect xostream xos,
const xstring xstr
 

cd_sect ::= cd_start CData cd_end

Definition at line 1780 of file utils.cpp.

References write_cd_end(), write_cd_start(), write_cdata(), and xstring.

Referenced by operator<<().

XIMOL_EXPORT xostream& write_cd_start xostream xos  ) 
 

cd_start ::= '<![CDATA['

Definition at line 1706 of file utils.cpp.

References write_xchar(), XCHAR_EXCLAMATION_MARK, XCHAR_LATIN_CAPITAL_LETTER_A, XCHAR_LATIN_CAPITAL_LETTER_C, XCHAR_LATIN_CAPITAL_LETTER_D, XCHAR_LATIN_CAPITAL_LETTER_T, XCHAR_LEFT_SQUARE_BRACKET, and XCHAR_LESS_THAN_SIGN.

Referenced by cd_start(), and write_cd_sect().

XIMOL_EXPORT xostream& write_cdata xostream xos,
const xstring xstr
 

CData ::= (Char* - (Char* ']]>' Char*))

Definition at line 1748 of file utils.cpp.

References _(), is_char(), is_string_with_forbidden_serie(), XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

Referenced by write_cd_sect().

XIMOL_EXPORT xostream& write_char_data xostream xos,
const xstring xstr
 

CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*)

Definition at line 850 of file utils.cpp.

References _(), is_char_data(), XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

XIMOL_EXPORT xostream& write_char_ref xostream xos,
xchar_t  xc
 

CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';'

Definition at line 941 of file utils.cpp.

References _(), is_char(), write_xchar(), XCHAR_AMPERSAND, XCHAR_NUMBER_SIGN, XCHAR_SEMICOLON, XIMOL_AS_ERROR, and XIMOL_THROW.

Referenced by operator<<(), write_att_value(), and write_entity_value().

XIMOL_EXPORT xostream& write_comment xostream xos,
const xstring xstr
 

comment ::= ''

Definition at line 1484 of file utils.cpp.

References _(), is_comment(), write_xchar(), XCHAR_EXCLAMATION_MARK, XCHAR_GREATER_THAN_SIGN, XCHAR_HYPHEN_MINUS, XCHAR_LESS_THAN_SIGN, XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

Referenced by operator<<().

XIMOL_EXPORT xostream& write_enc_name xostream xos,
const xstring xstr
 

EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*

Definition at line 1982 of file utils.cpp.

References _(), is_enc_name(), XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

Referenced by write_encoding_decl().

XIMOL_EXPORT xostream& write_encoding_decl xostream xos,
const xstring xstr
 

EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'" )

Definition at line 2020 of file utils.cpp.

References xostream::context, write_enc_name(), write_eq(), write_space(), write_xchar(), XCHAR_APOSTROPHE, and xstring.

Referenced by write_xml_decl().

XIMOL_EXPORT xostream & write_entity_def xostream xos,
const xstring entity_value,
const xstring system_literal,
const xstring pub_id_literal,
const xstring ndata_name
 

EntityDef ::= entity_value | (ExternalID NDataDecl?)

Definition at line 2853 of file utils.cpp.

References write_entity_value(), write_external_id(), write_ndata_decl(), and xstring.

Referenced by write_ge_decl().

XIMOL_EXPORT xostream& write_entity_ref xostream xos,
const xstring xstr
 

EntityRef ::= '&' name ';'

Definition at line 1042 of file utils.cpp.

References write_name(), write_xchar(), XCHAR_AMPERSAND, XCHAR_SEMICOLON, and xstring.

XIMOL_EXPORT xostream& write_entity_value xostream xos,
const xstring xstr,
xchar_t  quote = 0x0022
 

entity_value ::= '"' ([^%&"] | PEReference | Reference)* '"' | "'" ([^%&'] | PEReference | Reference)* "'"
we use only the value without quote.

Definition at line 1262 of file utils.cpp.

References write_char_ref(), write_xchar(), XCHAR_AMPERSAND, XCHAR_PERCENT_SIGN, and xstring.

Referenced by write_entity_def(), and write_pe_def().

XIMOL_EXPORT xostream& write_eq xostream xos  ) 
 

Eq ::= S? '=' S?

Definition at line 1806 of file utils.cpp.

References write_xchar(), and XCHAR_EQUALS_SIGN.

Referenced by attributes::write(), write_attribute(), write_encoding_decl(), write_sd_decl(), and write_version_info().

XIMOL_EXPORT xostream& write_etag xostream xos  ) 
 

etag ::= '</' name S? '>'

Definition at line 2674 of file utils.cpp.

References xostream::context, write_qname(), write_xchar(), XCHAR_GREATER_THAN_SIGN, XCHAR_LESS_THAN_SIGN, and XCHAR_SOLIDUS.

Referenced by operator<<().

XIMOL_EXPORT xostream& write_etag xostream xos,
const xstring name
 

etag ::= '</' name S? '>'

Definition at line 2642 of file utils.cpp.

References xostream::context, write_qname(), write_xchar(), XCHAR_GREATER_THAN_SIGN, XCHAR_LESS_THAN_SIGN, XCHAR_SOLIDUS, and xstring.

XIMOL_EXPORT xostream& write_etag xostream xos,
const xstring name,
const xstring uri
 

etag ::= '</' name S? '>'

Definition at line 2658 of file utils.cpp.

References xostream::context, write_qname(), write_xchar(), XCHAR_GREATER_THAN_SIGN, XCHAR_LESS_THAN_SIGN, XCHAR_SOLIDUS, and xstring.

XIMOL_EXPORT xostream& write_external_id xostream xos,
const xstring system_literal,
const xstring pub_id_literal = xstring()
 

ExternalID ::= 'SYSTEM' S system_literal | 'PUBLIC' S pubid_literal S system_literal

Definition at line 2232 of file utils.cpp.

References write_pubid_literal(), write_space(), write_system_literal(), and xstring.

Referenced by write_entity_def(), write_notation_decl(), and write_pe_def().

XIMOL_EXPORT xostream & write_ge_decl xostream xos,
const xstring entity_name,
const xstring entity_value,
const xstring system_literal = L"",
const xstring pubid_literal = L"",
const xstring ndata_name = L""
 

GEDecl ::= '<!ENTITY' S name S EntityDef S? '>'

Definition at line 2977 of file utils.cpp.

References write_entity_def(), write_name(), write_space(), write_xchar(), XCHAR_GREATER_THAN_SIGN, and xstring.

XIMOL_EXPORT xostream& write_name xostream xos,
const xstring xstr
 

name ::= (Letter | '_' | ':') (NameChar)*

Definition at line 576 of file utils.cpp.

References _(), is_name(), XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

Referenced by write_entity_ref(), write_ge_decl(), write_ndata_decl(), write_notation_decl(), write_pe_decl(), write_pe_reference(), and write_pi_target().

XIMOL_EXPORT xostream& write_ncname xostream xos,
const xstring xstr
 

NCName ::= (Letter | '_') (NCNameChar)*

Definition at line 639 of file utils.cpp.

References _(), is_ncname(), XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

Referenced by write_qname().

XIMOL_EXPORT xostream& write_ndata_decl xostream xos,
const xstring name
 

NDataDecl ::= S 'NDATA' S name

Definition at line 2808 of file utils.cpp.

References write_name(), write_space(), write_xchar(), XCHAR_LATIN_CAPITAL_LETTER_A, XCHAR_LATIN_CAPITAL_LETTER_D, XCHAR_LATIN_CAPITAL_LETTER_N, XCHAR_LATIN_CAPITAL_LETTER_T, and xstring.

Referenced by write_entity_def().

XIMOL_EXPORT xostream& write_nm_token xostream xos,
const xstring xstr
 

Nmtoken ::= (NameChar)+

Definition at line 892 of file utils.cpp.

References _(), is_nm_token(), XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

XIMOL_EXPORT xostream& write_notation_decl xostream xos,
const xstring name,
const xstring system_literal,
const xstring pub_id_literal
 

NotationDecl ::= '<!NOTATION' S name S (ExternalID | PublicID) S? '>'

Definition at line 2321 of file utils.cpp.

References write_external_id(), write_name(), write_public_id(), write_space(), write_xchar(), XCHAR_GREATER_THAN_SIGN, and xstring.

XIMOL_EXPORT xostream & write_ns_att_name xostream xos,
const xstring xstr
 

Parameters:
xstr : NCName.
NSAttName ::= PrefixedAttName | DefaultAttName PrefixedAttName ::= 'xmlns:' NCName DefaultAttName ::= 'xmlns'

Definition at line 763 of file utils.cpp.

References _(), is_ns_att_name(), write_xchar(), XCHAR_COLON, XCHAR_LATIN_SMALL_LETTER_L, XCHAR_LATIN_SMALL_LETTER_M, XCHAR_LATIN_SMALL_LETTER_N, XCHAR_LATIN_SMALL_LETTER_S, XCHAR_LATIN_SMALL_LETTER_X, XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

Referenced by attributes::write().

XIMOL_EXPORT xostream& write_open_stag xostream xos,
const xstring name,
const xstring uri = xstring()
 

stag ::= '<' name (S Attribute)* S? '>'

Definition at line 2427 of file utils.cpp.

References xstring.

Referenced by operator<<().

XIMOL_EXPORT xostream& write_open_stag xostream xos,
const xstring name,
const XIMOL_XML_NAMESPACE_PATH::attributes att,
const xstring uri = xstring()
 

stag ::= '<' name (S Attribute)* S? '>'

Definition at line 2412 of file utils.cpp.

References xostream::context, write_stag(), and xstring.

XIMOL_EXPORT xostream & write_pe_decl xostream xos,
const xstring entity_name,
const xstring entity_value,
const xstring system_literal = L"",
const xstring pubid_literal = L""
 

PEDecl ::= '<!ENTITY' S '%' S name S PEDef S? '>'

Definition at line 2907 of file utils.cpp.

References write_name(), write_pe_def(), write_space(), write_xchar(), XCHAR_GREATER_THAN_SIGN, XCHAR_PERCENT_SIGN, and xstring.

XIMOL_EXPORT xostream & write_pe_def xostream xos,
const xstring entity_value,
const xstring system_literal,
const xstring pub_id_literal
 

PEDef ::= entity_value | ExternalID

Definition at line 2763 of file utils.cpp.

References write_entity_value(), write_external_id(), and xstring.

Referenced by write_pe_decl().

XIMOL_EXPORT xostream& write_pe_reference xostream xos,
const xstring xstr
 

PEReference ::= '%' name ';'

Definition at line 1083 of file utils.cpp.

References write_name(), write_xchar(), XCHAR_PERCENT_SIGN, XCHAR_SEMICOLON, and xstring.

XIMOL_EXPORT xostream& write_pi xostream xos,
const xstring pi_target,
const xstring xext
 

PI ::= '<?' pi_target (S (Char* - (Char* '?>' Char*)))? '?>'

Definition at line 1607 of file utils.cpp.

References _(), is_char(), is_string_with_forbidden_serie(), write_pi_target(), write_space(), write_xchar(), XCHAR_LESS_THAN_SIGN, XCHAR_QUESTION_MARK, XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

XIMOL_EXPORT xostream& write_pi_target xostream xos,
const xstring xstr
 

pi_target ::= name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))

Definition at line 1574 of file utils.cpp.

References _(), is_pi_target(), write_name(), XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

Referenced by write_pi().

XIMOL_EXPORT xostream & write_prolog xostream xos  ) 
 

prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?

Definition at line 3068 of file utils.cpp.

References write_xml_decl().

Referenced by operator<<().

XIMOL_EXPORT xostream& write_pubid_literal xostream xos,
const xstring xstr
 

pubid_literal ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'" we use only the value without quote.

Definition at line 1149 of file utils.cpp.

References _(), is_pubid_char(), write_xchar(), XCHAR_QUOTATION_MARK, XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

Referenced by write_external_id(), and write_public_id().

XIMOL_EXPORT xostream& write_public_id xostream xos,
const xstring pub_id_literal
 

PublicID ::= 'PUBLIC' S pubid_literal

Definition at line 2291 of file utils.cpp.

References write_pubid_literal(), write_space(), and xstring.

Referenced by write_notation_decl().

XIMOL_EXPORT xostream & write_qname xostream xos,
const xstring localPart,
const xstring prefix = xstring()
 

QName ::= (Prefix ':')? LocalPart Prefix ::= NCName LocalPart ::= NCName

Definition at line 708 of file utils.cpp.

References write_ncname(), write_xchar(), XCHAR_COLON, and xstring.

Referenced by write_attribute(), write_etag(), and write_stag().

XIMOL_EXPORT xostream& write_sd_decl xostream xos,
bool  standalone
 

SDDecl ::= S 'standalone' Eq (("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no') '"'))

Definition at line 2057 of file utils.cpp.

References xostream::context, write_eq(), write_space(), write_xchar(), and XCHAR_APOSTROPHE.

Referenced by write_xml_decl().

XIMOL_EXPORT xostream& write_space xostream xos  ) 
 

S ::= (x20 | x9 | xD | xA)

Definition at line 546 of file utils.cpp.

References write_xchar(), and xchar_t.

Referenced by attributes::write(), write_encoding_decl(), write_external_id(), write_ge_decl(), write_ndata_decl(), write_notation_decl(), write_pe_decl(), write_pi(), write_public_id(), write_sd_decl(), write_version_info(), and write_xml_decl().

XIMOL_EXPORT xostream& write_stag xostream xos,
const xstring name,
const xstring uri
 

stag ::= '<' QName (S Attribute)* S? '>'

Definition at line 2475 of file utils.cpp.

References xstring.

Referenced by operator<<(), write_open_stag(), and write_stag().

XIMOL_EXPORT xostream& write_stag xostream xos,
const xstring name
 

stag ::= '<' QName (S Attribute)* S? '>'

Definition at line 2463 of file utils.cpp.

References write_stag(), and xstring.

XIMOL_EXPORT xostream& write_stag xostream xos,
const xstring name,
const XIMOL_XML_NAMESPACE_PATH::attributes att,
const xstring uri = xstring()
 

stag ::= '<' QName (S Attribute)* S? '>'

Definition at line 2439 of file utils.cpp.

References xostream::context, write_qname(), write_xchar(), XCHAR_GREATER_THAN_SIGN, XCHAR_LESS_THAN_SIGN, and xstring.

XIMOL_EXPORT xostream& write_string_with_forbidden_serie xostream xos,
const xstring xstr,
bool(*  is_good_xchar)(xchar_t),
const::std::string &  forbidden_string,
const::std::string &  entity_test,
const::std::string &  entity_definition
 

ForbiddenSerie ::= SetByFunction - (SetByFunction forbidden_string SetByFunction)

Parameters:
xos : the ouput stream.
xstr : the string to write
is_good_xchar : function for testing char
forbidden_string : the forbidden string
entity_test : name of the tested string (for example : "CharData"). For error message.
entity_definition : Definition For error message. (for example : "CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*)").

Definition at line 235 of file utils.cpp.

References _(), is_string_with_forbidden_serie(), XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

XIMOL_EXPORT xostream& write_system_literal xostream xos,
const xstring xstr,
xchar_t  quote = 0x0022
 

system_literal ::= ('"' [^"]* '"') | ("'" [^']* "'")
we use only the value without quote.

Definition at line 1210 of file utils.cpp.

References _(), is_char(), write_xchar(), XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

Referenced by write_external_id().

XIMOL_EXPORT xostream& write_version_info xostream xos,
const xstring xstr
 

VersionInfo ::= S 'version' Eq ("'" VersionNum "'" | '"' VersionNum '"')

Definition at line 1895 of file utils.cpp.

References xostream::context, write_eq(), write_space(), write_version_num(), write_xchar(), XCHAR_APOSTROPHE, and xstring.

Referenced by write_xml_decl().

XIMOL_EXPORT xostream& write_version_num xostream xos,
const xstring xstr
 

VersionNum ::= ([a-zA-Z0-9_.:] | '-')+

Definition at line 1856 of file utils.cpp.

References _(), is_version_num(), XIMOL_AS_ERROR, XIMOL_THROW, and xstring.

Referenced by write_version_info().

XIMOL_EXPORT xostream& write_xml_decl xostream xos,
const xstring version_info,
const xstring encoding_decl = L"",
const xstring standalone_decl = L""
 

XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'

Definition at line 2110 of file utils.cpp.

References xostream::context, xostream::encoding(), write_encoding_decl(), write_sd_decl(), write_space(), write_version_info(), and xstring.

Referenced by operator<<(), write_prolog(), and write_xml_decl().

XIMOL_EXPORT xostream & write_xml_decl xostream xos  ) 
 

XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'

Definition at line 2135 of file utils.cpp.

References xostream::context, and write_xml_decl().



Donate to the XiMoL project SourceForge.net Logo If you have any questions about XiMoL, you could write to tournois@users.sourceforge.net.