xquery version "3.0";
declare boundary-space preserve;
Popular Title: Consolidated Appropriations Act, 2016
FINAL VOTE RESULTS FOR ROLL CALL {string(doc("http://clerk.house.gov/evs/2015/roll705.xml")//rollcall-num)}
{string(doc("http://clerk.house.gov/evs/2015/roll705.xml")//rollcall-num)} {string(doc("http://clerk.house.gov/evs/2015/roll705.xml")//action-date)} {string(doc("http://clerk.house.gov/evs/2015/roll705.xml")//action-time)}
Question: {string(doc("http://clerk.house.gov/evs/2015/roll705.xml")//vote-question)}
Bill Title: {string(doc("http://clerk.house.gov/evs/2015/roll705.xml")//vote-desc)}
Georgia Congressional Delegation
{for $voter in doc("http://clerk.house.gov/evs/2015/roll705.xml")//recorded-vote,
$mem in doc("http://xml.house.gov/MemberData/MemberData.xml")//member/member-info
where $voter/legislator[@state = 'GA'] and $voter/legislator/@name-id = $mem//bioguideID
return - {string($mem//official-name)} --- {string($voter/vote)} --- {string($mem//phone)}
}