Exemplo n.º 1
0
string getTagAttributeValue(Tag tag, string wantedAttributeName) {
    
    int location = 0;
    
    for(int i = 0; i < tag.getAttributeName().size(); i++) {
        if(tag.getAttributeName()[i] == wantedAttributeName) {
            location = i;
        }
    }
    
    return tag.getAttributeValue()[location];
    
}