Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
An Introduction to XForms https://www.xml.com/articles/2018/11/27/introduction-xforms/
1 of 10 12/18/2018, 12:25 PM
An Introduction to XForms https://www.xml.com/articles/2018/11/27/introduction-xforms/
2 of 10 12/18/2018, 12:25 PM
function f a:{ x ← a x' ← (a + 1) ÷ 2 eps ← 1.19209290e-07 while abs(x − x') > eps × x: { x ← x' x' ← ((a ÷ x') + x') ÷ 2 } return x'}
An Introduction to XForms https://www.xml.com/articles/2018/11/27/introduction-xforms/
3 of 10 12/18/2018, 12:25 PM
x, y, zoom
An Introduction to XForms https://www.xml.com/articles/2018/11/27/introduction-xforms/
4 of 10 12/18/2018, 12:25 PM
https://openstreetmap.org///.png
x, y, zoom
maxzoom = 19tilesize = 8scale = 2tilex = floor(x/scale)tiley = floor(y/scale)url = concat("https://tile.openstreetmap.org/", zoom, "/", tilex, "/", tiley, ".png")
zoom
x
y
Scale131072http://tile.openstreetmap.org/10/526/336.png
maxzoom + tilesize ‐ zoom
An Introduction to XForms https://www.xml.com/articles/2018/11/27/introduction-xforms/
5 of 10 12/18/2018, 12:25 PM
zoom
68955204 44117334 10
An Introduction to XForms https://www.xml.com/articles/2018/11/27/introduction-xforms/
6 of 10 12/18/2018, 12:25 PM
Street
City
Postcode
State
Country
state
Street
City
Postcode
Country
An Introduction to XForms https://www.xml.com/articles/2018/11/27/introduction-xforms/
7 of 10 12/18/2018, 12:25 PM
Delivery and billing address are the same
Delivery addressStreet
City
Country
Billing addressStreet
City
Country
setvalue
An Introduction to XForms https://www.xml.com/articles/2018/11/27/introduction-xforms/
8 of 10 12/18/2018, 12:25 PM
select1
Colour: Redred Yellowyellow Greenlime Cyanaqua Blueblue Magentafuchsia Blackblack Whitewhite
Colour:RedYellowGreenCyanBlueMagentaBlackWhite
Colour:
Colour:
|
An Introduction to XForms https://www.xml.com/articles/2018/11/27/introduction-xforms/
9 of 10 12/18/2018, 12:25 PM
add your styling here
add your data here
add your controls here
An Introduction to XForms https://www.xml.com/articles/2018/11/27/introduction-xforms/
10 of 10 12/18/2018, 12:25 PM