[Accessforall] Conditional preferences

Andy Heath andyheath at axelrod.plus.com
Sun Aug 5 10:09:43 UTC 2012


Or even better (read my previous post first)

Before:

> [ {"xmlns" : { "fontsize" : "http://gpii.net/ns/up/fontsize",
>               "speechrate" : "http://gpii.net/ns/up/speechRate" } },
>    [ {
>      "property": "speechRate",
>      "condition": "",
>      "value": 90
>      },
>      { "property": "fontsize",
>        "condition": "",
>        "value": "120%"
>      }
>    ]
> ]

after:

[ {"xmlns" : { "gpii" : "http://gpii.net/ns/up" } },
   [ {
     "property": "gpii:speechRate",
     "condition": "",
     "value": 90
     },
     { "property": "gpii:fontsize",
       "condition": "",
       "value": "120%"
     }
   ]
]

One doesn't need the "xmlns" of course (one could take it all up
one level) but it seems rather "apt" ;-) :-).

Cheers

axelrod:Andy
-- 
__________________
Andy Heath
http://axelafa.com



More information about the Accessforall mailing list