Exemplo n.º 1
0
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;
}
Exemplo n.º 2
0
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;
}