- using R Under development (unstable) (2013-06-16 r62969)
- using platform: x86_64-unknown-linux-gnu (64-bit)
- using session charset: UTF-8
- checking for file ‘XML/DESCRIPTION’ ... OK
- this is package ‘XML’ version ‘3.96-1.1’
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘XML’ can be installed ... OK
- checking installed package size ... NOTE
installed size is 7.6Mb
sub-directories of 1Mb or more:
exampleData 1.6Mb
examples 4.6Mb
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking for unstated dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... NOTE
addParentNode: no visible binding for global variable ‘.this’
addParentNode: no visible binding for '<<-' assignment to ‘.children’
addParentNode: no visible binding for global variable ‘.children’
addParentNode: no visible binding for '<<-' assignment to ‘.parents’
addParentNode: no visible binding for global variable ‘.parents’
addParentNode: no visible binding for '<<-' assignment to ‘.nodes’
addParentNode: no visible binding for global variable ‘.nodes’
newXMLDoc: no visible binding for global variable ‘doc’
xmlFlatListTree : f: no visible binding for global variable ‘nodeNames’
xmlFlatListTree : f: no visible binding for global variable ‘idx’
xmlFlatListTree : addNode: no visible binding for global variable
‘.this’
xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
‘nodeSet’
xmlFlatListTree : addNode: no visible binding for global variable
‘nodeSet’
xmlFlatListTree : addNode: no visible binding for global variable ‘idx’
xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
‘nodeNames’
xmlFlatListTree : addNode: no visible binding for global variable
‘nodeNames’
xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
‘idx’
xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
‘parentCount’
xmlFlatListTree : addNode: no visible binding for global variable
‘parentCount’
xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
‘.parents’
xmlFlatListTree : addNode: no visible binding for global variable
‘.parents’
xmlFlatListTree : addNode: no visible binding for '<<-' assignment to
‘.children’
xmlFlatListTree : addNode: no visible binding for global variable
‘.children’
xmlFlatListTree : <anonymous>: no visible binding for global variable
‘e’
xmlFlatListTree : .tidy: no visible binding for '<<-' assignment to
‘.nodes’
xmlFlatTree : f: no visible binding for global variable ‘.nodes’
xmlFlatTree : addNode: no visible binding for global variable ‘.this’
xmlFlatTree : addNode: no visible binding for '<<-' assignment to
‘.parents’
xmlFlatTree : addNode: no visible binding for global variable
‘.parents’
xmlFlatTree : addNode: no visible binding for '<<-' assignment to
‘.children’
xmlFlatTree : addNode: no visible binding for global variable
‘.children’
xmlFlatTree : addNode: no visible binding for '<<-' assignment to
‘.nodes’
xmlFlatTree : addNode: no visible binding for global variable ‘.nodes’
xmlFlatTree : <anonymous>: no visible binding for global variable ‘e’
xmlHashTree : .tidy: no visible binding for '<<-' assignment to
‘.nodes’
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking compiled code ... OK
- checking examples ... ERROR
Running examples in ‘XML-Ex.R’ failed
The error most likely occurred in:
> ### Name: getNodeSet
> ### Title: Find matching nodes in an internal XML tree/DOM
> ### Aliases: getNodeSet xpathApply xpathSApply matchNamespaces
> ### Keywords: file IO
>
> ### ** Examples
>
> doc = xmlParse(system.file("exampleData", "tagnames.xml", package = "XML"))
>
> els = getNodeSet(doc, "/doc//a[@status]")
> sapply(els, function(el) xmlGetAttr(el, "status"))
[1] "xyz" "1"
>
> # use of namespaces on an attribute.
> getNodeSet(doc, "/doc//b[@x:status]", c(x = "http://www.omegahat.org"))
[[1]]
<b omegahat:status="foo">
<r:d>
<a status="xyz"/>
<a/>
<a status="1"/>
</r:d>
</b>
attr(,"class")
[1] "XMLNodeSet"
> getNodeSet(doc, "/doc//b[@x:status='foo']", c(x = "http://www.omegahat.org"))
[[1]]
<b omegahat:status="foo">
<r:d>
<a status="xyz"/>
<a/>
<a status="1"/>
</r:d>
</b>
attr(,"class")
[1] "XMLNodeSet"
>
> # Because we know the namespace definitions are on /doc/a
> # we can compute them directly and use them.
> nsDefs = xmlNamespaceDefinitions(getNodeSet(doc, "/doc/a")[[1]])
> ns = structure(sapply(nsDefs, function(x) x$uri), names = names(nsDefs))
> getNodeSet(doc, "/doc//b[@omegahat:status='foo']", ns)[[1]]
<b omegahat:status="foo">
<r:d>
<a status="xyz"/>
<a/>
<a status="1"/>
</r:d>
</b>
>
> # free(doc)
>
> #####
> f = system.file("exampleData", "eurofxref-hist.xml.gz", package = "XML")
> e = xmlParse(f)
> ans = getNodeSet(e, "//o:Cube[@currency='USD']", "o")
> sapply(ans, xmlGetAttr, "rate")
[1] "1.2664" "1.2721" "1.2684" "1.2737" "1.2685" "1.266" "1.2713" "1.2684"
[9] "1.2695" "1.2768" "1.2817" "1.2731" "1.2676" "1.2654" "1.2665" "1.2675"
[17] "1.2723" "1.2677" "1.2709" "1.2713" "1.2713" "1.2731" "1.2793" "1.281"
[25] "1.2852" "1.2817" "1.2851" "1.2818" "1.2808" "1.28" "1.2762" "1.2831"
[33] "1.2812" "1.2812" "1.2919" "1.2802" "1.2879" "1.2793" "1.2725" "1.2718"
[41] "1.2775" "1.2857" "1.2879" "1.2839" "1.285" "1.2792" "1.2781" "1.2798"
[49] "1.2759" "1.2767" "1.2664" "1.2737" "1.2587" "1.2636" "1.2633" "1.268"
[57] "1.2643" "1.2482" "1.2531" "1.2541" "1.2666" "1.2692" "1.2722" "1.2736"
[65] "1.2752" "1.2778" "1.2735" "1.2794" "1.2791" "1.279" "1.2713" "1.2529"
[73] "1.257" "1.2567" "1.2561" "1.2502" "1.2582" "1.2632" "1.2546" "1.2591"
[81] "1.2651" "1.261" "1.2563" "1.2571" "1.2572" "1.2659" "1.2735" "1.2789"
[89] "1.2847" "1.2958" "1.2815" "1.2736" "1.2868" "1.2839" "1.2758" "1.2797"
[97] "1.2755" "1.2851" "1.2841" "1.2753" "1.2767" "1.277" "1.2882" "1.2817"
[105] "1.2826" "1.2914" "1.2716" "1.2779" "1.2697" "1.2756" "1.2688" "1.2592"
[113] "1.2622" "1.2643" "1.2537" "1.2414" "1.2425" "1.2425" "1.2365" "1.2315"
[121] "1.2346" "1.2346" "1.2252" "1.2094" "1.2125" "1.2105" "1.2099" "1.2179"
[129] "1.2312" "1.2262" "1.2217" "1.2063" "1.2104" "1.2096" "1.2012" "1.2084"
[137] "1.2025" "1.1969" "1.2055" "1.2069" "1.2144" "1.2174" "1.2185" "1.2069"
[145] "1.2026" "1.1948" "1.1922" "1.1919" "1.192" "1.1914" "1.1913" "1.2017"
[153] "1.202" "1.1921" "1.1954" "1.1875" "1.1852" "1.1896" "1.1957" "1.1875"
[161] "1.1906" "1.1932" "1.1863" "1.1858" "1.1904" "1.1898" "1.1888" "1.197"
[169] "1.1972" "1.1948" "1.1973" "1.1981" "1.2061" "1.2066" "1.2092" "1.2118"
[177] "1.2082" "1.2172" "1.2254" "1.2294" "1.2272" "1.2277" "1.2068" "1.2073"
[185] "1.2125" "1.2075" "1.2112" "1.2039" "1.2113" "1.2088" "1.2064" "1.2078"
[193] "1.2093" "1.2088" "1.2083" "1.1875" "1.1826" "1.1797" "1.1825" "1.1916"
[201] "1.1852" "1.1859" "1.1822" "1.1872" "1.1955" "1.1977" "1.1983" "1.1999"
[209] "1.202" "1.1925" "1.1925" "1.1785" "1.1764" "1.171" "1.1783" "1.1767"
[217] "1.1697" "1.1745" "1.1769" "1.1793" "1.1726" "1.1763" "1.1783" "1.1776"
[225] "1.1701" "1.1811" "1.1679" "1.1692" "1.1677" "1.1667" "1.1713" "1.1697"
[233] "1.1762" "1.1738" "1.1741" "1.1824" "1.1933" "1.2041" "1.1992" "1.2008"
[241] "1.2023" "1.2138" "1.213" "1.2059" "1.2017" "1.1944" "1.2012" "1.1953"
[249] "1.195" "1.1937" "1.2022" "1.1999" "1.198" "1.2008" "1.2022" "1.2088"
[257] "1.2144" "1.2061" "1.1947" "1.1938" "1.1933" "1.2042" "1.2063" "1.2037"
[265] "1.2005" "1.2031" "1.2118" "1.2224" "1.2225" "1.2154" "1.2139" "1.2243"
[273] "1.2223" "1.2314" "1.2276" "1.2313" "1.2415" "1.2418" "1.2451" "1.2483"
[281] "1.2538" "1.2541" "1.2388" "1.2198" "1.2181" "1.2289" "1.2307" "1.2272"
[289] "1.2211" "1.2233" "1.2231" "1.2183" "1.2213" "1.2296" "1.2313" "1.2374"
[297] "1.2457" "1.2405" "1.2377" "1.2367" "1.237" "1.2386" "1.2319" "1.2308"
[305] "1.2217" "1.2219" "1.2093" "1.21" "1.199" "1.1987" "1.2065" "1.2143"
[313] "1.2187" "1.2063" "1.1965" "1.2054" "1.2073" "1.2067" "1.2184" "1.2166"
[321] "1.2006" "1.1904" "1.1957" "1.1913" "1.1883" "1.1894" "1.2087" "1.2092"
[329] "1.2054" "1.2095" "1.2164" "1.2082" "1.2066" "1.2111" "1.2092" "1.221"
[337] "1.2177" "1.2115" "1.2069" "1.211" "1.2062" "1.2229" "1.2239" "1.2324"
[345] "1.2285" "1.2272" "1.2289" "1.2263" "1.2228" "1.2331" "1.2472" "1.2551"
[353] "1.2523" "1.2564" "1.2617" "1.2548" "1.2607" "1.2642" "1.2621" "1.2636"
[361] "1.2616" "1.2635" "1.2771" "1.2882" "1.2854" "1.2824" "1.2947" "1.2954"
[369] "1.2953" "1.2856" "1.2863" "1.2957" "1.2905" "1.292" "1.2981" "1.2966"
[377] "1.3077" "1.3058" "1.3049" "1.2996" "1.2967" "1.2868" "1.282" "1.2922"
[385] "1.2985" "1.2971" "1.2819" "1.2923" "1.286" "1.281" "1.2883" "1.2959"
[393] "1.2964" "1.2943" "1.2926" "1.2982" "1.305" "1.3175" "1.3199" "1.3279"
[401] "1.3378" "1.3373" "1.3383" "1.3372" "1.3416" "1.3409" "1.3346" "1.3246"
[409] "1.3197" "1.3115" "1.3144" "1.3101" "1.3216" "1.3257" "1.3165" "1.326"
[417] "1.3203" "1.3193" "1.3055" "1.3039" "1.3041" "1.304" "1.3016" "1.2967"
[425] "1.2855" "1.2777" "1.2762" "1.2764" "1.2844" "1.2958" "1.3001" "1.3061"
[433] "1.3027" "1.3035" "1.3035" "1.3026" "1.3005" "1.3025" "1.3065" "1.2963"
[441] "1.2936" "1.3083" "1.306" "1.3085" "1.3091" "1.3232" "1.3139" "1.3143"
[449] "1.3103" "1.32" "1.3183" "1.3224" "1.3365" "1.3507" "1.3621" "1.3604"
[457] "1.3608" "1.3633" "1.3527" "1.3542" "1.3456" "1.3384" "1.3394" "1.3378"
[465] "1.3264" "1.3401" "1.3383" "1.3317" "1.3268" "1.3191" "1.3305" "1.33"
[473] "1.3456" "1.3435" "1.33" "1.3314" "1.3294" "1.3295" "1.3247" "1.3238"
[481] "1.3213" "1.3146" "1.3089" "1.3033" "1.302" "1.3024" "1.3026" "1.2971"
[489] "1.2955" "1.2921" "1.289" "1.2977" "1.2911" "1.2917" "1.2856" "1.2874"
[497] "1.2754" "1.2705" "1.2748" "1.2737" "1.2711" "1.2792" "1.2784" "1.2792"
[505] "1.2606" "1.2606" "1.259" "1.2509" "1.2474" "1.2414" "1.2377" "1.2267"
[513] "1.2312" "1.2392" "1.2315" "1.2301" "1.2282" "1.2304" "1.2305" "1.2413"
[521] "1.2409" "1.2323" "1.2335" "1.2254" "1.2309" "1.2315" "1.2245" "1.2276"
[529] "1.2132" "1.2211" "1.2158" "1.2238" "1.2237" "1.2236" "1.2219" "1.2191"
[537] "1.2039" "1.2079" "1.2071" "1.2175" "1.2172" "1.2168" "1.2111" "1.2047"
[545] "1.2085" "1.21" "1.2081" "1.2139" "1.225" "1.2293" "1.2359" "1.2331"
[553] "1.2338" "1.2337" "1.2219" "1.2256" "1.2233" "1.2279" "1.2247" "1.2064"
[561] "1.2042" "1.1983" "1.2022" "1.2055" "1.2039" "1.2026" "1.2034" "1.2168"
[569] "1.2163" "1.2191" "1.2268" "1.2296" "1.2385" "1.2412" "1.2353" "1.2374"
[577] "1.2381" "1.2372" "1.2397" "1.2372" "1.2348" "1.2357" "1.2309" "1.2288"
[585] "1.2148" "1.2168" "1.2155" "1.2169" "1.2208" "1.2138" "1.2122" "1.2087"
[593] "1.2091" "1.2112" "1.2042" "1.2045" "1.2058" "1.2051" "1.2001" "1.2006"
[601] "1.2052" "1.2157" "1.2294" "1.2319" "1.2203" "1.2226" "1.2276" "1.2231"
[609] "1.2198" "1.2246" "1.2165" "1.2106" "1.2063" "1.1968" "1.2031" "1.1922"
[617] "1.1989" "1.1983" "1.2023" "1.1802" "1.1823" "1.1857" "1.1804" "1.1843"
[625] "1.2073" "1.2116" "1.2126" "1.2061" "1.1953" "1.1947" "1.1826" "1.1907"
[633] "1.1887" "1.1851" "1.1885" "1.1873" "1.1836" "1.1926" "1.2044" "1.1932"
[641] "1.1912" "1.1924" "1.1975" "1.2096" "1.2101" "1.209" "1.2058" "1.2318"
[649] "1.232" "1.2224" "1.2187" "1.2118" "1.2173" "1.2132" "1.2196" "1.2276"
[657] "1.2353" "1.2344" "1.2261" "1.2251" "1.235" "1.2278" "1.2235" "1.2256"
[665] "1.2299" "1.2361" "1.2356" "1.2192" "1.2147" "1.2143" "1.2402" "1.2484"
[673] "1.2418" "1.2444" "1.2629" "1.2595" "1.2576" "1.2663" "1.2724" "1.2824"
[681] "1.2858" "1.2741" "1.2816" "1.2802" "1.268" "1.2764" "1.2713" "1.2529"
[689] "1.2583" "1.2524" "1.2585" "1.2461" "1.2384" "1.2468" "1.2563" "1.2517"
[697] "1.2575" "1.2692" "1.271" "1.2607" "1.2536" "1.2373" "1.2493" "1.2635"
[705] "1.2692" "1.2749" "1.2828" "1.2737" "1.2634" "1.2679" "1.2756" "1.2657"
[713] "1.2592" "1.263" "1.2496" "1.2499" "1.2407" "1.2392" "1.2434" "1.2418"
[721] "1.2403" "1.2337" "1.2339" "1.223" "1.2254" "1.2187" "1.2239" "1.2258"
[729] "1.2218" "1.2087" "1.2074" "1.2102" "1.1975" "1.2019" "1.1994" "1.1902"
[737] "1.1828" "1.1766" "1.1823" "1.1899" "1.1909" "1.191" "1.1778" "1.1802"
[745] "1.1765" "1.168" "1.16" "1.1497" "1.1483" "1.1424" "1.1449" "1.1473"
[753] "1.1468" "1.1589" "1.1622" "1.1736" "1.1684" "1.1673" "1.1748" "1.1781"
[761] "1.1786" "1.1694" "1.1623" "1.1629" "1.1579" "1.1615" "1.1669" "1.1634"
[769] "1.1688" "1.1788" "1.1788" "1.1781" "1.1768" "1.1579" "1.1686" "1.1692"
[777] "1.1671" "1.1652" "1.1413" "1.1487" "1.1493" "1.1466" "1.1464" "1.1468"
[785] "1.1312" "1.129" "1.1212" "1.1235" "1.1281" "1.1172" "1.1217" "1.1172"
[793] "1.1135" "1.1071" "1.0923" "1.0818" "1.0783" "1.0849" "1.0965" "1.0927"
[801] "1.0828" "1.0907" "1.0816" "1.0888" "1.0894" "1.1009" "1.1109" "1.1065"
[809] "1.1188" "1.1247" "1.127" "1.1277" "1.1312" "1.1295" "1.1326" "1.1353"
[817] "1.1392" "1.1333" "1.1307" "1.1169" "1.1318" "1.142" "1.1462" "1.1489"
[825] "1.1477" "1.1467" "1.1401" "1.1343" "1.1284" "1.1205" "1.1231" "1.1138"
[833] "1.1319" "1.1299" "1.1315" "1.1342" "1.1355" "1.1326" "1.136" "1.1466"
[841] "1.1457" "1.1535" "1.1543" "1.1427" "1.1413" "1.1432" "1.1551" "1.1565"
[849] "1.1539" "1.1655" "1.1655" "1.1699" "1.1797" "1.1854" "1.1751" "1.1734"
[857] "1.1748" "1.1699" "1.1726" "1.1813" "1.1775" "1.1691" "1.1723" "1.1672"
[865] "1.1822" "1.1756" "1.1738" "1.1901" "1.1813" "1.179" "1.172" "1.1689"
[873] "1.1644" "1.1652" "1.1492" "1.1458" "1.1499" "1.1518" "1.1597" "1.1466"
[881] "1.1435" "1.1427" "1.1344" "1.1218" "1.1239" "1.1131" "1.0956" "1.1025"
[889] "1.0973" "1.1008" "1.0944" "1.0971" "1.092" "1.0836" "1.0784" "1.0737"
[897] "1.0735" "1.0805" "1.0742" "1.066" "1.0582" "1.072" "1.0702" "1.083"
[905] "1.0891" "1.0895" "1.073" "1.0723" "1.0667" "1.0691" "1.0634" "1.0572"
[913] "1.0592" "1.057" "1.0586" "1.0801" "1.0775" "1.0864" "1.1028" "1.108"
[921] "1.1042" "1.1039" "1.0963" "1.0966" "1.0919" "1.08" "1.0782" "1.0822"
[929] "1.0753" "1.0774" "1.0721" "1.0838" "1.0763" "1.0717" "1.0714" "1.0716"
[937] "1.0793" "1.0758" "1.0731" "1.0706" "1.0808" "1.0789" "1.0813" "1.091"
[945] "1.0822" "1.0729" "1.0816" "1.0748" "1.0868" "1.0808" "1.087" "1.0784"
[953] "1.0757" "1.0718" "1.0653" "1.0653" "1.0652" "1.0564" "1.0526" "1.0577"
[961] "1.0549" "1.0503" "1.0507" "1.0377" "1.0425" "1.0488" "1.0392" "1.0446"
[969] "1.0487" "1.0422" "1.0376" "1.0296" "1.0282" "1.0255" "1.0273" "1.024"
[977] "1.0307" "1.0212" "1.0221" "1.0156" "1.0067" "1.0111" "1.0093" "1.0006"
[985] "0.9991" "1.0018" "0.9967" "0.9871" "0.9927" "0.9934" "0.9927" "0.991"
[993] "0.9905" "1.0024" "1.0034" "1.0019" "1.0125" "1.0065" "1.0029" "1.0095"
[1001] "1.0068" "1.0081" "1.0126" "1.0107" "1.0013" "0.9955" "1.0024" "0.9944"
[1009] "0.9974" "0.9864" "0.9825" "0.982" "0.9745" "0.9763" "0.9738" "0.9775"
[1017] "0.9768" "0.9748" "0.9735" "0.9763" "0.9823" "0.981" "0.9873" "0.9857"
[1025] "0.9875" "0.9814" "0.98" "0.9808" "0.9865" "0.989" "0.9835" "0.9861"
[1033] "0.986" "0.9779" "0.9796" "0.9771" "0.9828" "0.9831" "0.979" "0.9814"
[1041] "0.9725" "0.9649" "0.9683" "0.981" "0.9757" "0.9749" "0.976" "0.9794"
[1049] "0.9918" "0.9975" "0.9947" "0.991" "0.9821" "0.9833" "0.9843" "0.9826"
[1057] "0.9774" "0.9701" "0.9697" "0.977" "0.9762" "0.9792" "0.9799" "0.9825"
[1065] "0.9777" "0.9857" "0.9799" "0.978" "0.9729" "0.9687" "0.9698" "0.9689"
[1073] "0.9836" "0.9873" "0.976" "0.9783" "0.9835" "0.9821" "1.0008" "1.0014"
[1081] "0.9915" "0.991" "1.0086" "1.0146" "1.0058" "1.0064" "1.0127" "1.0024"
[1089] "0.9873" "0.9836" "0.9898" "0.993" "0.9828" "0.9725" "0.979" "0.978"
[1097] "0.9838" "0.9913" "0.9975" "0.9824" "0.9917" "0.9712" "0.9781" "0.9636"
[1105] "0.9592" "0.9561" "0.9484" "0.9426" "0.9478" "0.9417" "0.9452" "0.9417"
[1113] "0.9459" "0.9452" "0.9386" "0.9371" "0.9435" "0.9313" "0.9387" "0.9375"
[1121] "0.932" "0.9255" "0.919" "0.9188" "0.9213" "0.926" "0.9213" "0.9202"
[1129] "0.9152" "0.9124" "0.903" "0.9062" "0.9118" "0.9118" "0.9061" "0.9088"
[1137] "0.9125" "0.9144" "0.9083" "0.9032" "0.9008" "0.9038" "0.8971" "0.8969"
[1145] "0.8892" "0.8872" "0.8882" "0.8886" "0.8895" "0.888" "0.8803" "0.8802"
[1153] "0.8803" "0.8794" "0.8798" "0.8763" "0.8778" "0.8786" "0.8818" "0.8803"
[1161] "0.8786" "0.8724" "0.8746" "0.8737" "0.8759" "0.8795" "0.8817" "0.8814"
[1169] "0.8829" "0.8792" "0.8853" "0.8803" "0.8734" "0.8733" "0.8741" "0.8797"
[1177] "0.8764" "0.8712" "0.8682" "0.8649" "0.8679" "0.8651" "0.8649" "0.8682"
[1185] "0.8724" "0.8747" "0.8701" "0.8743" "0.8692" "0.8715" "0.8705" "0.8693"
[1193] "0.8731" "0.8753" "0.8794" "0.874" "0.8664" "0.8664" "0.8683" "0.8644"
[1201] "0.8632" "0.8637" "0.8642" "0.8624" "0.8578" "0.8663" "0.8767" "0.8856"
[1209] "0.883" "0.884" "0.881" "0.8819" "0.8817" "0.8922" "0.8927" "0.8919"
[1217] "0.8909" "0.8921" "0.8909" "0.8905" "0.8954" "0.9036" "0.9038" "0.8813"
[1225] "0.8823" "0.8798" "0.8943" "0.8973" "0.8983" "0.9012" "0.9049" "0.9016"
[1233] "0.8975" "0.8938" "0.8908" "0.885" "0.8911" "0.8889" "0.8919" "0.8902"
[1241] "0.8925" "0.8898" "0.8887" "0.8831" "0.8788" "0.8818" "0.8795" "0.8778"
[1249] "0.8791" "0.8824" "0.8793" "0.8845" "0.8825" "0.8803" "0.8842" "0.8919"
[1257] "0.893" "0.8972" "0.9014" "0.8961" "0.8961" "0.9056" "0.9097" "0.9042"
[1265] "0.9064" "0.9005" "0.8911" "0.8889" "0.8917" "0.8887" "0.8969" "0.9009"
[1273] "0.9026" "0.9022" "0.9052" "0.9097" "0.904" "0.9062" "0.9136" "0.9193"
[1281] "0.9214" "0.9174" "0.9117" "0.9209" "0.9189" "0.9125" "0.9131" "0.9205"
[1289] "0.9219" "0.9176" "0.9164" "0.92" "0.9259" "0.9258" "0.9256" "0.9269"
[1297] "0.9219" "0.906" "0.9052" "0.8964" "0.9047" "0.8952" "0.8855" "0.8891"
[1305] "0.897" "0.9072" "0.9158" "0.9095" "0.9122" "0.9042" "0.909" "0.9108"
[1313] "0.9112" "0.9216" "0.9128" "0.9149" "0.9138" "0.9144" "0.9114" "0.8968"
[1321] "0.8991" "0.8936" "0.8853" "0.8763" "0.8768" "0.8805" "0.8806" "0.8788"
[1329] "0.8817" "0.8755" "0.8751" "0.8768" "0.8764" "0.8793" "0.8708" "0.8676"
[1337] "0.8776" "0.8723" "0.863" "0.8516" "0.8583" "0.8539" "0.8538" "0.8611"
[1345] "0.8545" "0.8459" "0.8384" "0.8422" "0.8453" "0.8497" "0.8455" "0.848"
[1353] "0.8511" "0.8622" "0.8611" "0.8607" "0.8528" "0.8552" "0.8513" "0.8563"
[1361] "0.8581" "0.8662" "0.8492" "0.8542" "0.8474" "0.8494" "0.8468" "0.8466"
[1369] "0.8543" "0.8465" "0.8513" "0.8478" "0.848" "0.8558" "0.8552" "0.8584"
[1377] "0.8591" "0.8604" "0.8585" "0.8685" "0.8754" "0.8777" "0.8815" "0.8834"
[1385] "0.8768" "0.8745" "0.8773" "0.885" "0.8827" "0.8866" "0.8919" "0.8939"
[1393] "0.8903" "0.8907" "0.8876" "0.9023" "0.9013" "0.8947" "0.8973" "0.9002"
[1401] "0.8989" "0.8827" "0.8778" "0.8791" "0.8849" "0.884" "0.8945" "0.9018"
[1409] "0.894" "0.902" "0.9032" "0.8845" "0.8772" "0.8832" "0.884" "0.886"
[1417] "0.8952" "0.8935" "0.8922" "0.8889" "0.899" "0.902" "0.8996" "0.8947"
[1425] "0.9064" "0.9182" "0.9202" "0.9272" "0.9357" "0.9312" "0.9307" "0.9279"
[1433] "0.9305" "0.9363" "0.9269" "0.9248" "0.9163" "0.9105" "0.9064" "0.9056"
[1441] "0.9146" "0.907" "0.9213" "0.9113" "0.909" "0.9178" "0.9275" "0.9288"
[1449] "0.9227" "0.922" "0.9325" "0.9322" "0.9425" "0.9407" "0.9406" "0.9293"
[1457] "0.9197" "0.9193" "0.9228" "0.9146" "0.9294" "0.9407" "0.929" "0.94"
[1465] "0.9404" "0.9396" "0.9412" "0.9428" "0.9545" "0.9523" "0.9412" "0.9401"
[1473] "0.9497" "0.9545" "0.9458" "0.953" "0.9423" "0.9305" "0.9285" "0.931"
[1481] "0.924" "0.9146" "0.9059" "0.8903" "0.8966" "0.8984" "0.8839" "0.8748"
[1489] "0.8782" "0.8804" "0.8895" "0.8943" "0.8828" "0.881" "0.8908" "0.8735"
[1497] "0.8684" "0.865" "0.8561" "0.8406" "0.8436" "0.8427" "0.8429" "0.8474"
[1505] "0.8488" "0.8535" "0.8569" "0.8596" "0.8583" "0.862" "0.8673" "0.8531"
[1513] "0.8559" "0.8587" "0.8667" "0.873" "0.8646" "0.8554" "0.8417" "0.8482"
[1521] "0.8324" "0.8252" "0.8307" "0.8386" "0.8377" "0.8452" "0.8411" "0.8525"
[1529] "0.8496" "0.8511" "0.8627" "0.8648" "0.872" "0.8721" "0.8695" "0.8703"
[1537] "0.8786" "0.873" "0.8763" "0.8802" "0.8765" "0.8832" "0.8861" "0.8757"
[1545] "0.877" "0.889" "0.8524" "0.8476" "0.8541" "0.8526" "0.8615" "0.8693"
[1553] "0.8654" "0.8614" "0.8609" "0.8735" "0.8676" "0.8818" "0.8886" "0.9"
[1561] "0.8902" "0.8906" "0.8909" "0.8965" "0.9007" "0.9021" "0.9012" "0.8918"
[1569] "0.8972" "0.9023" "0.9127" "0.914" "0.9072" "0.9118" "0.9011" "0.9132"
[1577] "0.9031" "0.8973" "0.9047" "0.9084" "0.9031" "0.9028" "0.9142" "0.9264"
[1585] "0.9243" "0.9276" "0.9389" "0.939" "0.941" "0.9332" "0.9363" "0.922"
[1593] "0.9216" "0.9353" "0.9352" "0.9344" "0.9349" "0.9499" "0.9527" "0.9523"
[1601] "0.9483" "0.9542" "0.9537" "0.9487" "0.9493" "0.9556" "0.9504" "0.9415"
[1609] "0.9401" "0.9327" "0.9413" "0.9405" "0.947" "0.9538" "0.964" "0.9565"
[1617] "0.9524" "0.9636" "0.9583" "0.9527" "0.949" "0.9668" "0.9554" "0.9485"
[1625] "0.9433" "0.9355" "0.933" "0.9303" "0.9359" "0.9262" "0.9143" "0.8981"
[1633] "0.9098" "0.9111" "0.9" "0.8875" "0.8942" "0.8922" "0.9065" "0.9147"
[1641] "0.9029" "0.9079" "0.9107" "0.8978" "0.8952" "0.8984" "0.8947" "0.8913"
[1649] "0.9116" "0.9085" "0.9163" "0.9193" "0.9302" "0.9376" "0.9461" "0.9497"
[1657] "0.9573" "0.954" "0.9537" "0.9576" "0.9594" "0.959" "0.9564" "0.9625"
[1665] "0.9673" "0.9538" "0.9564" "0.9553" "0.9555" "0.9568" "0.9647" "0.9712"
[1673] "0.9715" "0.9656" "0.9603" "0.9701" "0.9715" "0.9672" "0.9663" "0.9647"
[1681] "0.962" "0.9716" "0.9613" "0.9616" "0.9543" "0.9593" "0.964" "0.9659"
[1689] "0.9725" "0.9667" "0.9714" "0.9639" "0.9813" "0.9898" "1.0068" "1.0022"
[1697] "0.9857" "0.9857" "0.9919" "0.9804" "0.9778" "0.9867" "0.9801" "0.9868"
[1705] "0.9934" "0.9903" "0.9767" "0.9835" "0.9748" "0.9717" "0.971" "0.9791"
[1713] "0.9848" "0.9976" "1.0019" "1.0008" "1.0027" "1.0097" "1.0089" "1.0105"
[1721] "1.0093" "1.0094" "1.0225" "1.0276" "1.0308" "1.0256" "1.0229" "1.0284"
[1729] "1.0388" "1.0368" "1.0305" "1.009" "1.0046" "1.0072" "1.0089" "1.0134"
[1737] "1.0142" "1.0089" "1.0074" "1.0084" "1.0096" "1.0128" "1.0146" "1.0021"
[1745] "1.0038" "1.0128" "1.0141" "1.0175" "1.0236" "1.0239" "1.0182" "1.0015"
[1753] "1.0057" "1.0091" "1.0097" "1.0077" "1.0101" "1.0194" "1.0215" "1.0315"
[1761] "1.0311" "1.0279" "1.038" "1.0408" "1.0336" "1.0301" "1.0308" "1.0406"
[1769] "1.0402" "1.0424" "1.0405" "1.0408" "1.0504" "1.0491" "1.0507" "1.0572"
[1777] "1.0453" "1.0534" "1.0552" "1.0633" "1.0683" "1.0758" "1.0797" "1.0777"
[1785] "1.0818" "1.0868" "1.0869" "1.0758" "1.0778" "1.0668" "1.0631" "1.0657"
[1793] "1.0729" "1.0737" "1.0686" "1.0719" "1.0728" "1.0665" "1.0563" "1.0483"
[1801] "1.0414" "1.0476" "1.043" "1.0509" "1.0388" "1.0406" "1.0397" "1.0372"
[1809] "1.0369" "1.0362" "1.0342" "1.052" "1.0592" "1.0613" "1.0565" "1.0594"
[1817] "1.0682" "1.0662" "1.0613" "1.0573" "1.0454" "1.045" "1.0452" "1.0433"
[1825] "1.0512" "1.0606" "1.0667" "1.0517" "1.0517" "1.0527" "1.0553" "1.0667"
[1833] "1.0638" "1.0668" "1.0737" "1.0705" "1.074" "1.0791" "1.0761" "1.0645"
[1841] "1.0665" "1.0694" "1.068" "1.0603" "1.0627" "1.0698" "1.0496" "1.0499"
[1849] "1.0462" "1.041" "1.0146" "1.0202" "1.0201" "1.0168" "1.0183" "1.0124"
[1857] "1.0204" "1.0182" "1.0222" "1.0221" "1.0232" "1.0241" "1.0264" "1.0328"
[1865] "1.0364" "1.0388" "1.0443" "1.0321" "1.028" "1.0313" "1.0339" "1.0388"
[1873] "1.034" "1.0345" "1.0392" "1.0437" "1.0474" "1.0474" "1.0466" "1.0385"
[1881] "1.0316" "1.0315" "1.0382" "1.0382" "1.0434" "1.0456" "1.0479" "1.0473"
[1889] "1.0535" "1.0627" "1.0585" "1.0572" "1.0639" "1.0634" "1.069" "1.0685"
[1897] "1.0676" "1.0622" "1.0645" "1.0732" "1.0735" "1.0786" "1.0799" "1.0667"
[1905] "1.0564" "1.0589" "1.0597" "1.0604" "1.0666" "1.063" "1.0614" "1.0634"
[1913] "1.0581" "1.0586" "1.0646" "1.0636" "1.0668" "1.0786" "1.0787" "1.0765"
[1921] "1.0867" "1.0778" "1.0818" "1.0812" "1.0726" "1.0752" "1.0772" "1.0772"
[1929] "1.0742" "1.0711" "1.0692" "1.0815" "1.0898" "1.0928" "1.0896" "1.0864"
[1937] "1.0915" "1.1012" "1.0966" "1.0901" "1.0949" "1.0932" "1.0891" "1.0953"
[1945] "1.0863" "1.0908" "1.0834" "1.0866" "1.0899" "1.0887" "1.0986" "1.1018"
[1953] "1.1031" "1.1037" "1.0969" "1.0992" "1.1163" "1.1232" "1.1253" "1.1176"
[1961] "1.1238" "1.1244" "1.1312" "1.1342" "1.1333" "1.1246" "1.1292" "1.1263"
[1969] "1.1337" "1.1337" "1.1338" "1.1384" "1.141" "1.1529" "1.1582" "1.1584"
[1977] "1.1567" "1.1572" "1.1575" "1.1616" "1.1612" "1.1626" "1.1653" "1.1744"
[1985] "1.152" "1.1569" "1.1659" "1.1632" "1.1743" "1.179" "1.1789"
>
> # or equivalently
> ans = xpathApply(e, "//o:Cube[@currency='USD']", xmlGetAttr, "rate", namespaces = "o")
> # free(e)
>
>
>
> # Using a namespace
> f = system.file("exampleData", "SOAPNamespaces.xml", package = "XML")
> z = xmlParse(f)
> getNodeSet(z, "/a:Envelope/a:Body", c("a" = "http://schemas.xmlsoap.org/soap/envelope/"))
[[1]]
<SOAP-ENV:Body>
<namesp1:c2fResponse xmlns:namesp1="http://www.soaplite.com/Temperatures">
<s-gensym3 xsi:type="xsd:float">99.5</s-gensym3>
</namesp1:c2fResponse>
</SOAP-ENV:Body>
attr(,"class")
[1] "XMLNodeSet"
> getNodeSet(z, "//a:Body", c("a" = "http://schemas.xmlsoap.org/soap/envelope/"))
[[1]]
<SOAP-ENV:Body>
<namesp1:c2fResponse xmlns:namesp1="http://www.soaplite.com/Temperatures">
<s-gensym3 xsi:type="xsd:float">99.5</s-gensym3>
</namesp1:c2fResponse>
</SOAP-ENV:Body>
attr(,"class")
[1] "XMLNodeSet"
> # free(z)
>
>
> # Get two items back with namespaces
> f = system.file("exampleData", "gnumeric.xml", package = "XML")
> z = xmlParse(f)
> getNodeSet(z, "//gmr:Item/gmr:name", c(gmr="http://www.gnome.org/gnumeric/v2"))
[[1]]
<gmr:name>Application</gmr:name>
[[2]]
<gmr:name>Author</gmr:name>
attr(,"class")
[1] "XMLNodeSet"
>
> #free(z)
>
> #####
> # European Central Bank (ECB) exchange rate data
>
> # Data is available from "http://www.ecb.int/stats/eurofxref/eurofxref-hist.xml"
> # or locally.
>
> uri = system.file("exampleData", "eurofxref-hist.xml.gz", package = "XML")
> doc = xmlParse(uri)
>
> # The default namespace for all elements is given by
> namespaces <- c(ns="http://www.ecb.int/vocabulary/2002-08-01/eurofxref")
>
>
> # Get the data for Slovenian currency for all time periods.
> # Find all the nodes of the form <Cube currency="SIT"...>
>
> slovenia = getNodeSet(doc, "//ns:Cube[@currency='SIT']", namespaces )
>
> # Now we have a list of such nodes, loop over them
> # and get the rate attribute
> rates = as.numeric( sapply(slovenia, xmlGetAttr, "rate") )
> # Now put the date on each element
> # find nodes of the form <Cube time=".." ... >
> # and extract the time attribute
> names(rates) = sapply(getNodeSet(doc, "//ns:Cube[@time]", namespaces ),
+ xmlGetAttr, "time")
>
> # Or we could turn these into dates with strptime()
> strptime(names(rates), "%Y-%m-%d")
[1] "2006-10-06" "2006-10-05" "2006-10-04" "2006-10-03" "2006-10-02"
[6] "2006-09-29" "2006-09-28" "2006-09-27" "2006-09-26" "2006-09-25"
[11] "2006-09-22" "2006-09-21" "2006-09-20" "2006-09-19" "2006-09-18"
[16] "2006-09-15" "2006-09-14" "2006-09-13" "2006-09-12" "2006-09-11"
[21] "2006-09-08" "2006-09-07" "2006-09-06" "2006-09-05" "2006-09-04"
[26] "2006-09-01" "2006-08-31" "2006-08-30" "2006-08-29" "2006-08-28"
[31] "2006-08-25" "2006-08-24" "2006-08-23" "2006-08-22" "2006-08-21"
[36] "2006-08-18" "2006-08-17" "2006-08-16" "2006-08-15" "2006-08-14"
[41] "2006-08-11" "2006-08-10" "2006-08-09" "2006-08-08" "2006-08-07"
[46] "2006-08-04" "2006-08-03" "2006-08-02" "2006-08-01" "2006-07-31"
[51] "2006-07-28" "2006-07-27" "2006-07-26" "2006-07-25" "2006-07-24"
[56] "2006-07-21" "2006-07-20" "2006-07-19" "2006-07-18" "2006-07-17"
[61] "2006-07-14" "2006-07-13" "2006-07-12" "2006-07-11" "2006-07-10"
[66] "2006-07-07" "2006-07-06" "2006-07-05" "2006-07-04" "2006-07-03"
[71] "2006-06-30" "2006-06-29" "2006-06-28" "2006-06-27" "2006-06-26"
[76] "2006-06-23" "2006-06-22" "2006-06-21" "2006-06-20" "2006-06-19"
[81] "2006-06-16" "2006-06-15" "2006-06-14" "2006-06-13" "2006-06-12"
[86] "2006-06-09" "2006-06-08" "2006-06-07" "2006-06-06" "2006-06-05"
[91] "2006-06-02" "2006-06-01" "2006-05-31" "2006-05-30" "2006-05-29"
[96] "2006-05-26" "2006-05-25" "2006-05-24" "2006-05-23" "2006-05-22"
[101] "2006-05-19" "2006-05-18" "2006-05-17" "2006-05-16" "2006-05-15"
[106] "2006-05-12" "2006-05-11" "2006-05-10" "2006-05-09" "2006-05-08"
[111] "2006-05-05" "2006-05-04" "2006-05-03" "2006-05-02" "2006-04-28"
[116] "2006-04-27" "2006-04-26" "2006-04-25" "2006-04-24" "2006-04-21"
[121] "2006-04-20" "2006-04-19" "2006-04-18" "2006-04-13" "2006-04-12"
[126] "2006-04-11" "2006-04-10" "2006-04-07" "2006-04-06" "2006-04-05"
[131] "2006-04-04" "2006-04-03" "2006-03-31" "2006-03-30" "2006-03-29"
[136] "2006-03-28" "2006-03-27" "2006-03-24" "2006-03-23" "2006-03-22"
[141] "2006-03-21" "2006-03-20" "2006-03-17" "2006-03-16" "2006-03-15"
[146] "2006-03-14" "2006-03-13" "2006-03-10" "2006-03-09" "2006-03-08"
[151] "2006-03-07" "2006-03-06" "2006-03-03" "2006-03-02" "2006-03-01"
[156] "2006-02-28" "2006-02-27" "2006-02-24" "2006-02-23" "2006-02-22"
[161] "2006-02-21" "2006-02-20" "2006-02-17" "2006-02-16" "2006-02-15"
[166] "2006-02-14" "2006-02-13" "2006-02-10" "2006-02-09" "2006-02-08"
[171] "2006-02-07" "2006-02-06" "2006-02-03" "2006-02-02" "2006-02-01"
[176] "2006-01-31" "2006-01-30" "2006-01-27" "2006-01-26" "2006-01-25"
[181] "2006-01-24" "2006-01-23" "2006-01-20" "2006-01-19" "2006-01-18"
[186] "2006-01-17" "2006-01-16" "2006-01-13" "2006-01-12" "2006-01-11"
[191] "2006-01-10" "2006-01-09" "2006-01-06" "2006-01-05" "2006-01-04"
[196] "2006-01-03" "2006-01-02" "2005-12-30" "2005-12-29" "2005-12-28"
[201] "2005-12-27" "2005-12-23" "2005-12-22" "2005-12-21" "2005-12-20"
[206] "2005-12-19" "2005-12-16" "2005-12-15" "2005-12-14" "2005-12-13"
[211] "2005-12-12" "2005-12-09" "2005-12-08" "2005-12-07" "2005-12-06"
[216] "2005-12-05" "2005-12-02" "2005-12-01" "2005-11-30" "2005-11-29"
[221] "2005-11-28" "2005-11-25" "2005-11-24" "2005-11-23" "2005-11-22"
[226] "2005-11-21" "2005-11-18" "2005-11-17" "2005-11-16" "2005-11-15"
[231] "2005-11-14" "2005-11-11" "2005-11-10" "2005-11-09" "2005-11-08"
[236] "2005-11-07" "2005-11-04" "2005-11-03" "2005-11-02" "2005-11-01"
[241] "2005-10-31" "2005-10-28" "2005-10-27" "2005-10-26" "2005-10-25"
[246] "2005-10-24" "2005-10-21" "2005-10-20" "2005-10-19" "2005-10-18"
[251] "2005-10-17" "2005-10-14" "2005-10-13" "2005-10-12" "2005-10-11"
[256] "2005-10-10" "2005-10-07" "2005-10-06" "2005-10-05" "2005-10-04"
[261] "2005-10-03" "2005-09-30" "2005-09-29" "2005-09-28" "2005-09-27"
[266] "2005-09-26" "2005-09-23" "2005-09-22" "2005-09-21" "2005-09-20"
[271] "2005-09-19" "2005-09-16" "2005-09-15" "2005-09-14" "2005-09-13"
[276] "2005-09-12" "2005-09-09" "2005-09-08" "2005-09-07" "2005-09-06"
[281] "2005-09-05" "2005-09-02" "2005-09-01" "2005-08-31" "2005-08-30"
[286] "2005-08-29" "2005-08-26" "2005-08-25" "2005-08-24" "2005-08-23"
[291] "2005-08-22" "2005-08-19" "2005-08-18" "2005-08-17" "2005-08-16"
[296] "2005-08-15" "2005-08-12" "2005-08-11" "2005-08-10" "2005-08-09"
[301] "2005-08-08" "2005-08-05" "2005-08-04" "2005-08-03" "2005-08-02"
[306] "2005-08-01" "2005-07-29" "2005-07-28" "2005-07-27" "2005-07-26"
[311] "2005-07-25" "2005-07-22" "2005-07-21" "2005-07-20" "2005-07-19"
[316] "2005-07-18" "2005-07-15" "2005-07-14" "2005-07-13" "2005-07-12"
[321] "2005-07-11" "2005-07-08" "2005-07-07" "2005-07-06" "2005-07-05"
[326] "2005-07-04" "2005-07-01" "2005-06-30" "2005-06-29" "2005-06-28"
[331] "2005-06-27" "2005-06-24" "2005-06-23" "2005-06-22" "2005-06-21"
[336] "2005-06-20" "2005-06-17" "2005-06-16" "2005-06-15" "2005-06-14"
[341] "2005-06-13" "2005-06-10" "2005-06-09" "2005-06-08" "2005-06-07"
[346] "2005-06-06" "2005-06-03" "2005-06-02" "2005-06-01" "2005-05-31"
[351] "2005-05-30" "2005-05-27" "2005-05-26" "2005-05-25" "2005-05-24"
[356] "2005-05-23" "2005-05-20" "2005-05-19" "2005-05-18" "2005-05-17"
[361] "2005-05-16" "2005-05-13" "2005-05-12" "2005-05-11" "2005-05-10"
[366] "2005-05-09" "2005-05-06" "2005-05-05" "2005-05-04" "2005-05-03"
[371] "2005-05-02" "2005-04-29" "2005-04-28" "2005-04-27" "2005-04-26"
[376] "2005-04-25" "2005-04-22" "2005-04-21" "2005-04-20" "2005-04-19"
[381] "2005-04-18" "2005-04-15" "2005-04-14" "2005-04-13" "2005-04-12"
[386] "2005-04-11" "2005-04-08" "2005-04-07" "2005-04-06" "2005-04-05"
[391] "2005-04-04" "2005-04-01" "2005-03-31" "2005-03-30" "2005-03-29"
[396] "2005-03-24" "2005-03-23" "2005-03-22" "2005-03-21" "2005-03-18"
[401] "2005-03-17" "2005-03-16" "2005-03-15" "2005-03-14" "2005-03-11"
[406] "2005-03-10" "2005-03-09" "2005-03-08" "2005-03-07" "2005-03-04"
[411] "2005-03-03" "2005-03-02" "2005-03-01" "2005-02-28" "2005-02-25"
[416] "2005-02-24" "2005-02-23" "2005-02-22" "2005-02-21" "2005-02-18"
[421] "2005-02-17" "2005-02-16" "2005-02-15" "2005-02-14" "2005-02-11"
[426] "2005-02-10" "2005-02-09" "2005-02-08" "2005-02-07" "2005-02-04"
[431] "2005-02-03" "2005-02-02" "2005-02-01" "2005-01-31" "2005-01-28"
[436] "2005-01-27" "2005-01-26" "2005-01-25" "2005-01-24" "2005-01-21"
[441] "2005-01-20" "2005-01-19" "2005-01-18" "2005-01-17" "2005-01-14"
[446] "2005-01-13" "2005-01-12" "2005-01-11" "2005-01-10" "2005-01-07"
[451] "2005-01-06" "2005-01-05" "2005-01-04" "2005-01-03" "2004-12-31"
[456] "2004-12-30" "2004-12-29" "2004-12-28" "2004-12-27" "2004-12-24"
[461] "2004-12-23" "2004-12-22" "2004-12-21" "2004-12-20" "2004-12-17"
[466] "2004-12-16" "2004-12-15" "2004-12-14" "2004-12-13" "2004-12-10"
[471] "2004-12-09" "2004-12-08" "2004-12-07" "2004-12-06" "2004-12-03"
[476] "2004-12-02" "2004-12-01" "2004-11-30" "2004-11-29" "2004-11-26"
[481] "2004-11-25" "2004-11-24" "2004-11-23" "2004-11-22" "2004-11-19"
[486] "2004-11-18" "2004-11-17" "2004-11-16" "2004-11-15" "2004-11-12"
[491] "2004-11-11" "2004-11-10" "2004-11-09" "2004-11-08" "2004-11-05"
[496] "2004-11-04" "2004-11-03" "2004-11-02" "2004-11-01" "2004-10-29"
[501] "2004-10-28" "2004-10-27" "2004-10-26" "2004-10-25" "2004-10-22"
[506] "2004-10-21" "2004-10-20" "2004-10-19" "2004-10-18" "2004-10-15"
[511] "2004-10-14" "2004-10-13" "2004-10-12" "2004-10-11" "2004-10-08"
[516] "2004-10-07" "2004-10-06" "2004-10-05" "2004-10-04" "2004-10-01"
[521] "2004-09-30" "2004-09-29" "2004-09-28" "2004-09-27" "2004-09-24"
[526] "2004-09-23" "2004-09-22" "2004-09-21" "2004-09-20" "2004-09-17"
[531] "2004-09-16" "2004-09-15" "2004-09-14" "2004-09-13" "2004-09-10"
[536] "2004-09-09" "2004-09-08" "2004-09-07" "2004-09-06" "2004-09-03"
[541] "2004-09-02" "2004-09-01" "2004-08-31" "2004-08-30" "2004-08-27"
[546] "2004-08-26" "2004-08-25" "2004-08-24" "2004-08-23" "2004-08-20"
[551] "2004-08-19" "2004-08-18" "2004-08-17" "2004-08-16" "2004-08-13"
[556] "2004-08-12" "2004-08-11" "2004-08-10" "2004-08-09" "2004-08-06"
[561] "2004-08-05" "2004-08-04" "2004-08-03" "2004-08-02" "2004-07-30"
[566] "2004-07-29" "2004-07-28" "2004-07-27" "2004-07-26" "2004-07-23"
[571] "2004-07-22" "2004-07-21" "2004-07-20" "2004-07-19" "2004-07-16"
[576] "2004-07-15" "2004-07-14" "2004-07-13" "2004-07-12" "2004-07-09"
[581] "2004-07-08" "2004-07-07" "2004-07-06" "2004-07-05" "2004-07-02"
[586] "2004-07-01" "2004-06-30" "2004-06-29" "2004-06-28" "2004-06-25"
[591] "2004-06-24" "2004-06-23" "2004-06-22" "2004-06-21" "2004-06-18"
[596] "2004-06-17" "2004-06-16" "2004-06-15" "2004-06-14" "2004-06-11"
[601] "2004-06-10" "2004-06-09" "2004-06-08" "2004-06-07" "2004-06-04"
[606] "2004-06-03" "2004-06-02" "2004-06-01" "2004-05-31" "2004-05-28"
[611] "2004-05-27" "2004-05-26" "2004-05-25" "2004-05-24" "2004-05-21"
[616] "2004-05-20" "2004-05-19" "2004-05-18" "2004-05-17" "2004-05-14"
[621] "2004-05-13" "2004-05-12" "2004-05-11" "2004-05-10" "2004-05-07"
[626] "2004-05-06" "2004-05-05" "2004-05-04" "2004-05-03" "2004-04-30"
[631] "2004-04-29" "2004-04-28" "2004-04-27" "2004-04-26" "2004-04-23"
[636] "2004-04-22" "2004-04-21" "2004-04-20" "2004-04-19" "2004-04-16"
[641] "2004-04-15" "2004-04-14" "2004-04-13" "2004-04-08" "2004-04-07"
[646] "2004-04-06" "2004-04-05" "2004-04-02" "2004-04-01" "2004-03-31"
[651] "2004-03-30" "2004-03-29" "2004-03-26" "2004-03-25" "2004-03-24"
[656] "2004-03-23" "2004-03-22" "2004-03-19" "2004-03-18" "2004-03-17"
[661] "2004-03-16" "2004-03-15" "2004-03-12" "2004-03-11" "2004-03-10"
[666] "2004-03-09" "2004-03-08" "2004-03-05" "2004-03-04" "2004-03-03"
[671] "2004-03-02" "2004-03-01" "2004-02-27" "2004-02-26" "2004-02-25"
[676] "2004-02-24" "2004-02-23" "2004-02-20" "2004-02-19" "2004-02-18"
[681] "2004-02-17" "2004-02-16" "2004-02-13" "2004-02-12" "2004-02-11"
[686] "2004-02-10" "2004-02-09" "2004-02-06" "2004-02-05" "2004-02-04"
[691] "2004-02-03" "2004-02-02" "2004-01-30" "2004-01-29" "2004-01-28"
[696] "2004-01-27" "2004-01-26" "2004-01-23" "2004-01-22" "2004-01-21"
[701] "2004-01-20" "2004-01-19" "2004-01-16" "2004-01-15" "2004-01-14"
[706] "2004-01-13" "2004-01-12" "2004-01-09" "2004-01-08" "2004-01-07"
[711] "2004-01-06" "2004-01-05" "2004-01-02" "2003-12-31" "2003-12-30"
[716] "2003-12-29" "2003-12-24" "2003-12-23" "2003-12-22" "2003-12-19"
[721] "2003-12-18" "2003-12-17" "2003-12-16" "2003-12-15" "2003-12-12"
[726] "2003-12-11" "2003-12-10" "2003-12-09" "2003-12-08" "2003-12-05"
[731] "2003-12-04" "2003-12-03" "2003-12-02" "2003-12-01" "2003-11-28"
[736] "2003-11-27" "2003-11-26" "2003-11-25" "2003-11-24" "2003-11-21"
[741] "2003-11-20" "2003-11-19" "2003-11-18" "2003-11-17" "2003-11-14"
[746] "2003-11-13" "2003-11-12" "2003-11-11" "2003-11-10" "2003-11-07"
[751] "2003-11-06" "2003-11-05" "2003-11-04" "2003-11-03" "2003-10-31"
[756] "2003-10-30" "2003-10-29" "2003-10-28" "2003-10-27" "2003-10-24"
[761] "2003-10-23" "2003-10-22" "2003-10-21" "2003-10-20" "2003-10-17"
[766] "2003-10-16" "2003-10-15" "2003-10-14" "2003-10-13" "2003-10-10"
[771] "2003-10-09" "2003-10-08" "2003-10-07" "2003-10-06" "2003-10-03"
[776] "2003-10-02" "2003-10-01" "2003-09-30" "2003-09-29" "2003-09-26"
[781] "2003-09-25" "2003-09-24" "2003-09-23" "2003-09-22" "2003-09-19"
[786] "2003-09-18" "2003-09-17" "2003-09-16" "2003-09-15" "2003-09-12"
[791] "2003-09-11" "2003-09-10" "2003-09-09" "2003-09-08" "2003-09-05"
[796] "2003-09-04" "2003-09-03" "2003-09-02" "2003-09-01" "2003-08-29"
[801] "2003-08-28" "2003-08-27" "2003-08-26" "2003-08-25" "2003-08-22"
[806] "2003-08-21" "2003-08-20" "2003-08-19" "2003-08-18" "2003-08-15"
[811] "2003-08-14" "2003-08-13" "2003-08-12" "2003-08-11" "2003-08-08"
[816] "2003-08-07" "2003-08-06" "2003-08-05" "2003-08-04" "2003-08-01"
[821] "2003-07-31" "2003-07-30" "2003-07-29" "2003-07-28" "2003-07-25"
[826] "2003-07-24" "2003-07-23" "2003-07-22" "2003-07-21" "2003-07-18"
[831] "2003-07-17" "2003-07-16" "2003-07-15" "2003-07-14" "2003-07-11"
[836] "2003-07-10" "2003-07-09" "2003-07-08" "2003-07-07" "2003-07-04"
[841] "2003-07-03" "2003-07-02" "2003-07-01" "2003-06-30" "2003-06-27"
[846] "2003-06-26" "2003-06-25" "2003-06-24" "2003-06-23" "2003-06-20"
[851] "2003-06-19" "2003-06-18" "2003-06-17" "2003-06-16" "2003-06-13"
[856] "2003-06-12" "2003-06-11" "2003-06-10" "2003-06-09" "2003-06-06"
[861] "2003-06-05" "2003-06-04" "2003-06-03" "2003-06-02" "2003-05-30"
[866] "2003-05-29" "2003-05-28" "2003-05-27" "2003-05-26" "2003-05-23"
[871] "2003-05-22" "2003-05-21" "2003-05-20" "2003-05-19" "2003-05-16"
[876] "2003-05-15" "2003-05-14" "2003-05-13" "2003-05-12" "2003-05-09"
[881] "2003-05-08" "2003-05-07" "2003-05-06" "2003-05-05" "2003-05-02"
[886] "2003-04-30" "2003-04-29" "2003-04-28" "2003-04-25" "2003-04-24"
[891] "2003-04-23" "2003-04-22" "2003-04-17" "2003-04-16" "2003-04-15"
[896] "2003-04-14" "2003-04-11" "2003-04-10" "2003-04-09" "2003-04-08"
[901] "2003-04-07" "2003-04-04" "2003-04-03" "2003-04-02" "2003-04-01"
[906] "2003-03-31" "2003-03-28" "2003-03-27" "2003-03-26" "2003-03-25"
[911] "2003-03-24" "2003-03-21" "2003-03-20" "2003-03-19" "2003-03-18"
[916] "2003-03-17" "2003-03-14" "2003-03-13" "2003-03-12" "2003-03-11"
[921] "2003-03-10" "2003-03-07" "2003-03-06" "2003-03-05" "2003-03-04"
[926] "2003-03-03" "2003-02-28" "2003-02-27" "2003-02-26" "2003-02-25"
[931] "2003-02-24" "2003-02-21" "2003-02-20" "2003-02-19" "2003-02-18"
[936] "2003-02-17" "2003-02-14" "2003-02-13" "2003-02-12" "2003-02-11"
[941] "2003-02-10" "2003-02-07" "2003-02-06" "2003-02-05" "2003-02-04"
[946] "2003-02-03" "2003-01-31" "2003-01-30" "2003-01-29" "2003-01-28"
[951] "2003-01-27" "2003-01-24" "2003-01-23" "2003-01-22" "2003-01-21"
[956] "2003-01-20" "2003-01-17" "2003-01-16" "2003-01-15" "2003-01-14"
[961] "2003-01-13" "2003-01-10" "2003-01-09" "2003-01-08" "2003-01-07"
[966] "2003-01-06" "2003-01-03" "2003-01-02" "2002-12-31" "2002-12-30"
[971] "2002-12-27" "2002-12-24" "2002-12-23" "2002-12-20" "2002-12-19"
[976] "2002-12-18" "2002-12-17" "2002-12-16" "2002-12-13" "2002-12-12"
[981] "2002-12-11" "2002-12-10" "2002-12-09" "2002-12-06" "2002-12-05"
[986] "2002-12-04" "2002-12-03" "2002-12-02" "2002-11-29" "2002-11-28"
[991] "2002-11-27" "2002-11-26" "2002-11-25" "2002-11-22" "2002-11-21"
[996] "2002-11-20" "2002-11-19" "2002-11-18" "2002-11-15" "2002-11-14"
[1001] "2002-11-13" "2002-11-12" "2002-11-11" "2002-11-08" "2002-11-07"
[1006] "2002-11-06" "2002-11-05" "2002-11-04" "2002-11-01" "2002-10-31"
[1011] "2002-10-30" "2002-10-29" "2002-10-28" "2002-10-25" "2002-10-24"
[1016] "2002-10-23" "2002-10-22" "2002-10-21" "2002-10-18" "2002-10-17"
[1021] "2002-10-16" "2002-10-15" "2002-10-14" "2002-10-11" "2002-10-10"
[1026] "2002-10-09" "2002-10-08" "2002-10-07" "2002-10-04" "2002-10-03"
[1031] "2002-10-02" "2002-10-01" "2002-09-30" "2002-09-27" "2002-09-26"
[1036] "2002-09-25" "2002-09-24" "2002-09-23" "2002-09-20" "2002-09-19"
[1041] "2002-09-18" "2002-09-17" "2002-09-16" "2002-09-13" "2002-09-12"
[1046] "2002-09-11" "2002-09-10" "2002-09-09" "2002-09-06" "2002-09-05"
[1051] "2002-09-04" "2002-09-03" "2002-09-02" "2002-08-30" "2002-08-29"
[1056] "2002-08-28" "2002-08-27" "2002-08-26" "2002-08-23" "2002-08-22"
[1061] "2002-08-21" "2002-08-20" "2002-08-19" "2002-08-16" "2002-08-15"
[1066] "2002-08-14" "2002-08-13" "2002-08-12" "2002-08-09" "2002-08-08"
[1071] "2002-08-07" "2002-08-06" "2002-08-05" "2002-08-02" "2002-08-01"
[1076] "2002-07-31" "2002-07-30" "2002-07-29" "2002-07-26" "2002-07-25"
[1081] "2002-07-24" "2002-07-23" "2002-07-22" "2002-07-19" "2002-07-18"
[1086] "2002-07-17" "2002-07-16" "2002-07-15" "2002-07-12" "2002-07-11"
[1091] "2002-07-10" "2002-07-09" "2002-07-08" "2002-07-05" "2002-07-04"
[1096] "2002-07-03" "2002-07-02" "2002-07-01" "2002-06-28" "2002-06-27"
[1101] "2002-06-26" "2002-06-25" "2002-06-24" "2002-06-21" "2002-06-20"
[1106] "2002-06-19" "2002-06-18" "2002-06-17" "2002-06-14" "2002-06-13"
[1111] "2002-06-12" "2002-06-11" "2002-06-10" "2002-06-07" "2002-06-06"
[1116] "2002-06-05" "2002-06-04" "2002-06-03" "2002-05-31" "2002-05-30"
[1121] "2002-05-29" "2002-05-28" "2002-05-27" "2002-05-24" "2002-05-23"
[1126] "2002-05-22" "2002-05-21" "2002-05-20" "2002-05-17" "2002-05-16"
[1131] "2002-05-15" "2002-05-14" "2002-05-13" "2002-05-10" "2002-05-09"
[1136] "2002-05-08" "2002-05-07" "2002-05-06" "2002-05-03" "2002-05-02"
[1141] "2002-04-30" "2002-04-29" "2002-04-26" "2002-04-25" "2002-04-24"
[1146] "2002-04-23" "2002-04-22" "2002-04-19" "2002-04-18" "2002-04-17"
[1151] "2002-04-16" "2002-04-15" "2002-04-12" "2002-04-11" "2002-04-10"
[1156] "2002-04-09" "2002-04-08" "2002-04-05" "2002-04-04" "2002-04-03"
[1161] "2002-04-02" "2002-03-28" "2002-03-27" "2002-03-26" "2002-03-25"
[1166] "2002-03-22" "2002-03-21" "2002-03-20" "2002-03-19" "2002-03-18"
[1171] "2002-03-15" "2002-03-14" "2002-03-13" "2002-03-12" "2002-03-11"
[1176] "2002-03-08" "2002-03-07" "2002-03-06" "2002-03-05" "2002-03-04"
[1181] "2002-03-01" "2002-02-28" "2002-02-27" "2002-02-26" "2002-02-25"
[1186] "2002-02-22" "2002-02-21" "2002-02-20" "2002-02-19" "2002-02-18"
[1191] "2002-02-15" "2002-02-14" "2002-02-13" "2002-02-12" "2002-02-11"
[1196] "2002-02-08" "2002-02-07" "2002-02-06" "2002-02-05" "2002-02-04"
[1201] "2002-02-01" "2002-01-31" "2002-01-30" "2002-01-29" "2002-01-28"
[1206] "2002-01-25" "2002-01-24" "2002-01-23" "2002-01-22" "2002-01-21"
[1211] "2002-01-18" "2002-01-17" "2002-01-16" "2002-01-15" "2002-01-14"
[1216] "2002-01-11" "2002-01-10" "2002-01-09" "2002-01-08" "2002-01-07"
[1221] "2002-01-04" "2002-01-03" "2002-01-02" "2001-12-28" "2001-12-27"
[1226] "2001-12-24" "2001-12-21" "2001-12-20" "2001-12-19" "2001-12-18"
[1231] "2001-12-17" "2001-12-14" "2001-12-13" "2001-12-12" "2001-12-11"
[1236] "2001-12-10" "2001-12-07" "2001-12-06" "2001-12-05" "2001-12-04"
[1241] "2001-12-03" "2001-11-30" "2001-11-29" "2001-11-28" "2001-11-27"
[1246] "2001-11-26" "2001-11-23" "2001-11-22" "2001-11-21" "2001-11-20"
[1251] "2001-11-19" "2001-11-16" "2001-11-15" "2001-11-14" "2001-11-13"
[1256] "2001-11-12" "2001-11-09" "2001-11-08" "2001-11-07" "2001-11-06"
[1261] "2001-11-05" "2001-11-02" "2001-11-01" "2001-10-31" "2001-10-30"
[1266] "2001-10-29" "2001-10-26" "2001-10-25" "2001-10-24" "2001-10-23"
[1271] "2001-10-22" "2001-10-19" "2001-10-18" "2001-10-17" "2001-10-16"
[1276] "2001-10-15" "2001-10-12" "2001-10-11" "2001-10-10" "2001-10-09"
[1281] "2001-10-08" "2001-10-05" "2001-10-04" "2001-10-03" "2001-10-02"
[1286] "2001-10-01" "2001-09-28" "2001-09-27" "2001-09-26" "2001-09-25"
[1291] "2001-09-24" "2001-09-21" "2001-09-20" "2001-09-19" "2001-09-18"
[1296] "2001-09-17" "2001-09-14" "2001-09-13" "2001-09-12" "2001-09-11"
[1301] "2001-09-10" "2001-09-07" "2001-09-06" "2001-09-05" "2001-09-04"
[1306] "2001-09-03" "2001-08-31" "2001-08-30" "2001-08-29" "2001-08-28"
[1311] "2001-08-27" "2001-08-24" "2001-08-23" "2001-08-22" "2001-08-21"
[1316] "2001-08-20" "2001-08-17" "2001-08-16" "2001-08-15" "2001-08-14"
[1321] "2001-08-13" "2001-08-10" "2001-08-09" "2001-08-08" "2001-08-07"
[1326] "2001-08-06" "2001-08-03" "2001-08-02" "2001-08-01" "2001-07-31"
[1331] "2001-07-30" "2001-07-27" "2001-07-26" "2001-07-25" "2001-07-24"
[1336] "2001-07-23" "2001-07-20" "2001-07-19" "2001-07-18" "2001-07-17"
[1341] "2001-07-16" "2001-07-13" "2001-07-12" "2001-07-11" "2001-07-10"
[1346] "2001-07-09" "2001-07-06" "2001-07-05" "2001-07-04" "2001-07-03"
[1351] "2001-07-02" "2001-06-29" "2001-06-28" "2001-06-27" "2001-06-26"
[1356] "2001-06-25" "2001-06-22" "2001-06-21" "2001-06-20" "2001-06-19"
[1361] "2001-06-18" "2001-06-15" "2001-06-14" "2001-06-13" "2001-06-12"
[1366] "2001-06-11" "2001-06-08" "2001-06-07" "2001-06-06" "2001-06-05"
[1371] "2001-06-04" "2001-06-01" "2001-05-31" "2001-05-30" "2001-05-29"
[1376] "2001-05-28" "2001-05-25" "2001-05-24" "2001-05-23" "2001-05-22"
[1381] "2001-05-21" "2001-05-18" "2001-05-17" "2001-05-16" "2001-05-15"
[1386] "2001-05-14" "2001-05-11" "2001-05-10" "2001-05-09" "2001-05-08"
[1391] "2001-05-07" "2001-05-04" "2001-05-03" "2001-05-02" "2001-04-30"
[1396] "2001-04-27" "2001-04-26" "2001-04-25" "2001-04-24" "2001-04-23"
[1401] "2001-04-20" "2001-04-19" "2001-04-18" "2001-04-17" "2001-04-12"
[1406] "2001-04-11" "2001-04-10" "2001-04-09" "2001-04-06" "2001-04-05"
[1411] "2001-04-04" "2001-04-03" "2001-04-02" "2001-03-30" "2001-03-29"
[1416] "2001-03-28" "2001-03-27" "2001-03-26" "2001-03-23" "2001-03-22"
[1421] "2001-03-21" "2001-03-20" "2001-03-19" "2001-03-16" "2001-03-15"
[1426] "2001-03-14" "2001-03-13" "2001-03-12" "2001-03-09" "2001-03-08"
[1431] "2001-03-07" "2001-03-06" "2001-03-05" "2001-03-02" "2001-03-01"
[1436] "2001-02-28" "2001-02-27" "2001-02-26" "2001-02-23" "2001-02-22"
[1441] "2001-02-21" "2001-02-20" "2001-02-19" "2001-02-16" "2001-02-15"
[1446] "2001-02-14" "2001-02-13" "2001-02-12" "2001-02-09" "2001-02-08"
[1451] "2001-02-07" "2001-02-06" "2001-02-05" "2001-02-02" "2001-02-01"
[1456] "2001-01-31" "2001-01-30" "2001-01-29" "2001-01-26" "2001-01-25"
[1461] "2001-01-24" "2001-01-23" "2001-01-22" "2001-01-19" "2001-01-18"
[1466] "2001-01-17" "2001-01-16" "2001-01-15" "2001-01-12" "2001-01-11"
[1471] "2001-01-10" "2001-01-09" "2001-01-08" "2001-01-05" "2001-01-04"
[1476] "2001-01-03" "2001-01-02" "2000-12-29" "2000-12-28" "2000-12-27"
[1481] "2000-12-22" "2000-12-21" "2000-12-20" "2000-12-19" "2000-12-18"
[1486] "2000-12-15" "2000-12-14" "2000-12-13" "2000-12-12" "2000-12-11"
[1491] "2000-12-08" "2000-12-07" "2000-12-06" "2000-12-05" "2000-12-04"
[1496] "2000-12-01" "2000-11-30" "2000-11-29" "2000-11-28" "2000-11-27"
[1501] "2000-11-24" "2000-11-23" "2000-11-22" "2000-11-21" "2000-11-20"
[1506] "2000-11-17" "2000-11-16" "2000-11-15" "2000-11-14" "2000-11-13"
[1511] "2000-11-10" "2000-11-09" "2000-11-08" "2000-11-07" "2000-11-06"
[1516] "2000-11-03" "2000-11-02" "2000-11-01" "2000-10-31" "2000-10-30"
[1521] "2000-10-27" "2000-10-26" "2000-10-25" "2000-10-24" "2000-10-23"
[1526] "2000-10-20" "2000-10-19" "2000-10-18" "2000-10-17" "2000-10-16"
[1531] "2000-10-13" "2000-10-12" "2000-10-11" "2000-10-10" "2000-10-09"
[1536] "2000-10-06" "2000-10-05" "2000-10-04" "2000-10-03" "2000-10-02"
[1541] "2000-09-29" "2000-09-28" "2000-09-27" "2000-09-26" "2000-09-25"
[1546] "2000-09-22" "2000-09-21" "2000-09-20" "2000-09-19" "2000-09-18"
[1551] "2000-09-15" "2000-09-14" "2000-09-13" "2000-09-12" "2000-09-11"
[1556] "2000-09-08" "2000-09-07" "2000-09-06" "2000-09-05" "2000-09-04"
[1561] "2000-09-01" "2000-08-31" "2000-08-30" "2000-08-29" "2000-08-28"
[1566] "2000-08-25" "2000-08-24" "2000-08-23" "2000-08-22" "2000-08-21"
[1571] "2000-08-18" "2000-08-17" "2000-08-16" "2000-08-15" "2000-08-14"
[1576] "2000-08-11" "2000-08-10" "2000-08-09" "2000-08-08" "2000-08-07"
[1581] "2000-08-04" "2000-08-03" "2000-08-02" "2000-08-01" "2000-07-31"
[1586] "2000-07-28" "2000-07-27" "2000-07-26" "2000-07-25" "2000-07-24"
[1591] "2000-07-21" "2000-07-20" "2000-07-19" "2000-07-18" "2000-07-17"
[1596] "2000-07-14" "2000-07-13" "2000-07-12" "2000-07-11" "2000-07-10"
[1601] "2000-07-07" "2000-07-06" "2000-07-05" "2000-07-04" "2000-07-03"
[1606] "2000-06-30" "2000-06-29" "2000-06-28" "2000-06-27" "2000-06-26"
[1611] "2000-06-23" "2000-06-22" "2000-06-21" "2000-06-20" "2000-06-19"
[1616] "2000-06-16" "2000-06-15" "2000-06-14" "2000-06-13" "2000-06-12"
[1621] "2000-06-09" "2000-06-08" "2000-06-07" "2000-06-06" "2000-06-05"
[1626] "2000-06-02" "2000-06-01" "2000-05-31" "2000-05-30" "2000-05-29"
[1631] "2000-05-26" "2000-05-25" "2000-05-24" "2000-05-23" "2000-05-22"
[1636] "2000-05-19" "2000-05-18" "2000-05-17" "2000-05-16" "2000-05-15"
[1641] "2000-05-12" "2000-05-11" "2000-05-10" "2000-05-09" "2000-05-08"
[1646] "2000-05-05" "2000-05-04" "2000-05-03" "2000-05-02" "2000-04-28"
[1651] "2000-04-27" "2000-04-26" "2000-04-25" "2000-04-20" "2000-04-19"
[1656] "2000-04-18" "2000-04-17" "2000-04-14" "2000-04-13" "2000-04-12"
[1661] "2000-04-11" "2000-04-10" "2000-04-07" "2000-04-06" "2000-04-05"
[1666] "2000-04-04" "2000-04-03" "2000-03-31" "2000-03-30" "2000-03-29"
[1671] "2000-03-28" "2000-03-27" "2000-03-24" "2000-03-23" "2000-03-22"
[1676] "2000-03-21" "2000-03-20" "2000-03-17" "2000-03-16" "2000-03-15"
[1681] "2000-03-14" "2000-03-13" "2000-03-10" "2000-03-09" "2000-03-08"
[1686] "2000-03-07" "2000-03-06" "2000-03-03" "2000-03-02" "2000-03-01"
[1691] "2000-02-29" "2000-02-28" "2000-02-25" "2000-02-24" "2000-02-23"
[1696] "2000-02-22" "2000-02-21" "2000-02-18" "2000-02-17" "2000-02-16"
[1701] "2000-02-15" "2000-02-14" "2000-02-11" "2000-02-10" "2000-02-09"
[1706] "2000-02-08" "2000-02-07" "2000-02-04" "2000-02-03" "2000-02-02"
[1711] "2000-02-01" "2000-01-31" "2000-01-28" "2000-01-27" "2000-01-26"
[1716] "2000-01-25" "2000-01-24" "2000-01-21" "2000-01-20" "2000-01-19"
[1721] "2000-01-18" "2000-01-17" "2000-01-14" "2000-01-13" "2000-01-12"
[1726] "2000-01-11" "2000-01-10" "2000-01-07" "2000-01-06" "2000-01-05"
[1731] "2000-01-04" "2000-01-03" "1999-12-30" "1999-12-29" "1999-12-28"
[1736] "1999-12-27" "1999-12-24" "1999-12-23" "1999-12-22" "1999-12-21"
[1741] "1999-12-20" "1999-12-17" "1999-12-16" "1999-12-15" "1999-12-14"
[1746] "1999-12-13" "1999-12-10" "1999-12-09" "1999-12-08" "1999-12-07"
[1751] "1999-12-06" "1999-12-03" "1999-12-02" "1999-12-01" "1999-11-30"
[1756] "1999-11-29" "1999-11-26" "1999-11-25" "1999-11-24" "1999-11-23"
[1761] "1999-11-22" "1999-11-19" "1999-11-18" "1999-11-17" "1999-11-16"
[1766] "1999-11-15" "1999-11-12" "1999-11-11" "1999-11-10" "1999-11-09"
[1771] "1999-11-08" "1999-11-05" "1999-11-04" "1999-11-03" "1999-11-02"
[1776] "1999-11-01" "1999-10-29" "1999-10-28" "1999-10-27" "1999-10-26"
[1781] "1999-10-25" "1999-10-22" "1999-10-21" "1999-10-20" "1999-10-19"
[1786] "1999-10-18" "1999-10-15" "1999-10-14" "1999-10-13" "1999-10-12"
[1791] "1999-10-11" "1999-10-08" "1999-10-07" "1999-10-06" "1999-10-05"
[1796] "1999-10-04" "1999-10-01" "1999-09-30" "1999-09-29" "1999-09-28"
[1801] "1999-09-27" "1999-09-24" "1999-09-23" "1999-09-22" "1999-09-21"
[1806] "1999-09-20" "1999-09-17" "1999-09-16" "1999-09-15" "1999-09-14"
[1811] "1999-09-13" "1999-09-10" "1999-09-09" "1999-09-08" "1999-09-07"
[1816] "1999-09-06" "1999-09-03" "1999-09-02" "1999-09-01" "1999-08-31"
[1821] "1999-08-30" "1999-08-27" "1999-08-26" "1999-08-25" "1999-08-24"
[1826] "1999-08-23" "1999-08-20" "1999-08-19" "1999-08-18" "1999-08-17"
[1831] "1999-08-16" "1999-08-13" "1999-08-12" "1999-08-11" "1999-08-10"
[1836] "1999-08-09" "1999-08-06" "1999-08-05" "1999-08-04" "1999-08-03"
[1841] "1999-08-02" "1999-07-30" "1999-07-29" "1999-07-28" "1999-07-27"
[1846] "1999-07-26" "1999-07-23" "1999-07-22" "1999-07-21" "1999-07-20"
[1851] "1999-07-19" "1999-07-16" "1999-07-15" "1999-07-14" "1999-07-13"
[1856] "1999-07-12" "1999-07-09" "1999-07-08" "1999-07-07" "1999-07-06"
[1861] "1999-07-05" "1999-07-02" "1999-07-01" "1999-06-30" "1999-06-29"
[1866] "1999-06-28" "1999-06-25" "1999-06-24" "1999-06-23" "1999-06-22"
[1871] "1999-06-21" "1999-06-18" "1999-06-17" "1999-06-16" "1999-06-15"
[1876] "1999-06-14" "1999-06-11" "1999-06-10" "1999-06-09" "1999-06-08"
[1881] "1999-06-07" "1999-06-04" "1999-06-03" "1999-06-02" "1999-06-01"
[1886] "1999-05-31" "1999-05-28" "1999-05-27" "1999-05-26" "1999-05-25"
[1891] "1999-05-24" "1999-05-21" "1999-05-20" "1999-05-19" "1999-05-18"
[1896] "1999-05-17" "1999-05-14" "1999-05-13" "1999-05-12" "1999-05-11"
[1901] "1999-05-10" "1999-05-07" "1999-05-06" "1999-05-05" "1999-05-04"
[1906] "1999-05-03" "1999-04-30" "1999-04-29" "1999-04-28" "1999-04-27"
[1911] "1999-04-26" "1999-04-23" "1999-04-22" "1999-04-21" "1999-04-20"
[1916] "1999-04-19" "1999-04-16" "1999-04-15" "1999-04-14" "1999-04-13"
[1921] "1999-04-12" "1999-04-09" "1999-04-08" "1999-04-07" "1999-04-06"
[1926] "1999-04-05" "1999-04-02" "1999-04-01" "1999-03-31" "1999-03-30"
[1931] "1999-03-29" "1999-03-26" "1999-03-25" "1999-03-24" "1999-03-23"
[1936] "1999-03-22" "1999-03-19" "1999-03-18" "1999-03-17" "1999-03-16"
[1941] "1999-03-15" "1999-03-12" "1999-03-11" "1999-03-10" "1999-03-09"
[1946] "1999-03-08" "1999-03-05" "1999-03-04" "1999-03-03" "1999-03-02"
[1951] "1999-03-01" "1999-02-26" "1999-02-25" "1999-02-24" "1999-02-23"
[1956] "1999-02-22" "1999-02-19" "1999-02-18" "1999-02-17" "1999-02-16"
[1961] "1999-02-15" "1999-02-12" "1999-02-11" "1999-02-10" "1999-02-09"
[1966] "1999-02-08" "1999-02-05" "1999-02-04" "1999-02-03" "1999-02-02"
[1971] "1999-02-01" "1999-01-29" "1999-01-28" "1999-01-27" "1999-01-26"
[1976] "1999-01-25" "1999-01-22" "1999-01-21" "1999-01-20" "1999-01-19"
[1981] "1999-01-18" "1999-01-15" "1999-01-14" "1999-01-13" "1999-01-12"
[1986] "1999-01-11" "1999-01-08" "1999-01-07" "1999-01-06" "1999-01-05"
[1991] "1999-01-04"
>
>
> # Using xpathApply, we can do
> rates = xpathApply(doc, "//ns:Cube[@currency='SIT']", xmlGetAttr, "rate", namespaces = namespaces )
> rates = as.numeric(unlist(rates))
>
> # Using an expression rather than a function and ...
> rates = xpathApply(doc, "//ns:Cube[@currency='SIT']", quote(xmlGetAttr(x, "rate")), namespaces = namespaces )
>
> #free(doc)
>
> #
> uri = system.file("exampleData", "namespaces.xml", package = "XML")
> d = xmlParse(uri)
> getNodeSet(d, "//c:c", c(c="http://www.c.org"))
[[1]]
<c:c xmlns:c="http://www.c.org"/>
attr(,"class")
[1] "XMLNodeSet"
>
> getNodeSet(d, "/o:a//c:c", c("o" = "http://www.omegahat.org", "c" = "http://www.c.org"))
[[1]]
<c:c xmlns:c="http://www.c.org"/>
attr(,"class")
[1] "XMLNodeSet"
>
> # since http://www.omegahat.org is the default namespace, we can
> # just the prefix "o" to map to that.
> getNodeSet(d, "/o:a//c:c", c("o", "c" = "http://www.c.org"))
Warning: using o as prefix for default namespace http://www.omegahat.org
[[1]]
<c:c xmlns:c="http://www.c.org"/>
attr(,"class")
[1] "XMLNodeSet"
>
>
> # the following, perhaps unexpectedly but correctly, returns an empty
> # with no matches
>
> getNodeSet(d, "//defaultNs", "http://www.omegahat.org")
list()
attr(,"class")
[1] "XMLNodeSet"
>
> # But if we create our own prefix for the evaluation of the XPath
> # expression and use this in the expression, things work as one
> # might hope.
> getNodeSet(d, "//dummy:defaultNs", c(dummy = "http://www.omegahat.org"))
[[1]]
<defaultNs/>
attr(,"class")
[1] "XMLNodeSet"
>
> # And since the default value for the namespaces argument is the
> # default namespace of the document, we can refer to it with our own
> # prefix given as
> getNodeSet(d, "//d:defaultNs", "d")
[[1]]
<defaultNs/>
attr(,"class")
[1] "XMLNodeSet"
>
> # And the syntactic sugar is
> d["//d:defaultNs", namespace = "d"]
[[1]]
<defaultNs/>
attr(,"class")
[1] "XMLNodeSet"
>
>
> # this illustrates how we can use the prefixes in the XML document
> # in our query and let getNodeSet() and friends map them to the
> # actual namespace definitions.
> # "o" is used to represent the default namespace for the document
> # i.e. http://www.omegahat.org, and "r" is mapped to the same
> # definition that has the prefix "r" in the XML document.
>
> tmp = getNodeSet(d, "/o:a/r:b/o:defaultNs", c("o", "r"))
Warning: using o as prefix for default namespace http://www.omegahat.org
> xmlName(tmp[[1]])
[1] "defaultNs"
>
>
> #free(d)
>
>
> # Work with the nodes and their content (not just attributes) from the node set.
> # From bondsTables.R in examples/
>
> doc = htmlTreeParse("http://finance.yahoo.com/bonds/composite_bond_rates", useInternalNodes = TRUE)
Error: failed to load HTTP resource
Execution halted