rapidxml

◆ document()

template<class Ch = char>
xml_document< Ch > * document ( ) const
inline

Gets document of which attribute is a child.

Returns
Pointer to document that contains this attribute, or 0 if there is no parent document.

References rapidxml::node_document, and xml_base< char >::parent().