The W3C Ubiquitous Web Application Working Group Working Group has published the candidate recommendation of Delivery Context: XPath Access Functions 1.0. "This document specifies a set of XPath functions that can be used to manipulate the Delivery Context associated with a request for an item of content. These functions have been designed to satisfy the requirements to adapt content based on the Delivery Context. While designed to work with Device Independent Content Selection [DISelect] it can be used in any XPath processor." Functions include:
dcn:delivery-context()
dcn:getProperty()
dcn:setProperty()
dcn:search()
dcn:cssmq-width()
dcn:cssmq-height()
dcn:cssmq-device-width()
dcn:cssmq-device-height()
dcn:cssmq-device-aspect-ratio()
dcn:cssmq-device-aspect-ratio-width()
dcn:cssmq-device-aspect-ratio-height()
dcn:cssmq-color()
dcn:cssmq-color-index()
dcn:cssmq-monochrome()
dcn:cssmq-resolution()
dcn:cssmq-scan()
dcn:cssmq-grid()