DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (d8847129d134)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:Sk="urn:screenplay" targetNamespace="urn:screenplay">

	<!-- /** Animate
		An ID of an element of type <animate> or <set> 
	*/ -->
	<xs:simpleType name="Animate">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>

	<!-- /** 3D_Point
		An array of three floats in ECMAScript notation: [x, y, z].
	*/ -->
	<xs:simpleType name="3D_Point">
		<xs:restriction base="xs:string">
			<xs:pattern value="[+-]?([0-9]*\.[0-9]+|[0-9]+\.?)( *, *[+-]?([0-9]*\.[0-9]+|[0-9]+\.?)){2}" /> 
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** ARGB
		The red, green, blue, and optional alpha color components.
	*/ -->
	<xs:simpleType name="ARGB">
		<xs:restriction base="xs:string">
		<!-- @pattern #[0-9a-fA-F]{3} #rgb contains three hexadecimal digits. #rgb is equivalent to 0xFFrrggbb. -->
			<xs:pattern value="#[0-9a-fA-F]{3}"/>
		<!-- @pattern #[0-9a-fA-F]{4} #argb contains four hexadecimal digits. #argb is equivalent to 0xaarrggbb. -->
			<xs:pattern value="#[0-9a-fA-F]{4}"/>
		<!-- @pattern #[0-9a-fA-F]{6} #rrggbb contains six hexadecimal digits. #rrggbb is equivalent to 0xFFrrggbb. -->
			<xs:pattern value="#[0-9a-fA-F]{6}"/>
		<!-- @pattern #[0-9a-fA-F]{8} #aarrggbb contains eight hexadecimal digits. #aarrggbb is equivalent to 0xaarrggbb. -->
			<xs:pattern value="#[0-9a-fA-F]{8}"/>
		<!-- @pattern 0[xX][0-9a-fA-F]{8} 0xaarrggbb describes the color as a packed hexadecimal; each pair of digits 
			corresponds to alpha, red, green, and blue respectively. -->
			<xs:pattern value="0[xX][0-9a-fA-F]{8}"/>
		<!-- @pattern rgb\(\d+{1,3},\d+{1,3},\d+{1,3}\) rgb(r, g, b) describes color with three integers ranging from 0 to 255, 
			corresponding to red, green, and blue respectively. -->
			<xs:pattern value="rgb\(\d+{1,3},\d+{1,3},\d+{1,3}\)"/>
		<!-- @patternList Color can be described by the following standard CSS color names. -->
			<xs:pattern value="aliceblue"/>
			<xs:pattern value="antiquewhite"/>
			<xs:pattern value="aqua"/>
			<xs:pattern value="aquamarine"/>
			<xs:pattern value="azure"/>
			<xs:pattern value="beige"/>
			<xs:pattern value="bisque"/>
			<xs:pattern value="black"/>
			<xs:pattern value="blanchedalmond"/>
			<xs:pattern value="blue"/>
			<xs:pattern value="blueviolet"/>
			<xs:pattern value="brown"/>
			<xs:pattern value="burlywood"/>
			<xs:pattern value="cadetblue"/>
			<xs:pattern value="chartreuse"/>
			<xs:pattern value="chocolate"/>
			<xs:pattern value="coral"/>
			<xs:pattern value="cornflowerblue"/>
			<xs:pattern value="cornsilk"/>
			<xs:pattern value="crimson"/>
			<xs:pattern value="cyan"/>
			<xs:pattern value="darkblue"/>
			<xs:pattern value="darkcyan"/>
			<xs:pattern value="darkgoldenrod"/>
			<xs:pattern value="darkgray"/>
			<xs:pattern value="darkgreen"/>
			<xs:pattern value="darkkhaki"/>
			<xs:pattern value="darkmagenta"/>
			<xs:pattern value="darkolivegreen"/>
			<xs:pattern value="darkorange"/>
			<xs:pattern value="darkorchid"/>
			<xs:pattern value="darkred"/>
			<xs:pattern value="darksalmon"/>
			<xs:pattern value="darkseagreen"/>
			<xs:pattern value="darkslateblue"/>
			<xs:pattern value="darkslategray"/>
			<xs:pattern value="darkturquoise"/>
			<xs:pattern value="darkviolet"/>
			<xs:pattern value="deeppink"/>
			<xs:pattern value="deepskyblue"/>
			<xs:pattern value="dimgray"/>
			<xs:pattern value="dodgerblue"/>
			<xs:pattern value="firebrick"/>
			<xs:pattern value="floralwhite"/>
			<xs:pattern value="forestgreen"/>
			<xs:pattern value="fuchsia"/>
			<xs:pattern value="gainsboro"/>
			<xs:pattern value="ghostwhite"/>
			<xs:pattern value="gold"/>
			<xs:pattern value="goldenrod"/>
			<xs:pattern value="gray"/>
			<xs:pattern value="green"/>
			<xs:pattern value="greenyellow"/>
			<xs:pattern value="honeydew"/>
			<xs:pattern value="hotpink"/>
			<xs:pattern value="indianred"/>
			<xs:pattern value="indigo"/>
			<xs:pattern value="ivory"/>
			<xs:pattern value="khaki"/>
			<xs:pattern value="lavender"/>
			<xs:pattern value="lavenderblush"/>
			<xs:pattern value="lawngreen"/>
			<xs:pattern value="lemonchiffon"/>
			<xs:pattern value="lightblue"/>
			<xs:pattern value="lightcoral"/>
			<xs:pattern value="lightcyan"/>
			<xs:pattern value="lightgoldenrodyellow"/>
			<xs:pattern value="lightgreen"/>
			<xs:pattern value="lightgrey"/>
			<xs:pattern value="lightpink"/>
			<xs:pattern value="lightsalmon"/>
			<xs:pattern value="lightseagreen"/>
			<xs:pattern value="lightskyblue"/>
			<xs:pattern value="lightslategray"/>
			<xs:pattern value="lightsteelblue"/>
			<xs:pattern value="lightyellow"/>
			<xs:pattern value="lime"/>
			<xs:pattern value="limegreen"/>
			<xs:pattern value="linen"/>
			<xs:pattern value="magenta"/>
			<xs:pattern value="maroon"/>
			<xs:pattern value="mediumaquamarine"/>
			<xs:pattern value="mediumblue"/>
			<xs:pattern value="mediumorchid"/>
			<xs:pattern value="mediumpurple"/>
			<xs:pattern value="mediumseagreen"/>
			<xs:pattern value="mediumslateblue"/>
			<xs:pattern value="mediumspringgreen"/>
			<xs:pattern value="mediumturquoise"/>
			<xs:pattern value="mediumvioletred"/>
			<xs:pattern value="midnightblue"/>
			<xs:pattern value="mintcream"/>
			<xs:pattern value="mistyrose"/>
			<xs:pattern value="moccasin"/>
			<xs:pattern value="navajowhite"/>
			<xs:pattern value="navy"/>
			<xs:pattern value="oldlace"/>
			<xs:pattern value="olive"/>
			<xs:pattern value="olivedrab"/>
			<xs:pattern value="orange"/>
			<xs:pattern value="orangered"/>
			<xs:pattern value="orchid"/>
			<xs:pattern value="palegoldenrod"/>
			<xs:pattern value="palegreen"/>
			<xs:pattern value="paleturquoise"/>
			<xs:pattern value="palevioletred"/>
			<xs:pattern value="papayawhip"/>
			<xs:pattern value="peachpuff"/>
			<xs:pattern value="peru"/>
			<xs:pattern value="pink"/>
			<xs:pattern value="plum"/>
			<xs:pattern value="powderblue"/>
			<xs:pattern value="purple"/>
			<xs:pattern value="red"/>
			<xs:pattern value="rosybrown"/>
			<xs:pattern value="royalblue"/>
			<xs:pattern value="saddlebrown"/>
			<xs:pattern value="salmon"/>
			<xs:pattern value="sandybrown"/>
			<xs:pattern value="seagreen"/>
			<xs:pattern value="seashell"/>
			<xs:pattern value="sienna"/>
			<xs:pattern value="silver"/>
			<xs:pattern value="skyblue"/>
			<xs:pattern value="slateblue"/>
			<xs:pattern value="slategray"/>
			<xs:pattern value="snow"/>
			<xs:pattern value="springgreen"/>
			<xs:pattern value="steelblue"/>
			<xs:pattern value="tan"/>
			<xs:pattern value="teal"/>
			<xs:pattern value="thistle"/>
			<xs:pattern value="tomato"/>
			<xs:pattern value="turquoise"/>
			<xs:pattern value="violet"/>
			<xs:pattern value="wheat"/>
			<xs:pattern value="white"/>
			<xs:pattern value="whitesmoke"/>
			<xs:pattern value="yellow"/>
		<!--@patternListLast -->
			<xs:pattern value="yellowgreen"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** AddMode
		AddMode controls how the add element adds its referenced element to the 
		display list. By default, the referenced element remains in the add element
		so that the add element's use attribute may be animated to change the 
		element it refers to. Setting the mode attribute to "immediate" causes the 
		add element to put the referenced element in the display list directly. 
		The move and replace elements are not affected by the mode attribute;
		they always move or replace the referenced element directly.
	*/ -->
	<xs:simpleType name="AddMode">
		<xs:restriction base="xs:string">
			<!-- @pattern immediate Puts the referenced element in the display list. -->
			<xs:pattern value="immediate"/>
			<!-- @pattern indirect Puts the containing element in the display list. -->
			<xs:pattern value="indirect"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** Align
		Align places text to the left, center, or right of the text position.
	*/ -->
	<xs:simpleType name="Align">
		<xs:restriction base="xs:string">
			<!-- @pattern left The first character in the text string is drawn at the text position. -->
			<xs:pattern value="left"/>
			<!-- @pattern center The  text string is measured and centered on the text position. -->
			<xs:pattern value="center"/>
			<!-- @pattern right The last character in the text string is drawn to the left of the text position. -->
			<xs:pattern value="right"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** ApplyMode
		ApplyMode affects how the apply element animates values.
	*/ -->
	<xs:simpleType name="ApplyMode">
		<xs:restriction base="xs:string">
			<!-- @pattern immediate Iterates through all animation values immediately. -->
			<xs:pattern value="immediate"/>
			<!-- @pattern once Performs the animation at once without adding the scope to
				the display list. -->
			<xs:pattern value="once"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** ApplyTransition
		ApplyTransition affects how the apply element sets the time of the animators.
	*/ -->
	<xs:simpleType name="ApplyTransition">
		<xs:restriction base="xs:string">
			<!-- @pattern reverse Performs the animation in reverse. -->
			<xs:pattern value="reverse"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** Base64
		Base64 describes 8 bit binary using 64 character values. 
		See http://rfc.net/rfc2045.html for the base64 format.
	*/ -->
	<xs:simpleType name="Base64">
		<xs:restriction base="xs:string">
			<xs:pattern value="[A-Za-z0-9+/ ]+"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** BaseBitmap
		A reference to an image like a JPEG, GIF, or PNG; or a reference to a bitmap element
		that has been drawn into with a drawTo element.
	*/ -->
	<xs:simpleType name="BaseBitmap">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	
	<!-- /** BitmapEncoding
		Used to specify the compression format for writing an image file with the snapshot element.
	*/ -->
	<xs:simpleType name="BitmapEncoding">
		<xs:restriction base="xs:string">
			<!-- @pattern jpeg See http://www.jpeg.org/jpeg/ for more information about JPEG. -->
			<xs:pattern value="jpeg"/>
			<!-- @pattern png See http://www.libpng.org/pub/png/ for more information about PNG. -->
			<xs:pattern value="png"/>
		</xs:restriction>
	</xs:simpleType>

	<!-- /** BitmapFormat
		Determines the number of bits per pixel in a bitmap.
	*/ -->
	<xs:simpleType name="BitmapFormat">
		<xs:restriction base="xs:string">
			<xs:pattern value="none"/>
			<!-- @pattern A1 1-bit per pixel, (0 is transparent, 1 is opaque). -->
			<xs:pattern value="A1"/>
			<!-- @pattern A8 8-bits per pixel, with only alpha specified (0 is transparent, 0xFF is opaque). -->
			<xs:pattern value="A8"/>
			<!-- @pattern Index8 8-bits per pixel, using a ColorTable element to specify the colors. -->
			<xs:pattern value="Index8"/>
			<!-- @pattern RGB16 16-bits per pixel, compile-time configured to be either 555 or 565. -->
			<xs:pattern value="RGB16"/>
			<!-- @pattern RGB32 32-bits per pixel, plus alpha. -->
			<xs:pattern value="RGB32"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** Boolean
		Either "true" (non-zero) or "false" (zero). 
	*/ -->
	<xs:simpleType name="Boolean">
		<xs:restriction base="xs:string">
			<xs:pattern value="false"/>
			<xs:pattern value="true"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** Cap
		The values for the strokeCap attribute. 
	*/ -->
	<xs:simpleType name="Cap">
		<xs:restriction base="xs:string">
			<!-- @pattern butt begin and end a contour with no extension -->
			<xs:pattern value="butt"/>
			<!-- @pattern round begin and end a contour with a semi-circle extension -->
			<xs:pattern value="round"/>
			<!-- @pattern  square begin and end a contour with a half square extension -->
			<xs:pattern value="square"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** Color
		A reference to a color element. 
	*/ -->
	<xs:simpleType name="Color">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	
	<!-- /** Displayable
		A reference to any element: @list(Displayable)
	*/ -->
	<xs:simpleType name="Displayable">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>

	<!-- /** DisplayableArray
		An array of one or more element IDs.
	*/ -->
	<xs:simpleType name="DisplayableArray">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>

	<!-- /** Drawable
		A reference to an element that can be drawn: @list(Drawable)
	*/ -->
	<xs:simpleType name="Drawable">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>

	<!-- /** DynamicString
		Dynamic strings contain scripts that are re-evaluated each time the script is enabled.
	*/ -->
	<xs:simpleType name="DynamicString">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	
	<!-- /** EventCode
		Key codes that can trigger events, usually corresponding to physical buttons on the device.
	*/ -->
	<xs:simpleType name="EventCode">
		<xs:restriction base="xs:string">
			<xs:pattern value="none"/>
			<!-- @pattern up The up arrow. -->
			<xs:pattern value="up"/>
			<!-- @pattern down The down arrow. -->
			<xs:pattern value="down"/>
			<!-- @pattern left The left arrow. -->
			<xs:pattern value="left"/>
			<!-- @pattern right The right arrow. -->
			<xs:pattern value="right"/>
			<!-- @pattern back The back button (may not be present; the Backspace key on a PC). -->
			<xs:pattern value="back"/>
			<!-- @pattern end The end button (may not be present; the Esc key on a PC). -->
			<xs:pattern value="end"/>
			<!-- @pattern OK The OK button (the Enter key on a PC). -->
			<xs:pattern value="OK"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** EventKind
		Specifies how an event is triggered; by a key, when an animation ends, when the 
		document is loaded, or when this event is triggered by the user's C++ or XML.
	*/ -->
	<xs:simpleType name="EventKind">
		<xs:restriction base="xs:string">
			<xs:pattern value="none"/>
			<!-- @pattern keyChar A key corresponding to a Unichar value. -->
			<xs:pattern value="keyChar"/>
			<!-- @pattern keyPress A key with a particular function, such as an arrow key or the OK button. -->
			<xs:pattern value="keyPress"/>
			<!-- @pattern mouseDown Triggered when the primary mouse button is pressed. -->
			<xs:pattern value="mouseDown"/>
			<!-- @pattern mouseDrag Triggered when the primary mouse is moved while the button is pressed. -->
			<xs:pattern value="mouseDrag"/>
			<!-- @pattern mouseMove Triggered when the primary mouse is moved. -->
			<xs:pattern value="mouseMove"/>
			<!-- @pattern mouseUp Triggered when the primary mouse button is released. -->
			<xs:pattern value="mouseUp"/>
			<!-- @pattern onEnd Triggered when an event ends. -->
			<xs:pattern value="onEnd"/>
			<!-- @pattern onLoad Triggered when the document loads. -->
			<xs:pattern value="onLoad"/>
			<!-- @pattern user Triggered when a post element or C++ event is activated. -->
			<xs:pattern value="user"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** EventMode
		Specifies whether the event is delivered immediately to matching event element or deferred to 
		the application-wide event handler.
	*/ -->
	<xs:simpleType name="EventMode">
		<xs:restriction base="xs:string">
			<!-- @pattern deferred Process the event using the host's event queue. -->
			<xs:pattern value="deferred"/>
			<!-- @pattern immediate Activate the event element immediately. -->
			<xs:pattern value="immediate"/>
		</xs:restriction>
	</xs:simpleType>

	<!-- /** FillType
		Filled paths that self-intersect use the winding or evenOdd rule to determine whether the 
		overlaps are filled or are holes.
	*/ -->
	<xs:simpleType name="FillType">
		<xs:restriction base="xs:string">
			<!-- @pattern winding Fill if the sum of edge directions is non-zero. -->
			<xs:pattern value="winding"/>
			<!-- @pattern evenOdd Fill if the sum of edges is an odd number. -->
			<xs:pattern value="evenOdd"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** FilterType
		Scaled bitmaps without a filter type set point-sample the source bitmap to determine the
		destination pixels' colors. Bilinear and bicubic compute the values of intermediate pixels
		by sampling the pixels around them.
	*/ -->
	<xs:simpleType name="FilterType">
		<xs:restriction base="xs:string">
			<xs:pattern value="none"/>
			<!-- @pattern bilinear Compute the pixel value as the linear interpolation of adjacent pixels. -->
			<xs:pattern value="bilinear"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** Float
		A signed fractional value.
	*/ -->
	<xs:simpleType name="Float">
		<xs:restriction base="xs:float">
			<xs:pattern value="[+-]?([0-9]*\.[0-9]+|[0-9]+\.?)"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** FloatArray
		An array of one or more signed fractional values.
	*/ -->
	<xs:simpleType name="FloatArray">
		<xs:restriction base="xs:float">
			<xs:pattern value="\[[+-]?([0-9]*\.[0-9]+|[0-9]+\.?)( *, *[+-]?([0-9]*\.[0-9]+|[0-9]+\.?))*\]"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** FromPathMode
		A matrix computed from an offset along a path may include the point's position, the angle 
		tangent, or both. 
		.
	*/ -->
	<xs:simpleType name="FromPathMode">
		<xs:restriction base="xs:string">
			<!-- @pattern normal Compute the matrix using the path's angle and position. -->
			<xs:pattern value="normal"/>
			<!-- @pattern angle Compute the matrix using only the path's angle. -->
			<xs:pattern value="angle"/>
			<!-- @pattern position Compute the matrix using only the path's position. -->
			<xs:pattern value="position"/>
		</xs:restriction>
	</xs:simpleType>

	<!-- /** Int
		A signed integer.
	*/ -->
	<xs:simpleType name="Int">
		<xs:restriction base="xs:integer"/>
	</xs:simpleType>
	
	<!-- /** IntArray
		An array of one or more signed integer values.
	*/ -->
	<xs:simpleType name="IntArray">
		<xs:restriction base="xs:integer">
			<xs:pattern value="\[[+-]?[0-9]+( *, *[+-]?[0-9]+)*\]"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** Join
		The edges of thick lines in a path are joined by extending the outer edges to form a miter, 
		or by adding a round circle at the intersection point, or by connecting the outer edges with a line 
		to form a blunt joint.
	*/ -->
	<xs:simpleType name="Join">
		<xs:restriction base="xs:string">
			<!-- @pattern miter Extend the outer edges to form a miter. -->
			<xs:pattern value="miter"/>
			<!-- @pattern round Join the outer edges with a circular arc. -->
			<xs:pattern value="round"/>
			<!-- @pattern blunt Connect the outer edges with a line. -->
			<xs:pattern value="blunt"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** MaskFilterBlurStyle
		A blur can affect the inside or outside part of the shape, or it can affect both. The shape
		itself can be drawn solid, or can be invisible.
	*/ -->
	<xs:simpleType name="MaskFilterBlurStyle">
		<xs:restriction base="xs:string">
			<!-- @pattern normal Blur inside and outside. -->
			<xs:pattern value="normal"/>
			<!-- @pattern solid Solid inside, blur outside. -->
			<xs:pattern value="solid"/>
			<!-- @pattern outer Invisible inside, blur outside. -->
			<xs:pattern value="outer"/>
			<!-- @pattern inner Blur inside only.. -->
			<xs:pattern value="inner"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** MaskFilter
		The ID of a blur or emboss element.
	*/ -->
	<xs:simpleType name="MaskFilter">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	
	<!-- /** Matrix
		The ID of a matrix element.
	*/ -->
	<xs:simpleType name="Matrix">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	
	<!-- /** MSec
		A fractional second with millisecond resolution.
	*/ -->
	<xs:simpleType name="MSec">
		<xs:restriction base="xs:float"/>
	</xs:simpleType>
	
	<!-- /** Paint
		The ID of a paint element.
	*/ -->
	<xs:simpleType name="Paint">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>

	<!-- /** Path
		The ID of a path element.
	*/ -->
	<xs:simpleType name="Path">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	
	<!-- /** PathDirection
		PathDirection determines if the path is traveled clockwise or counterclockwise.
	*/ -->
	<xs:simpleType name="PathDirection">
		<xs:restriction base="xs:string">
		<!-- @pattern cw The path is traveled clockwise. -->
			<xs:pattern value="cw"/>
		<!-- @pattern ccw The path is traveled counterclockwise. -->
			<xs:pattern value="ccw"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** PathEffect
		The ID of a dash or discrete element.
	*/ -->
	<xs:simpleType name="PathEffect">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	
	<!-- /** Point
		A pair of signed values representing the x and y coordinates of a point.
	*/ -->
	<xs:simpleType name="Point">
		<xs:restriction base="xs:string">
			<xs:pattern value="\[ *[+-]?([0-9]*\.[0-9]+|[0-9]+\.?) *[ ,] *[+-]?([0-9]*\.[0-9]+|[0-9]+\.?)\]"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** Rect
		The ID of a rectangle element.
	*/ -->
	<xs:simpleType name="Rect">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	
	<!-- /** Shader
		The ID of a linear or radial gradient.
	*/ -->
	<xs:simpleType name="Shader">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	
	<!-- /** String
		A sequence of characters.
	*/ -->
	<xs:simpleType name="String">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	
	<!-- /** Style
		Geometry can be filled, stroked or both.
	*/ -->
	<xs:simpleType name="Style">
		<xs:restriction base="xs:string">
		<!-- @pattern fill The interior of the geometry is filled with the paint's color. -->
			<xs:pattern value="fill"/>
		<!-- @pattern stroke The outline of the geometry is stroked with the paint's color. -->
			<xs:pattern value="stroke"/>
		<!-- @pattern strokeAndFill The interior is filled and outline is stroked with the paint's color. -->
			<xs:pattern value="strokeAndFill"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** Text
		The ID of a text element.
	*/ -->
	<xs:simpleType name="Text">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	
	<!-- /** TextBoxAlign
		Multiple lines of text may be aligned to the start of the box, the center, or the end.
	*/ -->
	<xs:simpleType name="TextBoxAlign">
		<xs:restriction base="xs:string">
		<!-- @pattern start The text begins within the upper left of the box. -->
			<xs:pattern value="start"/>
		<!-- @pattern center The text is positioned in the center of the box. -->
			<xs:pattern value="center"/>
		<!-- @pattern end The text ends within the lower right of the box. -->
			<xs:pattern value="end"/>
		</xs:restriction>
	</xs:simpleType>

	<!-- /** TextBoxMode
		Fitting the text may optionally introduce line breaks.
	*/ -->
	<xs:simpleType name="TextBoxMode">
		<xs:restriction base="xs:string">
		<!-- @pattern oneLine No additional linebreaks are added. -->
			<xs:pattern value="oneLine"/>
		<!-- @pattern lineBreak Line breaks may be added to fit the text to the box. -->
			<xs:pattern value="lineBreak"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** TileMode
		A shader describes how to draw within a rectangle. 
		Outside of the rectangle, the shader may be ignored, clamped on the edges, or repeated.
		The repetitions may be mirrored from the original shader.
	*/ -->
	<xs:simpleType name="TileMode">
		<xs:restriction base="xs:string">
		<!-- @pattern clamp The edge shader color is extended. -->
			<xs:pattern value="clamp"/>
		<!-- @pattern repeat The shader is repeated horizontally and vertically. -->
			<xs:pattern value="repeat"/>
		<!-- @pattern mirror The shader is mirrored horizontally and vertically. -->
			<xs:pattern value="mirror"/>
		</xs:restriction>
	</xs:simpleType>
	
	<!-- /** Typeface
		The ID of a typeface element.
	*/ -->
	<xs:simpleType name="Typeface">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	
	<!-- /** UnknownArray
		An array of values of any type.
	*/ -->
	<xs:simpleType name="UnknownArray">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>

	<!-- /** Xfermode
		The operation applied when drawing a color to the destination background.
	*/ -->
	<xs:simpleType name="Xfermode">
		<xs:restriction base="xs:string">
		<!-- @pattern clear Set the destination alpha to zero and the destination color to black. -->
			<xs:pattern value="clear"/>
		<!-- @pattern src Set the destination to the source alpha and color. -->
			<xs:pattern value="src"/>
		<!-- @pattern dst Set the destination to the destination alpha and color. -->
			<xs:pattern value="dst"/>
		<!-- @pattern srcOver The default. Set the destination to the source color blended
			with the destination by the source alpha. -->
			<xs:pattern value="srcOver"/>
		<!-- @pattern dstOver Set the destination to the destination color blended
			with the source by the destination alpha. -->
			<xs:pattern value="dstOver"/>
		<!-- @pattern srcIn Set the destination to the source color scaled by the destination
			alpha. -->
			<xs:pattern value="srcIn"/>
		<!-- @pattern dstIn Set the destination to the destination color scaled by the source
			alpha. -->
			<xs:pattern value="dstIn"/>
		<!-- @pattern srcOut Set the destination to the source color scaled by the 
			inverse of the destination alpha. -->
			<xs:pattern value="srcOut"/>
		<!-- @pattern dstOut Set the destination to the destination color scaled by the 
			inverse of the source alpha. -->
			<xs:pattern value="dstOut"/>
		<!-- @pattern srcATop Set the destination to the source color times the destination alpha, 
			blended	with the destination times the inverse of the source alpha. -->
			<xs:pattern value="srcATop"/>
		<!-- @pattern dstATop Set the destination to the destination color times the source alpha, 
			blended	with the source times the inverse of the destination alpha. -->
			<xs:pattern value="dstATop"/>
		<!-- @pattern xor Set the destination to the destination color times the 
			inverse of the source alpha, 
			blended	with the source times the inverse of the destination alpha. -->
			<xs:pattern value="xor"/>
		</xs:restriction>
	</xs:simpleType>

	<!-- /** Math
		Math provides functions and properties in the ECMAScript library to screenplay script expressions.
		The Math element is always implicitly added at the top of every screenplay description, so
		its functions and properties are always available.
	*/ -->
	<xs:element name="Math">
		<xs:complexType>
			<!-- @attribute E The value 2.718281828. -->
			<xs:attribute name="E" type="Sk:Float"/>
			<!-- @attribute LN10 The value 2.302585093. -->
			<xs:attribute name="LN10" type="Sk:Float"/>
			<!-- @attribute LN2 The value 0.693147181. -->
			<xs:attribute name="LN2" type="Sk:Float"/>
			<!-- @attribute LOG10E The value 0.434294482. -->
			<xs:attribute name="LOG10E" type="Sk:Float"/>
			<!-- @attribute LOG2E The value 1.442695041. -->
			<xs:attribute name="LOG2E" type="Sk:Float"/>
			<!-- @attribute PI The value 3.141592654. -->
			<xs:attribute name="PI" type="Sk:Float"/>
			<!-- @attribute SQRT1_2 The value 0.707106781. -->
			<xs:attribute name="SQRT1_2" type="Sk:Float"/>
			<!-- @attribute SQRT2 The value 1.414213562. -->
			<xs:attribute name="SQRT2" type="Sk:Float"/>
			<!-- @attribute abs A function that returns the absolute value of its argument. -->
			<xs:attribute name="abs" type="Sk:Float"/>
			<!-- @attribute acos A function that returns the arc cosine of its argument. -->
			<xs:attribute name="acos" type="Sk:Float"/>
			<!-- @attribute asin A function that returns the arc sine of its argument. -->
			<xs:attribute name="asin" type="Sk:Float"/>
			<!-- @attribute atan A function that returns the arc tan of its argument. -->
			<xs:attribute name="atan" type="Sk:Float"/>
			<!-- @attribute atan2 A function that returns the arc tan of the ratio of its two arguments. -->
			<xs:attribute name="atan2" type="Sk:Float"/>
			<!-- @attribute ceil A function that returns the rounded up value of its argument. -->
			<xs:attribute name="ceil" type="Sk:Float"/>
			<!-- @attribute cos A function that returns the cosine of its argument. -->
			<xs:attribute name="cos" type="Sk:Float"/>
			<!-- @attribute exp A function that returns E raised to a power (the argument). -->
			<xs:attribute name="exp" type="Sk:Float"/>
			<!-- @attribute floor A function that returns the rounded down value of its argument. -->
			<xs:attribute name="floor" type="Sk:Float"/>
			<!-- @attribute log A function that returns the natural logarithm its argument. -->
			<xs:attribute name="log" type="Sk:Float"/>
			<!-- @attribute max A function that returns the largest of any number of arguments. -->
			<xs:attribute name="max" type="Sk:Float"/>
			<!-- @attribute min A function that returns the smallest of any number of arguments. -->
			<xs:attribute name="min" type="Sk:Float"/>
			<!-- @attribute pow A function that returns the first argument raised to the power of the second argument. -->
			<xs:attribute name="pow" type="Sk:Float"/>
			<!-- @attribute random A function that returns a random value from zero to one.
				(See also the &lt;random&gt; element.) -->
			<xs:attribute name="random" type="Sk:Float"/>
			<!-- @attribute round A function that returns the rounded value of its argument. -->
			<xs:attribute name="round" type="Sk:Float"/>
			<!-- @attribute sin A function that returns the sine of its argument. -->
			<xs:attribute name="sin" type="Sk:Float"/>
			<!-- @attribute sqrt A function that returns the square root of its argument. -->
			<xs:attribute name="sqrt" type="Sk:Float"/>
			<!-- @attribute tan A function that returns the tangent of its argument. -->
			<xs:attribute name="tan" type="Sk:Float"/>	
		</xs:complexType>
	</xs:element>
	
	<!-- /** Number
		Number provides properties in the ECMAScript library to screenplay script expressions.
		The Number element is always implicitly added at the top of every screenplay description, so
		its properties are always available.
	*/ -->
	<xs:element name="Number">
		<xs:complexType>
			<!-- @attribute MAX_VALUE The maximum number value; approximately 32767.999985 fixed point, 
				3.4028235e+38 floating point. -->
			<xs:attribute name="MAX_VALUE" type="Sk:Float"/>
			<!-- @attribute MIN_VALUE The minimum number value; approximately 0.000015 fixed point, 
				1.1754944e-38 floating point. -->
			<xs:attribute name="MIN_VALUE" type="Sk:Float"/>
			<!-- @attribute NEGATIVE_INFINITY The most negative number value. Fixed point does not
				have a value for negative infinity, and approximates it with -32767.999985. -->
			<xs:attribute name="NEGATIVE_INFINITY" type="Sk:Float"/>
			<!-- @attribute NaN A bit pattern representing "Not a Number". Fixed point does not
				have a value for NaN, and approximates it with -32768. -->
			<xs:attribute name="NaN" type="Sk:Float"/>
			<!-- @attribute POSITIVE_INFINITY The greatest positive number value. Fixed point does not
				have a value for positive infinity, and approximates it with 32767.999985. -->
			<xs:attribute name="POSITIVE_INFINITY" type="Sk:Float"/>
		</xs:complexType>
	</xs:element>

	<!-- /** add
		Add references a drawable element, and adds it to the display list. 
		If where and offset are omitted, the element is appended to the end of the display list.
		If where is specified, the element is inserted at the first occurance of where in the display list.
		If offset and where are specified, the element is inserted at where plus offset.
		A positive offset without where inserts the element at the start of the list plus offset.
		A negative offset without where inserts the element at the end of the list minus offset.
	*/ -->
	<xs:element name="add">
		<xs:complexType>
			<!-- @attribute mode If indirect (the default), keep the add element in the display list,
				and draw the add's use element. If immediate, put the add's use element in the display list. -->
			<xs:attribute name="mode" type="Sk:AddMode"/>
			<!-- @attribute offset The offset added to the insert index. -->
			<xs:attribute name="offset" type="Sk:Int"/>
			<!-- @attribute use The drawable element to add to the display list. -->
			<xs:attribute name="use" type="Sk:Drawable"/>
			<!-- @attribute where The drawable element marking where to insert. -->
			<xs:attribute name="where" type="Sk:Drawable"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** addCircle
		AddCircle adds a closed circle to the parent path element. 
	*/ -->
	<xs:element name="addCircle">
		<xs:complexType>
			<!-- @attribute direction One of @pattern. @patternDescription -->
			<xs:attribute name="direction" type="Sk:PathDirection"/>
			<!-- @attribute radius The distance from the center to the edge of the circle. -->
			<xs:attribute name="radius" type="Sk:Float"/>
			<!-- @attribute x The x coordinate of the circle's center. -->
			<xs:attribute name="x" type="Sk:Float"/>
			<!-- @attribute y The y coordinate of the circle's center.-->
			<xs:attribute name="y" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** addOval
		AddOval adds a closed oval described by its bounding box to the parent path element. 
	*/ -->
	<xs:element name="addOval">
		<xs:complexType>
			<!-- @attribute direction One of @pattern. @patternDescription -->
			<xs:attribute name="direction" type="Sk:PathDirection"/>
			<!-- @attribute bottom The bottom edge of the oval's bounding box. -->
			<xs:attribute name="bottom" type="Sk:Float"/>
			<!-- @attribute left The left edge of the oval's bounding box. -->
			<xs:attribute name="left" type="Sk:Float"/>
			<!-- @attribute right The right edge of the oval's bounding box. -->
			<xs:attribute name="right" type="Sk:Float"/>
			<!-- @attribute top The top edge of the oval's bounding box. -->
			<xs:attribute name="top" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** addPath
		AddPath adds a path to the parent path element. 
		An optional matrix may transform the path as it is added.
	*/ -->
	<xs:element name="addPath">
		<xs:complexType>
			<!-- @attribute matrix The matrix applied to the path as it is added.  -->
			<xs:attribute name="matrix" type="Sk:Matrix"/>
			<!-- @attribute path The path to add.  -->
			<xs:attribute name="path" type="Sk:Path"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** addRect
		AddRect adds a closed rectangle to the parent path element. 
	*/ -->
	<xs:element name="addRect">
		<xs:complexType>
			<!-- @attribute direction One of @pattern. @patternDescription -->
			<xs:attribute name="direction" type="Sk:PathDirection"/>
			<!-- @attribute bottom The bottom edge of the rectangle. -->
			<xs:attribute name="bottom" type="Sk:Float"/>
			<!-- @attribute left The left edge of the rectangle. -->
			<xs:attribute name="left" type="Sk:Float"/>
			<!-- @attribute right The right edge of the rectangle. -->
			<xs:attribute name="right" type="Sk:Float"/>
			<!-- @attribute top" The top" edge of the rectangle. -->
			<xs:attribute name="top" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** addRoundRect
		AddRoundRect adds a closed rounded rectangle to the parent path element. 
	*/ -->
	<xs:element name="addRoundRect">
		<xs:complexType>
			<!-- @attribute direction One of @pattern. @patternDescription -->
			<xs:attribute name="direction" type="Sk:PathDirection"/>
			<!-- @attribute bottom The bottom edge of the rounded rectangle's bounding box. -->
			<xs:attribute name="bottom" type="Sk:Float"/>
			<!-- @attribute left The left edge of the rounded rectangle's bounding box. -->
			<xs:attribute name="left" type="Sk:Float"/>
			<!-- @attribute right The right edge of the rounded rectangle's bounding box. -->
			<xs:attribute name="right" type="Sk:Float"/>
			<!-- @attribute top The top edge of the rounded rectangle's bounding box. -->
			<xs:attribute name="top" type="Sk:Float"/>
			<!-- @attribute rx The X-radius of the oval used to round the corners. -->
			<xs:attribute name="rx" type="Sk:Float"/>
			<!-- @attribute ry The Y-radius of the oval used to round the corners. -->
			<xs:attribute name="ry" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
		
	<!-- /** animate
		Animate varies the value of an element's attribute over time.
		The animation may vary starting at the 'from' attribute, and ending at the 'to' attribute,
		or may compute the value using the 'formula' attribute.
	*/ -->
	<xs:element name="animate">
		<xs:complexType>
			<!-- @attribute begin An optional offset that must elapse before the animation begins. The apply
				begin attribute is added to any animator's begin attribute. -->
			<xs:attribute name="begin" type="Sk:MSec"/>
			<!-- @attribute blend Specifies how the from and to values are blended. A value from 0.0 to
				1.0 specifies a cubic lag/log/lag blend (slow to change at the beginning and end); the closer
				blend is to 1.0, the more linear the blend. If omitted, the blend is linear. -->
			<xs:attribute name="blend" type="Sk:FloatArray"/>
			<!-- @attribute dur The duration of the animation in milliseconds. -->
			<xs:attribute name="dur" type="Sk:MSec"/>
			<!-- @attribute dynamic If true, restart the animation if any of the simple values the 'from', 'formula',
			 'lval', or 'to' attributes reference are changed. Simple values are contained by the array, boolean, float, int, 
			 and string elements. -->
			<xs:attribute name="dynamic" type="Sk:Boolean" />
			<!-- @attribute field The attribute to animate. -->
			<xs:attribute name="field" type="Sk:String"/>
			<!-- @attribute formula A script to execute over time to compute the field's value. Typically,
				the fomula is a script expression which includes a reference to the time attribute of the 
				containing apply	element.  Requires a dur.  For animations that do not stop, set dur="Number.POSITIVE_INFINITY" -->
			<xs:attribute name="formula" type="Sk:DynamicString"/>
			<!-- @attribute from The starting value (requires a 'to' attribute) -->
			<xs:attribute name="from" type="Sk:DynamicString"/>
			<!-- @attribute lval An expression evaluating to the attribute to animate.
				If present, lval overrides 'field'. The expression is typically an array element,
				e.g. lval="x[y]" . -->
			<xs:attribute name="lval" type="Sk:DynamicString"/>
			<!-- @attribute mirror If true, reverses the interpolated value during even repeat cycles. -->
			<xs:attribute name="mirror" type="Sk:Boolean"/>
			<!-- @attribute repeat Specifies the number of times to repeat the animation. 
				(May be fractional.)  -->
			<xs:attribute name="repeat" type="Sk:Float"/>
			<!-- @attribute reset  If true, the computed value is the initial value after the 
				animation is complete. If false, or by default, the computed value is the final value 
				after the animation is complete. -->
			<xs:attribute name="reset" type="Sk:Boolean"/>
			<!-- @attribute step When the apply's attribute mode="immediate" or "create", the step attribute can be read by 
				script to determine the current animation iteration.  -->
			<xs:attribute name="step" type="Sk:Int" />
			<!-- @attribute target The element to animate. By default, the element contained by the apply
				or referenced by the apply's scope attribute is the animate target. -->
			<xs:attribute name="target" type="Sk:DynamicString"/>
			<!-- @attribute to The ending value (requires a 'from' attribute) -->
			<xs:attribute name="to" type="Sk:DynamicString"/>
			<!-- @attribute values [Depreciated]  -->
			<xs:attribute name="values" type="Sk:DynamicString"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
		
	<!-- /** apply
		Apply changes one or more attributes of an element.
		Apply either contains one displayable element or references the element scoping the change
		with the 'scope' attribute. Apply either contains one animator element or references it with 
		the 'animator' attribute.
		In the display list, apply draws the element it scopes after evaluating the animation.
	*/ -->
	<xs:element name="apply">
		<xs:complexType>
			<xs:choice minOccurs="0" maxOccurs="1">
				<xs:element ref="Sk:animate"/>
				<xs:element ref="Sk:set" />
		<!-- not quite right; want to say 'one of the above, one of the below'
			</xs:choice>
			<xs:choice minOccurs="0" maxOccurs="1">
		-->
				<xs:element ref="Sk:add"/>
				<xs:element ref="Sk:array"/>
				<xs:element ref="Sk:apply"/>
				<xs:element ref="Sk:bitmap"/>
				<xs:element ref="Sk:boolean"/>
				<xs:element ref="Sk:bounds"/>
		<!--		<xs:element ref="Sk3D:camera"/>    -->
				<xs:element ref="Sk:clear"/>
				<xs:element ref="Sk:clip"/>
				<xs:element ref="Sk:color"/>
				<xs:element ref="Sk:drawTo"/>
				<xs:element ref="Sk:float"/>
				<xs:element ref="Sk:full"/>
				<xs:element ref="Sk:group"/>
				<xs:element ref="Sk:image"/>
				<xs:element ref="Sk:int"/>
				<xs:element ref="Sk:line"/>
				<xs:element ref="Sk:matrix"/>
				<xs:element ref="Sk:move"/>
				<xs:element ref="Sk:oval"/>
				<xs:element ref="Sk:paint"/>
			<!--	<xs:element ref="Sk:patch"/>   -->
				<xs:element ref="Sk:path"/>
				<xs:element ref="Sk:point"/>
				<xs:element ref="Sk:polygon"/>
				<xs:element ref="Sk:polyline"/>
				<xs:element ref="Sk:post"/>
				<xs:element ref="Sk:random"/>
				<xs:element ref="Sk:rect"/>
				<xs:element ref="Sk:remove"/>
				<xs:element ref="Sk:replace"/>
				<xs:element ref="Sk:roundRect"/>
				<xs:element ref="Sk:save"/>
				<xs:element ref="Sk:snapshot"/>
				<xs:element ref="Sk:string"/>
				<xs:element ref="Sk:text"/>
				<xs:element ref="Sk:textBox"/>
				<xs:element ref="Sk:textOnPath"/>
				<xs:element ref="Sk:textToPath"/>
			</xs:choice>
			<!-- @attribute animator The description of how the element is changed over time. -->
			<xs:attribute name="animator" type="Sk:Animate"/>
			<!-- @attribute begin An optional offset that must elapse before the animation begins. The apply
				begin attribute is added to any animator's begin attribute. -->
			<xs:attribute name="begin" type="Sk:MSec" />
			<!-- @attribute dontDraw Edits an element's attribute without drawing it; for instance,
				to edit a clip's rectangle without drawing the rectangle, set dontDraw="true".  -->
			<xs:attribute name="dontDraw" type="Sk:Boolean"/>
			<!-- @attribute dynamicScope The location in the display list where animations are stored. Use 
			dynamicScope instead of scope if a script expression with potentially different values is desired to 
			describe the scope. -->
			<xs:attribute name="dynamicScope" type="Sk:String"/>
			<!-- @attribute interval The optional time interval from one animation frame to the next. -->
			<xs:attribute name="interval" type="Sk:MSec" />
			<!-- @attribute mode One of @pattern. @patternDescription  -->
			<xs:attribute name="mode" type="Sk:ApplyMode"/>
			<!-- @attribute pickup Starts the animation at the current target's attribute value. Enabling
				'pickup' permits omitting the 'from' attribute of the animator.  -->
			<xs:attribute name="pickup" type="Sk:Boolean"/>
			<!-- @attribute restore If true, multiple references to the same apply statement save and
				restore the interpolated target values.  -->
			<xs:attribute name="restore" type="Sk:Boolean"/>
			<!-- @attribute scope The location in the display list where animations are stored.  -->
			<xs:attribute name="scope" type="Sk:Drawable"/>
			<!-- @attribute step When mode="immediate" or "create", the step attribute can be read by 
				script to determine the current animation iteration.  -->
			<xs:attribute name="step" type="Sk:Int" />
			<!-- @attribute steps When mode="immediate", the number of times the animation
				is stepped. The animation iterates 'steps' times plus one.  -->
			<xs:attribute name="steps" type="Sk:Int" />
			<!-- @attribute time When read from script, returns the animation time. Typically used by
				an animate element's formula attribute.  -->
			<xs:attribute name="time" type="Sk:MSec" />
			<!-- @attribute transition One of @pattern. @patternDescription  -->
			<xs:attribute name="transition" type="Sk:ApplyTransition"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** array
		Array contains an array of values of the same type. The values may be
		numbers or strings.
	*/ -->
	<xs:element name="array">
		<xs:complexType>
			<!-- @attribute length The number of elements in the array (read only). -->
			<xs:attribute name="length" type="Sk:Int"/>
			<!-- @attribute values The elements in the array. -->
			<xs:attribute name="values" type="Sk:UnknownArray"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** bitmap
		Bitmap describes a rectangle of pixels. 
		Use the <drawTo> element to draw to a bitmap.
		Add the bitmap to the display list to draw from a bitmap.  
	*/ -->
	<xs:element name="bitmap">
		<xs:complexType>
			<!-- @attribute erase The color, including the alpha, the bitmap is intially set to.  -->
			<xs:attribute name="erase" type="Sk:ARGB"/>
			<!-- @attribute format One of @pattern. @patternDescription  -->
			<xs:attribute name="format" type="Sk:BitmapFormat"/>
			<!-- @attribute height The height of the bitmap in pixels.  -->
			<xs:attribute name="height" type="Sk:Int"/>
			<!-- @attribute rowBytes The number of byte describing each row of pixels (optional).  -->
			<xs:attribute name="rowBytes" type="Sk:Int"/>
			<!-- @attribute  width The height of the width in pixels. -->
			<xs:attribute name="width" type="Sk:Int"/>
			<!-- @attribute x The left edge of the bitmap in unit space.  -->
			<xs:attribute name="x" type="Sk:Float"/>
			<!-- @attribute y The top edge of teh bitmap in unit space.  -->
			<xs:attribute name="y" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** bitmapShader
		BitmapShader sets the paint shader to draw the bitmap as a texture. 
	*/ -->
	<xs:element name="bitmapShader">
		<xs:complexType>
			<xs:choice >
				<xs:element ref="Sk:image" minOccurs="0" />
				<xs:element ref="Sk:matrix" minOccurs="0" />
			</xs:choice>
			<!-- @attribute matrix Matrix applies a 3x3 transform to the gradient. -->
			<xs:attribute name="matrix" type="Sk:Matrix"/>
			<!-- @attribute tileMode One of @pattern. @patternDescription -->
			<xs:attribute name="tileMode" type="Sk:TileMode"/>
			<!-- @attribute filterType The bitmap filter to employ, one of @pattern. -->
			<xs:attribute name="filterType" type="Sk:FilterType"/>
			<!-- @attribute image The bitmap to draw. -->
			<xs:attribute name="image" type="Sk:BaseBitmap"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	
	<!-- /** blur
		Blur describes an image filter in the paint that blurs the drawn geometry.  
	*/ -->
	<xs:element name="blur">
		<xs:complexType>
			<!-- @attribute blurStyle One of @pattern. @patternDescription  -->
			<xs:attribute name="blurStyle" type="Sk:MaskFilterBlurStyle"/>
			<!-- @attribute radius The extent of the filter effect in unit space. If the radius is less 
				than zero,	the blur has no effect. -->		
			<xs:attribute name="radius" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** boolean
		Boolean contains an boolean. The boolean element cannot be added to a display list, but can
		by set by animations and read by any attribute definition. An boolean element may be referenced,
		for instance, by a group's condition attribute to make an animation conditionally execute.
	*/ -->
	<xs:element name="boolean">
		<xs:complexType>
			<!-- @attribute value The contained boolean. -->
			<xs:attribute name="value" type="Sk:Boolean"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>

	<!-- /** bounds
		Bounds describes a bounding box that is not drawn. Bounds is used to specify a rectangle to
		invalidate or record whether the specified area was drawn.
		The width and height attribute compute the rectangle's right and bottom edges when the rectangle
		description is first seen. Animating the rectangle's left or top will not recompute the right or bottom
		if the width or height have been specified.
	*/ -->
	<xs:element name="bounds">
		<xs:complexType>
			<!-- @attribute bottom The bottom edge of the rectangle. -->
			<xs:attribute name="bottom" type="Sk:Float"/>
			<!-- @attribute height The height of the rectangle. Setting height computes the 
				bottom attribute from the top attribute. -->
			<xs:attribute name="height" type="Sk:Float"/>
			<!-- @attribute inval If set to true, union the drawn bounds to compute an inval area. -->
			<xs:attribute name="inval" type="Sk:Boolean"/>
			<!-- @attribute left The left edge of the rectangle. -->
			<xs:attribute name="left" type="Sk:Float"/>
			<!-- @attribute needsRedraw Set to true if last draw was visible. -->
			<xs:attribute name="needsRedraw" type="Sk:Boolean"/>
			<!-- @attribute right The right edge of the rectangle. -->
			<xs:attribute name="right" type="Sk:Float"/>
			<!-- @attribute top The top edge of the rectangle. -->
			<xs:attribute name="top" type="Sk:Float"/>
			<!-- @attribute width The width of the rectangle. -->
			<xs:attribute name="width" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** clear
		Clear removes all entries in the display list.  
	*/ -->
	<xs:element name="clear">
		<xs:complexType>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** clip
		Clip sets the canvas to clip drawing to an element's geometry.  
		A clip element may contain an element or reference an element with the path or
		rectangle attributes. To make the clip unrestricted, enclose a 'full' element.
	*/ -->
	<xs:element name="clip">
		<xs:complexType>
			<xs:choice minOccurs="0" maxOccurs="1">
				<xs:element ref="Sk:full"/>
				<xs:element ref="Sk:rect"/>
				<xs:element ref="Sk:path"/>
				<xs:element ref="Sk:polygon"/>
				<xs:element ref="Sk:polyline"/>
			</xs:choice>
			<!-- @attribute path A path-derived element to clip to: either an oval,
				a path, a polygon, a polyline, or a roundRect.  -->
			<xs:attribute name="path" type="Sk:Path"/>
			<!-- @attribute rect A rectangle element to clip to.  -->
			<xs:attribute name="rect" type="Sk:Rect"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** close
		Close connects the last point in the path's contour to the first if the contour is not already closed.  
	*/ -->
	<xs:element name="close">
		<xs:complexType>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** color
		Color describes a color in RGB space or HSV space, and its alpha (transparency).  
	*/ -->
	<xs:element name="color">
		<xs:complexType>
			<!-- @attribute alpha The alpha component, which describes transparency.
			 Alpha ranges from 0.0 (transparent) to 1.0 (completely opaque). -->
			<xs:attribute name="alpha" type="Sk:Float"/>
			<!-- @attribute blue The blue component of an RGB color. Blue ranges from 0 to 255.  -->
			<xs:attribute name="blue" type="Sk:Float"/>
			<!-- @attribute color The complete color. The color can be specified by name,
				by hexadecimal value, or with the rgb function.  -->
			<xs:attribute name="color" type="Sk:ARGB"/>
			<!-- @attribute green The green component of an RGB color. Green ranges from 0 to 255.  -->
			<xs:attribute name="green" type="Sk:Float"/>
			<!-- @attribute hue The hue component of an HSV color. Hue ranges from 0 to 360. -->
			<xs:attribute name="hue" type="Sk:Float"/>
			<!-- @attribute red The red component of an RGB color. Red ranges from 0 to 255.  -->
			<xs:attribute name="red" type="Sk:Float"/>
			<!-- @attribute saturation The saturation component of an HSV color. Saturation ranges from 0 to 1. -->
			<xs:attribute name="saturation" type="Sk:Float"/>
			<!-- @attribute value The value component of an HSV color. Value ranges from 0 to 1. -->
			<xs:attribute name="value" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** cubicTo
		CubicTo adds a cubic to the path, using the last point in the path as the first point of the cubic. 
	*/ -->
	<xs:element name="cubicTo">
		<xs:complexType>
			<!-- @attribute x1 The x position of the first off-curve point. -->
			<xs:attribute name="x1" type="Sk:Float"/>
			<!-- @attribute x2 The x position of the second off-curve point. -->
			<xs:attribute name="x2" type="Sk:Float"/>
			<!-- @attribute x3 The x position of the final on-curve point. -->
			<xs:attribute name="x3" type="Sk:Float"/>
			<!-- @attribute y1 The y position of the first off-curve point. -->
			<xs:attribute name="y1" type="Sk:Float"/>
			<!-- @attribute y2 The y position of the second off-curve point. -->
			<xs:attribute name="y2" type="Sk:Float"/>
			<!-- @attribute y3 The y position of the final on-curve point. -->
			<xs:attribute name="y3" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** dash
		Dash describes an array of dashes and gaps that describe how the paint strokes lines,
		rectangles, and paths. The intervals, phase, and dashed path are all measured in the same 
		unit space. The phase and distance between dashes is unaffected by the paint's stroke width.
	*/ -->
	<xs:element name="dash">
		<xs:complexType>
			<!-- @attribute intervals An array of floats that alternately describe the lengths of 
			dashes and gaps. Intervals must contain an even number of entries. -->
			<xs:attribute name="intervals" type="Sk:FloatArray"/>
			<!-- @attribute phase Phase advances the placement of the first dash. A positive phase 
			preceeds the first dash with a gap. A negative phase shortens the length of the first dash. -->
			<xs:attribute name="phase" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** data
		Data provides metadata to an event. The metadata may be an integer, a float, 
			or a string. 
	*/ -->
	<xs:element name="data">
		<xs:complexType>
			<!-- @attribute float The float value associated with the metadata. -->
			<xs:attribute name="float" type="Sk:Float"/>
			<!-- @attribute initialized A read-only value set to false (unused by data). -->
			<xs:attribute name="initialized" type="Sk:Boolean"/>
			<!-- @attribute int The integer value associated with the metadata. -->
			<xs:attribute name="int" type="Sk:Int"/>
			<!-- @attribute name The name of the metadata. This is the name of the data. --> 
			<xs:attribute name="name" type="Sk:String"/>
			<!-- @attribute string The string value associated with the metadata. -->
			<xs:attribute name="string" type="Sk:String"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>

	<!-- /** discrete
		Discrete alters the edge of the stroke randomly.  Discrete is a path effect, and only has an 
		effect when referenced from a paint.. A <pathEffect/>
		element with no attributes will dissable discrete. 
	*/ -->
	<xs:element name="discrete">
		<xs:complexType>
			<!-- @attribute deviation The amount of wobble in the stroke. -->
			<xs:attribute name="deviation" type="Sk:Float"/>
			<!-- @attribute segLength The length of wobble in the stroke. -->
			<xs:attribute name="segLength" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** drawTo
		DrawTo images to a bitmap. The bitmap can be added to the display list
		to draw the composite image. 
		DrawTo can be used as an offscreen to speed complicated animations, and
		for bitmap effects such as pixelated zooming.  
		DrawTo can only reference a single drawable element. Use <add>,
		<group>, or <save> to draw multiple elements with <drawTo>.
	*/ -->
	<xs:element name="drawTo">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded" >
				<xs:element ref="Sk:add"/>
				<xs:element ref="Sk:apply"/>
				<xs:element ref="Sk:bitmap"/>
				<xs:element ref="Sk:bounds"/>
		<!--		<xs:element ref="Sk3D:camera"/>    -->
				<xs:element ref="Sk:clear"/>
				<xs:element ref="Sk:clip"/>
				<xs:element ref="Sk:color"/>
				<xs:element ref="Sk:full"/>
				<xs:element ref="Sk:group"/>
				<xs:element ref="Sk:image"/>
				<xs:element ref="Sk:line"/>
				<xs:element ref="Sk:matrix"/>
				<xs:element ref="Sk:move"/>
				<xs:element ref="Sk:oval"/>
				<xs:element ref="Sk:paint"/>
			<!--	<xs:element ref="Sk:patch"/>   -->
				<xs:element ref="Sk:path"/>
				<xs:element ref="Sk:point"/>
				<xs:element ref="Sk:polygon"/>
				<xs:element ref="Sk:polyline"/>
				<xs:element ref="Sk:rect"/>
				<xs:element ref="Sk:remove"/>
				<xs:element ref="Sk:replace"/>
				<xs:element ref="Sk:roundRect"/>
				<xs:element ref="Sk:save"/>
				<xs:element ref="Sk:text"/>
				<xs:element ref="Sk:textBox"/>
				<xs:element ref="Sk:textOnPath"/>
				<xs:element ref="Sk:textToPath"/>
			</xs:choice>
			<!-- @attribute drawOnce If set, the drawTo will only draw a single time. -->
			<xs:attribute name="drawOnce" type="Sk:Boolean"/>
			<!-- @attribute use The bitmap to draw into. -->
			<xs:attribute name="use" type="Sk:bitmap"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** dump
		Dump prints a list of the items in the display list and all items' 
		children to the debug console. Dump is only available in Debug
		builds. */ -->
	<xs:element name="dump">	
		<xs:complexType>
			<!-- @attribute displayList Dumps the current display list if true. The display list is also
			dumped if dump has no attributes. -->
			<xs:attribute name="displayList" type="Sk:Boolean"/>
			<!-- @attribute eventList Dumps the list of events, both enabled and disabled. -->
			<xs:attribute name="eventList" type="Sk:Boolean"/>
			<!-- @attribute events Outputs each event element as it is enabled. -->
			<xs:attribute name="events" type="Sk:Boolean"/>
			<!-- @attribute groups Outputs each group element as its condition is evaluated. -->
			<xs:attribute name="groups" type="Sk:Boolean"/>
			<!-- @attribute name Outputs the values associated with a single named element. -->
			<xs:attribute name="name" type="Sk:String"/>
			<!-- @attribute posts Outputs each post element as it is enabled. -->
			<xs:attribute name="posts" type="Sk:Boolean"/>
            <!-- @attribute script Evaluates the provided script -->
            <xs:attribute name="script" type="Sk:String"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** emboss
		PRELIMINARY [to be replaced with SkEmbossMaskFilter.h doxyfomation
		at some point]
		Emboss applies a mask filter to the paint that makes bias the object's color
		towards white or black depending on the normals of the path contour, giving
		the shape a 3D raised or depressed effect.
		Embossing is replaced by subsequent mask filter elements, or
		disabled a negative radius, or by an empty <mask filter> element.
	*/ -->
	<xs:element name="emboss">
		<xs:complexType>
			<!-- @attribute ambient The amount of ambient light, from 0 to 1. -->		
			<xs:attribute name="ambient" type="Sk:Float"/>
			<!--  @attribute direction The direction of the light source, as descibed by a 3D vector. 
				(The vector is normalized to a unit length of 1.0.) -->		
			<xs:attribute name="direction" type="Sk:FloatArray"/>
			<!-- @attribute radius The extent of the filter effect in unit space. If the radius is less 
				than zero,	the emboss has no effect. -->		
			<xs:attribute name="radius" type="Sk:Float"/>
			<!--  @attribute specular The expotential intensity of the light, from 0 to 1. 
				Each increase of 0.0625 doubles the intensity. -->		
			<xs:attribute name="specular" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** event
		Event contains a series of actions performed each time the event's criteria are satisfied.
		These actions may modify the display list, may enable animations which in turn modify 
		elements' attributes, and may post other events. 
	*/ -->
	<xs:element name="event">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded" >
				<xs:element ref="Sk:add"/>
				<xs:element ref="Sk:apply"/>
				<xs:element ref="Sk:array"/>
				<xs:element ref="Sk:bitmap"/>
				<xs:element ref="Sk:boolean"/>
				<xs:element ref="Sk:bounds"/>
		<!--		<xs:element ref="Sk3D:camera"/>    -->
				<xs:element ref="Sk:clear"/>
				<xs:element ref="Sk:clip"/>
				<xs:element ref="Sk:color"/>
				<xs:element ref="Sk:drawTo"/>
				<xs:element ref="Sk:dump"/>
				<xs:element ref="Sk:float"/>
				<xs:element ref="Sk:full"/>
				<xs:element ref="Sk:group"/>
				<xs:element ref="Sk:hitClear"/>
				<xs:element ref="Sk:hitTest"/>
				<xs:element ref="Sk:image"/>
				<xs:element ref="Sk:input"/>
				<xs:element ref="Sk:int"/>
				<xs:element ref="Sk:line"/>
				<xs:element ref="Sk:matrix"/>
				<xs:element ref="Sk:move"/>
				<xs:element ref="Sk:movie"/>
				<xs:element ref="Sk:oval"/>
				<xs:element ref="Sk:paint"/>
			<!--	<xs:element ref="Sk:patch"/>   -->
				<xs:element ref="Sk:path"/>
				<xs:element ref="Sk:point"/>
				<xs:element ref="Sk:polygon"/>
				<xs:element ref="Sk:polyline"/>
				<xs:element ref="Sk:post"/>
				<xs:element ref="Sk:random"/>
				<xs:element ref="Sk:rect"/>
				<xs:element ref="Sk:remove"/>
				<xs:element ref="Sk:replace"/>
				<xs:element ref="Sk:roundRect"/>
				<xs:element ref="Sk:save"/>
				<xs:element ref="Sk:snapshot"/>
				<xs:element ref="Sk:string"/>
				<xs:element ref="Sk:text"/>
				<xs:element ref="Sk:textBox"/>
				<xs:element ref="Sk:textOnPath"/>
				<xs:element ref="Sk:textToPath"/>
			</xs:choice>
			<!-- @attribute code The key code to match to a key press event, one of @pattern. 
				If the code is set to @pattern[0], the event is never activated. -->		
			<xs:attribute name="code" type="Sk:EventCode"/>
			<!-- @attribute disable If true, the event cannot be activated. By default false.. -->		
			<xs:attribute name="disable" type="Sk:Boolean"/>
			<!-- @attribute key The character code to match to a key down event.
				 When read, the key that activated this event. -->		
			<xs:attribute name="key" type="Sk:String"/>
			<!-- @attribute keys A dash-separated continuous range of character codes to match 
				to a key	 down event. Read the key attribute to determine the key that activated this event. -->		
			<xs:attribute name="keys" type="Sk:String"/> <!-- single or range of keys -->
			<!-- @attribute kind The event kind that activates this event, one of @pattern. 
				If kind equals keyChar, either attribute key or keys is expected.
				If kind equals keyPress, attribute code is expected.
				If kind equals onEnd, attribute target is expected. 
				If kind equals onLoad, the event is activated when the document containing the event
				is loaded. The onLoad attribute cannot be activated through a post event.
				If kind equals user, the event is activated when the posted event targets this event's ID.  -->		
			<xs:attribute name="kind" type="Sk:EventKind"/>
			<!-- @attribute target The element to listen to which activates this event. -->
			<xs:attribute name="target" type="Sk:String" />
			<!-- @attribute x For click events, the x-coordinate of the click.  -->
			<xs:attribute name="x" type="Sk:Float" />
			<!-- @attribute y For click events, the y-coordinate of the click.  -->
			<xs:attribute name="y" type="Sk:Float" />
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** float
		Float contains a signed fractional value. The float element cannot be added to a display list, 
		but can be set by animations and read by any attribute definition.
	*/ -->
	<xs:element name="float">
		<xs:complexType>
			<!-- @attribute value The contained float. -->
			<xs:attribute name="value" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>

	<!-- /** fromPath
		FromPath concatenates the parent matrix with a new matrix 
		that maps a unit vector to a point on the given path. 
		A fromPath element may contain a path element, or may refer to a previously
		defined path element with the path attribute.
	*/ -->
	<xs:element name="fromPath">
		<xs:complexType>
			<xs:choice >
				<!-- @element path The path to evaluate. -->
				<xs:element ref="Sk:path" minOccurs="0" />
			</xs:choice>
			<!-- @attribute mode One of @pattern. 
			If mode is set to normal, the matrix maps the unit vector's angle and position.
			If mode is set to angle, the matrix maps only the unit vector's angle.
			If mode is set to position, the matrix maps only the unit vector's position. -->
			<xs:attribute name="mode" type="Sk:FromPathMode"/>
			<!-- @attribute offset The distance along the path to evaluate. -->
			<xs:attribute name="offset" type="Sk:Float"/>
			<!-- @attribute path The path to evaluate. -->
			<xs:attribute name="path" type="Sk:Path"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** full
		Full paints the entire canvas to the limit of the canvas' clip.
	*/ -->
	<xs:element name="full">
		<xs:complexType>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** group
		The group element collects a series of elements into a group.  The group can be referenced
		or defined within elements, like apply, which operate on any kind of element. Groups 
		may contain groups. An element in a group draws identically to an element outside a group.
	*/ -->
	<xs:element name="group">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
				<xs:element ref="Sk:add"/>
				<xs:element ref="Sk:apply"/>
				<xs:element ref="Sk:array"/>
				<xs:element ref="Sk:bitmap"/>
				<xs:element ref="Sk:boolean"/>
				<xs:element ref="Sk:bounds"/>
		<!--		<xs:element ref="Sk3D:camera"/>    -->
				<xs:element ref="Sk:clear"/>
				<xs:element ref="Sk:clip"/>
				<xs:element ref="Sk:drawTo"/>
				<xs:element ref="Sk:float"/>
				<xs:element ref="Sk:full"/>
				<xs:element ref="Sk:group"/>
				<xs:element ref="Sk:hitClear"/>
				<xs:element ref="Sk:hitTest"/>
				<xs:element ref="Sk:image"/>
				<xs:element ref="Sk:int"/>
				<xs:element ref="Sk:line"/>
				<xs:element ref="Sk:matrix"/>
				<xs:element ref="Sk:move"/>
				<xs:element ref="Sk:oval"/>
				<xs:element ref="Sk:paint"/>
			<!--	<xs:element ref="Sk:patch"/>   -->
				<xs:element ref="Sk:path"/>
				<xs:element ref="Sk:point"/>
				<xs:element ref="Sk:polygon"/>
				<xs:element ref="Sk:polyline"/>
				<xs:element ref="Sk:post"/>
				<xs:element ref="Sk:random"/>
				<xs:element ref="Sk:rect"/>
				<xs:element ref="Sk:remove"/>
				<xs:element ref="Sk:replace"/>
				<xs:element ref="Sk:roundRect"/>
				<xs:element ref="Sk:save"/>
				<xs:element ref="Sk:snapshot"/>
				<xs:element ref="Sk:string"/>
				<xs:element ref="Sk:text"/>
				<xs:element ref="Sk:textBox"/>
				<xs:element ref="Sk:textOnPath"/>
				<xs:element ref="Sk:textToPath"/>
			</xs:choice>
			<!-- @attribute condition If present and zero, the contained elements are ignored
				when drawn. -->
			<xs:attribute name="condition" type="Sk:DynamicString"/>
			<!-- @attribute enableCondition If present and zero, the contained elements are ignored
				when enabled. -->
			<xs:attribute name="enableCondition" type="Sk:DynamicString"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<xs:element name="hitClear" >
		<xs:complexType>
			<xs:choice maxOccurs="1">
				<xs:element ref="Sk:array"/>
			</xs:choice>
			<!-- @attribute targets An array of element IDs to clear their hit-tested state. -->
			<xs:attribute name="targets" type="Sk:DisplayableArray"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<xs:element name="hitTest" >
		<xs:complexType>
			<xs:choice maxOccurs="2">
				<xs:element ref="Sk:array"/>
			</xs:choice>
			<!-- @attribute bullets An array of element IDs to test for intersection with targets. -->
			<xs:attribute name="bullets" type="Sk:DisplayableArray"/>
			<!-- @attribute hits The targets the bullets hit. A read-only array of indices, one index
				per bullet. The value of the array element is the index of the target hit, or -1 if no
				target was hit. -->
			<xs:attribute name="hits" type="Sk:IntArray"/>
			<!-- @attribute targets An array of element IDs to test for intersection with bullets. -->
			<xs:attribute name="targets" type="Sk:DisplayableArray"/>
			<!-- @attribute value Read only; set to true if some bullet hit some target. -->
			<xs:attribute name="value" type="Sk:Boolean"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** image
		Image creates a reference to a JPEG, PNG or GIF. The image may be referenced
		through the local file system, the internet, or embedded in the document in Base64
		format. The specific image type is determined by examining the byte stream.  
	*/ -->
	<xs:element name="image">
		<xs:complexType>
			<!-- @attribute base64 The image in Base64 notation. See http://rfc.net/rfc2045.html 
			for the base64 format. -->
			<xs:attribute name="base64" type="Sk:Base64"/>
			<!-- @attribute height The height of the image (read-only). -->
			<xs:attribute name="height" type="Sk:Int"/>
			<!-- @attribute src The URI reference, local to the contaiing document. -->
			<xs:attribute name="src" type="Sk:String"/>
			<!-- @attribute width The width of the image (read-only). -->
			<xs:attribute name="width" type="Sk:Int"/>
			<!-- @attribute x The position of the left edge of the image in local coordinates. -->
			<xs:attribute name="x" type="Sk:Float"/>
			<!-- @attribute y The position of the top edge of the image in local coordinates. -->
			<xs:attribute name="y" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** include
		Include adds the referenced XML to the containing document. Unlike movie, the XML
		directives can reference the document's IDs and can define new IDs that are referenced
		by the remainder of the document or subsequent includes.  
	*/ -->
	<xs:element name="include">
		<xs:complexType>
			<!-- @attribute src The URI reference, local to the containing document, 
			containing the include's XML. -->
			<xs:attribute name="src" type="Sk:String"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** input
		Input captures the metadata passed from an event. When the metadata's name or id 
		matches the metadata's name, the metadata's payload is copied to the corresponding
		input attribute.
	*/ -->
	<xs:element name="input">
		<xs:complexType>
			<!-- @attribute float The floating point payload carried by the metadata. -->
			<xs:attribute name="float" type="Sk:Float"/>
			<!-- @attribute initialized A read-only value set to true if the input received a value 
				from the event. -->
			<xs:attribute name="initialized" type="Sk:Boolean"/>
			<!-- @attribute int The signed integer payload carried by the metadata. -->
			<xs:attribute name="int" type="Sk:Int"/>
			<!-- @attribute name The name of the metadata containing the payload. Note that 
				the name or id may match the payload, but that XML requires the id to be
				uniquely defined in the document, while multiple input elements may reuse 
				the name. -->
			<xs:attribute name="name" type="Sk:String"/>
			<!-- @attribute string The text payload carried by the metadata. -->
			<xs:attribute name="string" type="Sk:String"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** int
		Int contains an integer. The int element cannot be added to a display list, but can
		by set by animations and read by any attribute definition. An int element may be used,
		for instance, to index through an array element.
	*/ -->
	<xs:element name="int">
		<xs:complexType>
			<!-- @attribute value The contained integer. -->
			<xs:attribute name="value" type="Sk:Int"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>

	<!-- /** line
		Line describes a line between two points. As noted below, the paint's stroke and
		strokeAndFill attributes are ignored.
	*/ -->
	<xs:element name="line">
		<xs:complexType>
			<!-- @attribute x1 The start point's x value. -->
			<xs:attribute name="x1" type="Sk:Float"/>
			<!-- @attribute x2 The stop point's x value. -->
			<xs:attribute name="x2" type="Sk:Float"/>
			<!-- @attribute y1 The start point's y value. -->
			<xs:attribute name="y1" type="Sk:Float"/>
			<!-- @attribute y2 The stop point's y value. -->
			<xs:attribute name="y2" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** lineTo
		LineTo adds a line from the last point in a path to the specified point. 
	*/ -->
	<xs:element name="lineTo">
		<xs:complexType>
			<!-- @attribute x The final path x coordinate. -->
			<xs:attribute name="x" type="Sk:Float"/>
			<!-- @attribute y The final path y coordinate. -->
			<xs:attribute name="y" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** linearGradient
		LinearGradient sets the paint shader to ramp between two or more colors. 
	*/ -->
	<xs:element name="linearGradient">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
				<xs:element ref="Sk:color"/>
				<xs:element ref="Sk:matrix"/>
			</xs:choice>
			<!-- @attribute matrix Matrix applies a 3x3 transform to the gradient. -->
			<xs:attribute name="matrix" type="Sk:Matrix"/>
			<!-- @attribute tileMode One of @pattern. @patternDescription -->
			<xs:attribute name="tileMode" type="Sk:TileMode"/>
			<!-- @attribute offsets An optional array of values used to bias the colors. The first entry
				in the array must be 0.0, the last must be 1.0, and intermediate values must ascend. -->
			<xs:attribute name="offsets" type="Sk:FloatArray"/>
			<!-- @attribute points Two points describing the start and end of the gradient. -->
			<xs:attribute name="points" type="Sk:Point"/>	<!-- not right; should be array of 2 points -->
			<!-- @attribute unitMapper A script that returns the mapping for [0,1] for the gradient.
				The script can use the predefined variable 'unit' to compute the mapping. For instance,
				"unit*unit" squares the value (while still keeping it in the range of [0,1].) The computed number
				is pinned to from 0 to 1 after the script is executed. -->
			<xs:attribute name="unitMapper" type="Sk:String"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** maskFilter
		MaskFilter disables any mask filter referenced by the paint. 
	*/ -->
	<xs:element name="maskFilter">
		<xs:complexType>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** matrix
		Matrix transforms all points drawn to the canvas. The matrix may translate, scale, skew, rotate,
		or apply perspective, or apply any combination.  
	*/ -->
	<xs:element name="matrix">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
			<!-- @element fromPath FromPath maps a unit vector to a position and direction on a path. -->
				<xs:element ref="Sk:fromPath"/>
			<!-- @element polyToPoly PolyToPoly maps a points between two polygons. -->
				<xs:element ref="Sk:polyToPoly"/>
			<!-- @element rectToRect RectToRect maps a points between two rectangles. -->
				<xs:element ref="Sk:rectToRect"/>
			<!-- @element rotate Rotate computes the matrix rotation in degrees. -->
				<xs:element ref="Sk:rotate"/>
			<!-- @element scale Scale stretches or shrinks horizontally, vertically, or both. -->
				<xs:element ref="Sk:scale"/>
			<!-- @element skew Skew slants horizontally, vertically, or both. -->
				<xs:element ref="Sk:skew"/>
			<!-- @element translate Translate moves horizontally, vertically, or both. -->
				<xs:element ref="Sk:translate"/>
			</xs:choice>
			<!-- @attribute matrix Nine floats describing a 3x3 matrix. -->
			<xs:attribute name="matrix" type="Sk:FloatArray"/>
			<!-- @attribute perspectX The [0][2] element of the 3x3 matrix. -->
			<xs:attribute name="perspectX" type="Sk:Float"/>
			<!-- @attribute perspectY The [1][2] element of the 3x3 matrix. -->
			<xs:attribute name="perspectY" type="Sk:Float"/>
			<!-- @attribute rotate The angle to rotate in degrees. -->
			<xs:attribute name="rotate" type="Sk:Float"/>
			<!-- @attribute scale The scale to apply in both X and Y.. -->
			<xs:attribute name="scale" type="Sk:Float"/>
			<!-- @attribute scaleX The [0][0] element of the 3x3 matrix. -->
			<xs:attribute name="scaleX" type="Sk:Float"/>
			<!-- @attribute scaleY The [1][1] element of the 3x3 matrix. -->
			<xs:attribute name="scaleY" type="Sk:Float"/>
			<!-- @attribute skewX The [0][1] element of the 3x3 matrix. -->
			<xs:attribute name="skewX" type="Sk:Float"/>
			<!-- @attribute skewY The [1][0] element of the 3x3 matrix. -->
			<xs:attribute name="skewY" type="Sk:Float"/>
			<!-- @attribute translate A point specifying the translation in X and Y. -->
			<xs:attribute name="translate" type="Sk:Point"/>
			<!-- @attribute translateX The [2][0] element of the 3x3 matrix. -->
			<xs:attribute name="translateX" type="Sk:Float"/>
			<!-- @attribute translateY The [2][1] element of the 3x3 matrix. -->
			<xs:attribute name="translateY" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** move
		Move an element in the display list in front or behind other elements.  
		If where and offset are omitted, the element is moved to the end of the display list.
		If where is specified, the element is moved before the first occurance of where in the display list.
		If offset and where are specified, the element is moved before where plus offset.
		A positive offset without where moves the element to the start of the list plus offset.
		A negative offset without where moves the element to the end of the list minus offset.
	*/ -->
	<xs:element name="move">
		<xs:complexType>
			<!-- @attribute mode Has no effect. -->
			<xs:attribute name="mode" type="Sk:AddMode"/>
			<!-- @attribute offset The destination position using the rules listed above. -->
			<xs:attribute name="offset" type="Sk:Int"/>
			<!-- @attribute use The element to move. -->
			<xs:attribute name="use" type="Sk:Drawable"/>
			<!-- @attribute where The ID of the first display list entry to move to. -->
			<xs:attribute name="where" type="Sk:Drawable"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** moveTo
		MoveTo specifies the first point in a path contour.
	*/ -->
	<xs:element name="moveTo">
		<xs:complexType>
			<!-- @attribute x The point's x coordinate. -->
			<xs:attribute name="x" type="Sk:Float"/>
			<!-- @attribute y The point's y coordinate. -->
			<xs:attribute name="y" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** movie
		Movie describes a display list within the current canvas and paint. Movies can contain 
		movies. One movie cannot affect how another movie draws, but movies can communicate
		with each other by posting events.
	*/ -->
	<xs:element name="movie">
		<xs:complexType>
			<!-- @attribute src The URI reference, local to the containing document, containing the movie's XML. -->
			<xs:attribute name="src" type="Sk:String"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** oval
		Oval describes a circle stretched to fit in a rectangle.
		The width and height attribute compute the oval's right and bottom edges when the oval
		description is first seen. Animating the oval's left or top will not recompute the right or bottom
		if the width or height have been specified.
	*/ -->
	<xs:element name="oval">
		<xs:complexType>
			<!-- @attribute bottom The bottom edge of the oval. -->
			<xs:attribute name="bottom" type="Sk:Float"/>
			<!-- @attribute height The height of the oval. -->
			<xs:attribute name="height" type="Sk:Float"/>
			<!-- @attribute left The left edge of the oval. -->
			<xs:attribute name="left" type="Sk:Float"/>
			<!-- @attribute needsRedraw Set to true if last draw was visible. -->
			<xs:attribute name="needsRedraw" type="Sk:Boolean"/>
			<!-- @attribute right The right edge of the oval. -->
			<xs:attribute name="right" type="Sk:Float"/>
			<!-- @attribute top The top edge of the oval. -->
			<xs:attribute name="top" type="Sk:Float"/>
			<!-- @attribute width The width of the oval. -->
			<xs:attribute name="width" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** paint
		Paint uses color, flags, path effects, mask filters, shaders, and stroke effects when drawing 
		geometries, images, and text.
	*/ -->
	<xs:element name="paint">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
			<!-- @element bitmapShader Sets or cancels an image to draw as the color. -->
				<xs:element ref="Sk:bitmapShader"/>
			<!-- @element blur Blur radially draws the shape with varying transparency. -->
				<xs:element ref="Sk:blur"/>
			<!-- @element color Color specifies a solid color in RGB or HSV. -->
				<xs:element ref="Sk:color"/>
			<!-- @element dash Dashes alternates stroking with dashes and gaps. -->
				<xs:element ref="Sk:dash"/>
			<!-- @element discrete Discrete wobbles the geometry randomly. -->
				<xs:element ref="Sk:discrete"/>
			<!-- @element emboss Emboss simulates a 3D light to show highlights and relief. -->
				<xs:element ref="Sk:emboss"/>
			<!-- @element linearGradient LinearGradient linearly ramps between two or more colors. -->
				<xs:element ref="Sk:linearGradient"/>
			<!-- @element maskFilter MaskFilter cancels a blur or emboss. -->
				<xs:element ref="Sk:maskFilter"/>
			<!-- @element  pathEffect PathEffect cancels a discrete or dash. -->
				<xs:element ref="Sk:pathEffect"/>
			<!-- @element radialGradient RadialGradient radially ramps between two or more colors. -->
				<xs:element ref="Sk:radialGradient"/>
			<!-- @element shader Shader cancels a linear or radial gradient. -->
				<xs:element ref="Sk:shader"/>
			<!-- @element typeface Typeface chooses a font out of a font family. -->
				<xs:element ref="Sk:typeface"/>
			<!-- @element transparentShader  TransparentShader ? [not sure what this is for] -->
				<xs:element ref="Sk:transparentShader"/>
			</xs:choice>
			<!-- @attribute antiAlias AntiAlias uses gray shades to increase the definition of paths. -->
			<xs:attribute name="antiAlias" type="Sk:Boolean"/>
			<!-- @attribute ascent Ascent returns the height above the baseline defined by the font. -->
			<xs:attribute name="ascent" type="Sk:Float"/>
			<!-- @attribute color Color sets the paint to the color element with this ID. -->
			<xs:attribute name="color" type="Sk:Color"/>
			<!-- @attribute descent Descent returns the height below the baseline defined by thte font -->
			<xs:attribute name="descent" type="Sk:Float"/>
			<!-- @attribute fakeBold FakeBold enables a faked bold for text. -->
			<xs:attribute name="fakeBold" type="Sk:Boolean"/>
			<!-- @attribute filterType FilterType -->
			<xs:attribute name="filterType" type="Sk:FilterType"/>
			<!-- @attribute linearText LinearText uses the ideal path metrics at all sizes to describe text. -->
			<xs:attribute name="linearText" type="Sk:Boolean"/>
			<!-- @attribute maskFilter MaskFilter specifies a blur or emboss with this ID. -->
			<xs:attribute name="maskFilter" type="Sk:MaskFilter"/>
			<!-- @attribute measureText MeasureText(String) returns the width of the string in this paint. -->
			<xs:attribute name="measureText" type="Sk:Float"/>
			<!-- @attribute pathEffect PathEffect specifies a discrete or dash with this ID. -->
			<xs:attribute name="pathEffect" type="Sk:PathEffect"/>
			<!-- @attribute shader Shader specifies a gradient with this ID. -->
			<xs:attribute name="shader" type="Sk:Shader"/>
			<!-- @attribute strikeThru StrikeThru adds a line through the middle of drawn text. -->
			<xs:attribute name="strikeThru" type="Sk:Boolean"/>
			<!-- @attribute stroke Stroke draws the outline of geometry according to the pen attributes. 
				If style is also present, its setting overrides stroke. -->
			<xs:attribute name="stroke" type="Sk:Boolean"/>
			<!-- @attribute strokeCap StrokeCap is one of @pattern. -->
			<xs:attribute name="strokeCap" type="Sk:Cap"/>
			<!-- @attribute strokeJoin StrokeJoin is one of @pattern. -->
			<xs:attribute name="strokeJoin" type="Sk:Join"/>
			<!-- @attribute strokeMiter StrokeMiter limits the pen's joins on narrow angles. -->
			<xs:attribute name="strokeMiter" type="Sk:Float"/>
			<!-- @attribute strokeWidth StrokeWidth specifies the width of the pen. -->
			<xs:attribute name="strokeWidth" type="Sk:Float"/>
			<!-- @attribute style Style fills, strokes, or strokes and fills the geometry with the paint's color. -->
			<xs:attribute name="style" type="Sk:Style"/>
			<!-- @attribute textAlign TextAlign is one of @pattern. -->
			<xs:attribute name="textAlign" type="Sk:Align"/>
			<!-- @attribute textScaleX TextScaleX condenses or exapnds the text. -->
			<xs:attribute name="textScaleX" type="Sk:Float"/>
			<!-- @attribute textSize TextSize specifies the point size of the text. -->
			<xs:attribute name="textSize" type="Sk:Float"/>
			<!-- @attribute textSkewX TextSkewX draws the text obliquely. -->
			<xs:attribute name="textSkewX" type="Sk:Float"/>
			<!-- @attribute textTracking TextTracking specifies the space between letters. -->
			<xs:attribute name="textTracking" type="Sk:Float"/>
			<!-- @attribute typeface Typeface specifies a typeface element with this ID. -->
			<xs:attribute name="typeface" type="Sk:Typeface"/>
			<!-- @attribute underline Underline draws a line under the baseline of the text. -->
			<xs:attribute name="underline" type="Sk:Boolean"/>
			<!-- @attribute xfermode Xfermode specifies a transfer mode, one of @pattern. -->
			<xs:attribute name="xfermode" type="Sk:Xfermode"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** path
		Path creates a geometry out of lines and curves.
	*/ -->
	<xs:element name="path">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
			<!-- @element addCircle Adds a circle to the path. -->
				<xs:element ref="Sk:addCircle"/>
			<!-- @element addOval Adds an oval to the path. -->
				<xs:element ref="Sk:addOval"/>
			<!-- @element addPath Adds another path to the path. -->
				<xs:element ref="Sk:addPath"/>
			<!-- @element addRoundRect Adds a rounded-corner rectangle  to the path. -->
				<xs:element ref="Sk:addRoundRect"/>
			<!-- @element close Connects the last point on the path to the first. -->
				<xs:element ref="Sk:close"/>
			<!-- @element cubicTo Extends the path with a cubic curve. -->
				<xs:element ref="Sk:cubicTo"/>
			<!-- @element lineTo Extends the path with a line. -->
				<xs:element ref="Sk:lineTo"/>
			<!-- @element moveTo Starts a new path contour. -->
				<xs:element ref="Sk:moveTo"/>
			<!-- @element quadTo Extends the path with a quadratic curve. -->
				<xs:element ref="Sk:quadTo"/>
			<!-- @element rCubicTo Extends the path with a cubic curve expressed with relative offsets. -->
				<xs:element ref="Sk:rCubicTo"/>
			<!-- @element rLineTo Extends the path with a line expressed with relative offsets. -->
				<xs:element ref="Sk:rLineTo"/>
			<!-- @element rMoveTo Starts a new path contour relative to the path's last point. -->
				<xs:element ref="Sk:rMoveTo"/>
			<!-- @element rQuadTo Extends the path with a quadratic curve expressed with relative offsets. -->
				<xs:element ref="Sk:rQuadTo"/>
			</xs:choice>
			<!-- @attribute d Creates a path using SVG path notation. -->
			<xs:attribute name="d" type="Sk:String"/>
			<!-- @attribute fillType One of @pattern. -->
			<xs:attribute name="fillType" type="Sk:FillType"/>
			<!-- @attribute length Returns the length of the path. -->
			<xs:attribute name="length" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** pathEffect
		PathEffect cancels any current path effect within the paint, such as dashing or discrete.
	*/ -->
	<xs:element name="pathEffect">
		<xs:complexType>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
		
	<!-- /** point
		Point describes a two dimensional point in space. The point element can be added
		to the display list and drawn.
	*/ -->
	<xs:element name="point">
		<xs:complexType>
			<!-- @attribute x The x coordinate of the point. -->
			<xs:attribute name="x" type="Sk:Float"/>
			<!-- @attribute y The y coordinate of the point. -->
			<xs:attribute name="y" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** polygon
		Polygon creates a geometry out of lines. Polygon is a specialization of path; element that 
		refers to a path can refer to a polygon also. A polygon specified through elements behaves identically
		to a path. A polygon specified by the points attribute contains a single contour, and the contour is 
		automatically closed.
	*/ -->
	<xs:element name="polygon">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
			<!-- @element close Connects the last point on the path to the first. -->
				<xs:element ref="Sk:close"/>
			<!-- @element addPath Adds another path to the path. -->
				<xs:element ref="Sk:addPath"/>
			<!-- @element lineTo Extends the path with a line. -->
				<xs:element ref="Sk:lineTo"/>
			<!-- @element moveTo Starts a new path contour. -->
				<xs:element ref="Sk:moveTo"/>
			<!-- @element rLineTo Extends the path with a line expressed with relative offsets. -->
				<xs:element ref="Sk:rLineTo"/>
			<!-- @element rMoveTo Starts a new path contour relative to the path's last point. -->
				<xs:element ref="Sk:rMoveTo"/>
			</xs:choice>
			<!-- @attribute points An array of values that describe a sequence of points, compatible with SVG. -->
			<xs:attribute name="points" type="Sk:FloatArray"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** polyline
		Polyline creates a geometry out of lines. Polygon is a specialization of path; element that 
		refers to a path can refer to a polygon also. A polygon specified through elements behaves identically
		to a path. A polygon specified by the points attribute contains a single contour, and the contour is 
		not automatically closed.
	*/ -->
	<xs:element name="polyline">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
			<!-- @element close Connects the last point on the path to the first. -->
				<xs:element ref="Sk:close"/>
			<!-- @element addPath Adds another path to the path. -->
				<xs:element ref="Sk:addPath"/>
			<!-- @element lineTo Extends the path with a line. -->
				<xs:element ref="Sk:lineTo"/>
			<!-- @element moveTo Starts a new path contour. -->
				<xs:element ref="Sk:moveTo"/>
			<!-- @element rLineTo Extends the path with a line expressed with relative offsets. -->
				<xs:element ref="Sk:rLineTo"/>
			<!-- @element rMoveTo Starts a new path contour relative to the path's last point. -->
				<xs:element ref="Sk:rMoveTo"/>
			</xs:choice>
			<!-- @attribute points An array of values that describe a sequence of points, compatible with SVG. -->
			<xs:attribute name="points" type="Sk:FloatArray"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** polyToPoly
		PolyToPoly creates a matrix which maps points proportionally from one polygon to the other.
	*/ -->
	<xs:element name="polyToPoly">
		<xs:complexType>
			<xs:choice maxOccurs="2">
				<xs:element ref="Sk:polygon"/>
			</xs:choice>
			<!-- @attribute source The polygon to map from.. -->
			<xs:attribute name="source" type="Sk:polygon"/>
			<!-- @attribute destination The polygon to map to.. -->
			<xs:attribute name="destination" type="Sk:polygon"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** post
		Post activates an event. The event can trigger one or more actions, and can carry a data payload.
	*/ -->
	<xs:element name="post">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
				<xs:element ref="Sk:data"/>
			</xs:choice>
			<!-- @attribute delay Time in seconds that must elapse before the target event is activated. -->
			<xs:attribute name="delay" type="Sk:MSec"/>
			<!-- @attribute mode One of @pattern. @patternDescription -->
			<xs:attribute name="mode" type="Sk:EventMode"/>
			<!-- @attribute sink The optional named EventSink to direct the event to. -->
			<xs:attribute name="sink" type="Sk:String"/>
			<!-- @attribute target The ID of the user event to trigger. -->
			<xs:attribute name="target" type="Sk:String"/>
			<!-- @attribute type The name of the external event to post. -->
			<xs:attribute name="type" type="Sk:String"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>

	<!-- /** quadTo
		QuadTo adds a quadratic curve to a path.
	*/ -->
	<xs:element name="quadTo">
		<xs:complexType>
			<!-- @attribute x1 The x position of the off-curve point. -->
			<xs:attribute name="x1" type="Sk:Float"/>
			<!-- @attribute x2 The x position of the final point. -->
			<xs:attribute name="x2" type="Sk:Float"/>
			<!-- @attribute y1 The y position of the off-curve point. -->
			<xs:attribute name="y1" type="Sk:Float"/>
			<!-- @attribute y2 The y position of the final point. -->
			<xs:attribute name="y2" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** rCubicTo
		RCubicTo adds a cubic to the path, using the last point in the path as the first point of the cubic.  THe
		added points are offsets from the last point in the path.
	*/ -->
	<xs:element name="rCubicTo">
		<xs:complexType>
			<!-- @attribute x1 The x offset of the first off-curve point. -->
			<xs:attribute name="x1" type="Sk:Float"/>
			<!-- @attribute x2 The x offset of the second off-curve point. -->
			<xs:attribute name="x2" type="Sk:Float"/>
			<!-- @attribute x3 The x offset of the final on-curve point. -->
			<xs:attribute name="x3" type="Sk:Float"/>
			<!-- @attribute y1 The y offset of the first off-curve point. -->
			<xs:attribute name="y1" type="Sk:Float"/>
			<!-- @attribute y2 The y offset of the second off-curve point. -->
			<xs:attribute name="y2" type="Sk:Float"/>
			<!-- @attribute y3 The y offset of the final on-curve point. -->
			<xs:attribute name="y3" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** rLineTo
		RLineTo adds a line from the last point in a path to the specified point. The specified
		point is relative to the last point in the path.
	*/ -->
	<xs:element name="rLineTo">
		<xs:complexType>
			<!-- @attribute x The final path x coordinate. -->
			<xs:attribute name="x" type="Sk:Float"/>
			<!-- @attribute y The final path y coordinate. -->
			<xs:attribute name="y" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** rMoveTo
		RMoveTo specifies the first point in a path contour. The specified
		point is relative to the last point in the path.
	*/ -->
	<xs:element name="rMoveTo">
		<xs:complexType>
			<!-- @attribute x The point's x coordinate. -->
			<xs:attribute name="x" type="Sk:Float"/>
			<!-- @attribute y The point's y coordinate. -->
			<xs:attribute name="y" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
		
	<!-- /** rQuadTo
		RQuadTo adds a quadratic curve to a path. The quadratic 
		points are relative to the last point in the path.
	*/ -->
	<xs:element name="rQuadTo">
		<xs:complexType>
			<!-- @attribute x1 The x position of the off-curve point. -->
			<xs:attribute name="x1" type="Sk:Float"/>
			<!-- @attribute x2 The x position of the final point. -->
			<xs:attribute name="x2" type="Sk:Float"/>
			<!-- @attribute y1 The y position of the off-curve point. -->
			<xs:attribute name="y1" type="Sk:Float"/>
			<!-- @attribute y2 The y position of the final point. -->
			<xs:attribute name="y2" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
		
	<!-- /** radialGradient
		RadialGradient sets the paint shader to ramp between two or more colors in concentric circles. 
	*/ -->
	<xs:element name="radialGradient">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
				<xs:element ref="Sk:color"/>
				<xs:element ref="Sk:matrix"/>
			</xs:choice>
			<!-- @attribute matrix Matrix applies a 3x3 transform to the gradient. -->
			<xs:attribute name="matrix" type="Sk:Matrix"/>
			<!-- @attribute tileMode One of @pattern. @patternDescription -->
			<xs:attribute name="tileMode" type="Sk:TileMode"/>
			<!-- @attribute center The center point of the radial gradient. -->
			<xs:attribute name="center" type="Sk:Point"/>
			<!-- @attribute offsets An optional array of values used to bias the colors. The first entry
				in the array must be 0.0, the last must be 1.0, and intermediate values must ascend. -->
			<xs:attribute name="offsets" type="Sk:FloatArray"/>
			<!-- @attribute radius The distance from the first color to the last color. -->
			<xs:attribute name="radius" type="Sk:Float"/>
			<!-- @attribute unitMapper A script that returns the mapping for [0,1] for the gradient.
				The script can use the predefined variable 'unit' to compute the mapping. For instance,
				"unit*unit" squares the value (while still keeping it in the range of [0,1].) The computed number
				is pinned to from 0 to 1 after the script is executed. -->
			<xs:attribute name="unitMapper" type="Sk:String"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** random
		Random generates a random number, from min to max. Each time the random attribute is
		read, a new random number is generated.
	*/ -->
	<xs:element name="random">
		<xs:complexType>
			<!-- @attribute blend The random bias from 0.0 to 1.0.
			 0.0 biias the number towards the start and end of the range.
			 1.0 (the default) generates a linear distribution.-->
			<xs:attribute name="blend" type="Sk:Float"/>
			<!-- @attribute max The largest value to generate. -->
			<xs:attribute name="max" type="Sk:Float"/>
			<!-- @attribute min The smallest value to generate. -->
			<xs:attribute name="min" type="Sk:Float"/>
			<!-- @attribute random The generated value. -->
			<xs:attribute name="random" type="Sk:Float"/>
			<!-- @attribute seed The random seed. Identical seeds generate the same series of 
			numbers. -->
			<xs:attribute name="seed" type="Sk:Int"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>

	<!-- /** rect
		Rect describes a bounding box.
		The width and height attribute compute the rectangle's right and bottom edges when the rectangle
		description is first seen. Animating the rectangle's left or top will not recompute the right or bottom
		if the width or height have been specified.
	*/ -->
	<xs:element name="rect">
		<xs:complexType>
			<!-- @attribute bottom The bottom edge of the rectangle. -->
			<xs:attribute name="bottom" type="Sk:Float"/>
			<!-- @attribute height The height of the rectangle. Setting height computes the 
				bottom attribute from the top attribute. -->
			<xs:attribute name="height" type="Sk:Float"/>
			<!-- @attribute left The left edge of the rectangle. -->
			<xs:attribute name="left" type="Sk:Float"/>
			<!-- @attribute needsRedraw Set to true if last draw was visible. -->
			<xs:attribute name="needsRedraw" type="Sk:Boolean"/>
			<!-- @attribute right The right edge of the rectangle. -->
			<xs:attribute name="right" type="Sk:Float"/>
			<!-- @attribute top The top edge of the rectangle. -->
			<xs:attribute name="top" type="Sk:Float"/>
			<!-- @attribute width The width of the rectangle. -->
			<xs:attribute name="width" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** rectToRect
		RectToRect adds a matrix to map one rectangle's coordinates to another.
	*/ -->
	<xs:element name="rectToRect">
		<xs:complexType>
			<xs:choice maxOccurs="2">
				<xs:element ref="Sk:rect"/>
			</xs:choice>
			<!-- @attribute source The rectangle to map from. -->
			<xs:attribute name="source" type="Sk:rect"/>
			<!-- @attribute destination The rectangle to map to. -->
			<xs:attribute name="destination" type="Sk:rect"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** remove
		Remove an item from the display list.
		If where is specified, the first occurance of where in the display list is removed.
		If offset and where are specified, the element at where plus offset is removed.
		A positive offset without where removes the element at the start of the list plus offset.
		A negative offset without where removes the element at the end of the list minus offset.
	*/ -->
	<xs:element name="remove">
		<xs:complexType>
			<!-- @attribute delete If true, reverse the action of apply's attribute mode="create". 
				(Experimental.) -->
			<xs:attribute name="delete" type="Sk:Boolean"/>
			<!-- @attribute offset The destination position using the rules listed above. -->
			<xs:attribute name="offset" type="Sk:Int"/>
			<!-- @attribute where The ID of the first display list entry to remove. -->
			<xs:attribute name="where" type="Sk:Drawable"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** replace
		Replace an item in the display list.
		If where is specified, the first occurance of where in the display list is replaced by use.
		If offset and where are specified, the element at where plus offset is replaced by use.
		A positive offset without where replaces  the element at the start of the list plus offset.
		A negative offset without where replaces the element at the end of the list minus offset.
	*/ -->
	<xs:element name="replace">
		<xs:complexType>
			<!-- @attribute mode Has no effect. -->
			<xs:attribute name="mode" type="Sk:AddMode"/>
			<!-- @attribute offset The destination position using the rules listed above. -->
			<xs:attribute name="offset" type="Sk:Int"/>
			<!-- @attribute use The element to be added to the display list.. -->
			<xs:attribute name="use" type="Sk:Drawable"/>
			<!-- @attribute where The ID of the first display list entry to remove. -->
			<xs:attribute name="where" type="Sk:Drawable"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
		
	<!-- /** rotate
		Rotate creates a matrix that rotates a unit vector about a center point, and concatenated
		with the containing matrix.
	*/ -->
	<xs:element name="rotate">
		<xs:complexType>
			<!-- @attribute center A point the rotation is centered about; by default, [0.0, 0.0]. -->
			<xs:attribute name="center" type="Sk:Point"/>
			<!-- @attribute degrees The rotation in degrees. -->
			<xs:attribute name="degrees" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** roundRect
		RoundRect creates a rectangle with rounded corners. The rounded corners are specified by
		two axes, which describe an quarter-section of the oval which is used in each corner.
		The width and height attribute compute the rectangle's right and bottom edges when the rectangle
		description is first seen. Animating the rectangle's left or top will not recompute the right or bottom
		if the width or height have been specified.
	*/ -->
	<xs:element name="roundRect">
		<xs:complexType>
			<!-- @attribute bottom The bottom edge of the rectangle. -->
			<xs:attribute name="bottom" type="Sk:Float"/>
			<!-- @attribute height The height of the rectangle. Setting height computes the 
				bottom attribute from the top attribute. -->
			<xs:attribute name="height" type="Sk:Float"/>
			<!-- @attribute left The left edge of the rectangle. -->
			<xs:attribute name="left" type="Sk:Float"/>
			<!-- @attribute needsRedraw Set to true if last draw was visible. -->
			<xs:attribute name="needsRedraw" type="Sk:Boolean"/>
			<!-- @attribute right The right edge of the rectangle. -->
			<xs:attribute name="right" type="Sk:Float"/>
			<!-- @attribute top The top edge of the rectangle. -->
			<xs:attribute name="top" type="Sk:Float"/>
			<!-- @attribute rx The radius of the corners on the x axis. -->
			<xs:attribute name="rx" type="Sk:Float"/>
			<!-- @attribute ry The radius of the corners on the y axis. -->
			<xs:attribute name="ry" type="Sk:Float"/>
			<!-- @attribute width The width of the rectangle. Setting width computes the 
				right attribute from the left attribute. -->
			<xs:attribute name="width" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** save
		The save element collects a series of elements into a group. The state of the paint and
		canvas are saved, so that edits to the paint and canvas within the group are restored
		to their original value at the end of the group. 
		The save element can be referenced
		or defined within elements, like apply, which operate on any kind of element. Groups 
		may contain groups. 
	*/ -->
	<xs:element name="save">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
				<xs:element ref="Sk:add"/>
				<xs:element ref="Sk:apply"/>
				<xs:element ref="Sk:array"/>
				<xs:element ref="Sk:bitmap"/>
				<xs:element ref="Sk:boolean"/>
				<xs:element ref="Sk:bounds"/>
		<!--		<xs:element ref="Sk3D:camera"/>    -->
				<xs:element ref="Sk:clear"/>
				<xs:element ref="Sk:clip"/>
				<xs:element ref="Sk:color"/>
				<xs:element ref="Sk:drawTo"/>
				<xs:element ref="Sk:float"/>
				<xs:element ref="Sk:full"/>
				<xs:element ref="Sk:group"/>
				<xs:element ref="Sk:hitClear"/>
				<xs:element ref="Sk:hitTest"/>
				<xs:element ref="Sk:image"/>
				<xs:element ref="Sk:int"/>
				<xs:element ref="Sk:line"/>
				<xs:element ref="Sk:matrix"/>
				<xs:element ref="Sk:move"/>
				<xs:element ref="Sk:oval"/>
				<xs:element ref="Sk:paint"/>
			<!--	<xs:element ref="Sk:patch"/>   -->
				<xs:element ref="Sk:path"/>
				<xs:element ref="Sk:point"/>
				<xs:element ref="Sk:polygon"/>
				<xs:element ref="Sk:polyline"/>
				<xs:element ref="Sk:post"/>
				<xs:element ref="Sk:random"/>
				<xs:element ref="Sk:rect"/>
				<xs:element ref="Sk:remove"/>
				<xs:element ref="Sk:replace"/>
				<xs:element ref="Sk:roundRect"/>
				<xs:element ref="Sk:save"/>
				<xs:element ref="Sk:set"/>
				<xs:element ref="Sk:snapshot"/>
				<xs:element ref="Sk:string"/>
				<xs:element ref="Sk:text"/>
				<xs:element ref="Sk:textBox"/>
				<xs:element ref="Sk:textOnPath"/>
				<xs:element ref="Sk:textToPath"/>
			</xs:choice>
			<!-- @attribute condition If present and zero, the contained elements are ignored. -->
			<xs:attribute name="condition" type="Sk:DynamicString"/>
			<!-- @attribute enableCondition If present and zero, the contained elements are ignored
				when enabled. -->
			<xs:attribute name="enableCondition" type="Sk:DynamicString"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** scale
		Scale creates a matrix that scales a unit vector about a center point, and concatenated
		with the containing matrix.
	*/ -->
	<xs:element name="scale">
		<xs:complexType>
			<!-- @attribute center A point the scale is centered about; by default, [0.0, 0.0]. -->
			<xs:attribute name="center" type="Sk:Point"/>
			<!-- @attribute x The factor all x values are scaled by; by default, 1.0.  -->
			<xs:attribute name="x" type="Sk:Float"/>
			<!-- @attribute y The factor all y values are scaled by; by default, 1.0.  -->
			<xs:attribute name="y" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** screenplay
		Screenplay contains all events and elements referenced by the events.
		A document may only contain a single screenplay element.
	*/ -->
	<xs:element name="screenplay">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded" >
				<xs:element ref="Sk:add"/>
				<xs:element ref="Sk:apply"/>
				<xs:element ref="Sk:array"/>
				<xs:element ref="Sk:bitmap"/>
				<xs:element ref="Sk:boolean"/>
				<xs:element ref="Sk:bounds"/>
		<!--		<xs:element ref="Sk3D:camera"/>    -->
				<xs:element ref="Sk:clear"/>
				<xs:element ref="Sk:clip"/>
				<xs:element ref="Sk:color"/>
				<xs:element ref="Sk:drawTo"/>
				<xs:element ref="Sk:event"/>
				<xs:element ref="Sk:float"/>
				<xs:element ref="Sk:full"/>
				<xs:element ref="Sk:group"/>
				<xs:element ref="Sk:hitClear"/>
				<xs:element ref="Sk:hitTest"/>
				<xs:element ref="Sk:image"/>
				<xs:element ref="Sk:include"/>
				<xs:element ref="Sk:int"/>
				<xs:element ref="Sk:line"/>
				<xs:element ref="Sk:matrix"/>
				<xs:element ref="Sk:move"/>
				<xs:element ref="Sk:movie"/>
				<xs:element ref="Sk:oval"/>
				<xs:element ref="Sk:paint"/>
			<!--	<xs:element ref="Sk:patch"/>   -->
				<xs:element ref="Sk:path"/>
				<xs:element ref="Sk:point"/>
				<xs:element ref="Sk:polygon"/>
				<xs:element ref="Sk:polyline"/>
				<xs:element ref="Sk:post"/>
				<xs:element ref="Sk:random"/>
				<xs:element ref="Sk:rect"/>
				<xs:element ref="Sk:remove"/>
				<xs:element ref="Sk:replace"/>
				<xs:element ref="Sk:roundRect"/>
				<xs:element ref="Sk:save"/>
				<xs:element ref="Sk:set"/>
				<xs:element ref="Sk:snapshot"/>
				<xs:element ref="Sk:string"/>
				<xs:element ref="Sk:text"/>
				<xs:element ref="Sk:textBox"/>
				<xs:element ref="Sk:textOnPath"/>
				<xs:element ref="Sk:textToPath"/>
			</xs:choice>
			<!-- @attribute time The time of the draw (readable from script; not part of the document XML) -->
			<xs:attribute name="time" type="Sk:MSec"/>
	</xs:complexType>
	</xs:element>
	
	<!-- /** set
		Set animates the target element's attribute directly to the specified value.
	*/ -->
	<xs:element name="set">
		<xs:complexType>
			<!-- @attribute begin An optional offset that must elapse before the animation begins. The apply
				begin attribute is added to any animator's begin attribute. -->
			<xs:attribute name="begin" type="Sk:MSec"/>
			<!-- @attribute dur The duration of the animation in milliseconds. -->
			<xs:attribute name="dur" type="Sk:MSec"/>
			<!-- @attribute dynamic If true, restart the animation if any of the simple values the 
			 'lval' or 'to' attributes reference are changed. Simple values are contained by the array, boolean, float, int, 
			 and string elements. -->
			<!-- @attribute dynamic [Depreciated.] -->
			<xs:attribute name="dynamic" type="Sk:Boolean" />
			<!-- @attribute field The attribute to animate. -->
			<xs:attribute name="field" type="Sk:String"/>
			<!-- @attribute formula A script to execute over time to compute the field's value. Typically,
				the fomula is a script expression which includes a reference to the time attribute of the 
				containing apply	element.  -->
			<xs:attribute name="formula" type="Sk:DynamicString"/>
			<!-- @attribute lval An expression evaluating to the attribute to animate.
				If present, lval overrides 'field'. The expression is typically an array element,
				e.g. lval="x[y]" . -->
			<xs:attribute name="lval" type="Sk:DynamicString"/>
			<!-- @attribute reset  If true, the computed value is the initial value after the 
				animation is complete. If false, or by default, the computed value is the final value 
				after the animation is complete. -->
			<xs:attribute name="reset" type="Sk:Boolean"/>
			<!-- @attribute step When apply's attribute mode="immediate" or "create", the step attribute can be read by 
				script to determine the current animation iteration.  -->
			<xs:attribute name="step" type="Sk:Int" />
			<!-- @attribute target The element to animate. By default, the element contained by the apply
				or referenced by the apply's scope attribute is the animate target. -->
			<xs:attribute name="target" type="Sk:DynamicString"/>
			<!-- @attribute to The ending value (requires a 'from' attribute) -->
			<xs:attribute name="to" type="Sk:DynamicString"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** skew
		Skew creates a matrix that skews a unit vector about a center point, and concatenated
		with the containing matrix.
	*/ -->
	<xs:element name="skew">
		<xs:complexType>
			<!-- @attribute center A point the skew is centered about; by default, [0.0, 0.0]. -->
			<xs:attribute name="center" type="Sk:Point"/>
			<!-- @attribute x The factor all x values are skewed by; by default, 0.0.  -->
			<xs:attribute name="x" type="Sk:Float"/>
			<!-- @attribute y The factor all y values are skewed by; by default, 0.0.  -->
			<xs:attribute name="y" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** snapshot
		Snapshot creates an image file containing the display list.
	*/ -->
	<xs:element name="snapshot">
		<xs:complexType>
			<!-- @attribute filename The name of the file to generate. -->
			<xs:attribute name="filename" type="Sk:String"/>
			<!-- @attribute quality The quality of the image, from 0 to 100. -->
			<xs:attribute name="quality" type="Sk:Float"/>
			<!-- @attribute sequence Set to true to number the filenames sequentially. -->
			<xs:attribute name="sequence" type="Sk:Boolean"/>
			<!-- @attribute type One of @pattern. The type of encoding to use. -->
			<xs:attribute name="type" type="Sk:BitmapEncoding"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** string
		String contains an array of characters.
	*/ -->
	<xs:element name="string" >
		<xs:complexType>
			<!-- @attribute length The number of characters in the string (read only). -->
			<xs:attribute name="length" type="Sk:Int"/>
			<!-- @attribute slice An ECMAScript compatible function that returns part of the string. -->
			<xs:attribute name="slice" type="Sk:String"/>
			<!-- @attribute value The string itself. -->
			<xs:attribute name="value" type="Sk:String"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** text
		A drawable string with a position.
	*/ -->
	<xs:element name="text">
		<xs:complexType>
			<!-- @attribute length The number of characters in the string (read only). -->
			<xs:attribute name="length" type="Sk:Int"/>
			<!-- @attribute text The string itself. -->
			<xs:attribute name="text" type="Sk:String"/>
			<!-- @attribute x The x coordinate of the string. -->
			<xs:attribute name="x" type="Sk:Float"/>
			<!-- @attribute y The y coordinate of the string. -->
			<xs:attribute name="y" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** textBox
		A drawable string fit into a box.
	*/ -->
	<xs:element name="textBox" >
		<xs:complexType>
			<!-- @attribute bottom The bottom of the box. -->
			<xs:attribute name="bottom" type="Sk:Float"/>
			<!-- @attribute height The height of the box, computed from top and bottom. -->
			<xs:attribute name="height" type="Sk:Float"/>
			<!-- @attribute left The left side of the box. -->
			<xs:attribute name="left" type="Sk:Float"/>
			<!-- @attribute mode One of @pattern. -->
			<xs:attribute name="mode" type="Sk:TextBoxMode"/>
			<!-- @attribute needsRedraw Set to true if last draw was visible. -->
			<xs:attribute name="needsRedraw" type="Sk:Boolean"/>
			<!-- @attribute right The right side of the box. -->
			<xs:attribute name="right" type="Sk:Float"/>
			<!-- @attribute spacingAdd The extra spacing between lines. -->
			<xs:attribute name="spacingAdd" type="Sk:Float"/>
			<!-- @attribute spacingAlign One of @pattern. -->
			<xs:attribute name="spacingAlign" type="Sk:TextBoxAlign"/>
			<!-- @attribute spacingMul The line spacing scaled by the text height. -->
			<xs:attribute name="spacingMul" type="Sk:Float"/>
			<!-- @attribute text The text to fit to the box. -->
			<xs:attribute name="text" type="Sk:String"/>
			<!-- @attribute top The top of the box. -->
			<xs:attribute name="top" type="Sk:Float"/>
			<!-- @attribute width The width of the box, computed from left and right. -->
			<xs:attribute name="width" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** textOnPath
		TextOnPath specifies the baseline for a string of text with a path.
	*/ -->
	<xs:element name="textOnPath">
		<xs:complexType>
			<xs:choice >
				<xs:element ref="Sk:text" minOccurs="0" />
				<xs:element ref="Sk:path" minOccurs="0" />
			</xs:choice>
			<!-- @attribute offset The distance along the path to place the first text character. -->
			<xs:attribute name="offset" type="Sk:Float"/>
			<!-- @attribute path The baseline of the text. -->
			<xs:attribute name="path" type="Sk:Path"/>
			<!-- @attribute text The text to place along the path. -->
			<xs:attribute name="text" type="Sk:Text"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** textToPath
		TextToPath sets the path to the contours described by the text's glyphs, using the current paint.
	*/ -->
	<xs:element name="textToPath">
		<xs:complexType>
			<xs:choice >
				<xs:element ref="Sk:text" minOccurs="0" />
				<xs:element ref="Sk:paint" minOccurs="0" />
				<xs:element ref="Sk:path" minOccurs="0" />
			</xs:choice>
			<!-- @attribute paint The paint selects the text font, size and other text properties. -->
			<xs:attribute name="paint" type="Sk:Paint"/>
			<!-- @attribute path The reference to the path element where the text as path is stored. -->
			<xs:attribute name="path" type="Sk:Path"/>
			<!-- @attribute text The reference to the text element to turn into a path. -->
			<xs:attribute name="text" type="Sk:Text"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** translate
		Translate concatenates a translation-only matrix onto the current matrix.
	*/ -->
	<xs:element name="translate">
		<xs:complexType>
			<!-- @attribute x The translation in x. -->
			<xs:attribute name="x" type="Sk:Float"/>
			<!-- @attribute y The translation in y. -->
			<xs:attribute name="y" type="Sk:Float"/>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** transparentShader
		TransparentShader uses the background for its paint.  Works well with emboss.
	*/ -->
	<xs:element name="transparentShader">
		<xs:complexType>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	
	<!-- /** typeface
		Typeface describes the text font.
	*/ -->
	<xs:element name="typeface">
		<xs:complexType>
			<!-- @attribute fontName The name of the font. -->
			<xs:attribute name="fontName" type="Sk:String"/>
		</xs:complexType>
	</xs:element>
	
</xs:schema>