Folio Folium::attachments() { Folio attachments; pugi::xpath_node_set list = Node::selectNodes( L"./attachment" ); for ( pugi::xpath_node_set::const_iterator it = list.begin(); it != list.end(); ++it ) attachments.push_back( Folium( it->node(), impl_ ) ); return attachments; }
Folio Folder::folio() { Folio folio; pugi::xpath_node_set list = node_.select_nodes( "./folder[@folderType='file']|./folium" ); for ( pugi::xpath_node_set::const_iterator it = list.begin(); it != list.end(); ++it ) folio.push_back( Folium( it->node(), impl_ ) ); return folio; }