
from xml.etree.ElementTree import QName

CSNamespace = "http://calendarserver.org/ns/"

calendar_proxy_read_for    = QName(CSNamespace, "calendar-proxy-read-for")
calendar_proxy_write_for   = QName(CSNamespace, "calendar-proxy-write-for")
getctag                    = QName(CSNamespace, "getctag")

notification               = QName(CSNamespace, "notification")
notification_URL           = QName(CSNamespace, "notification-URL")

# Are these really in this namespace?
dropbox_home               = QName(CSNamespace, "dropbox-home")
dropbox_home_URL           = QName(CSNamespace, "dropbox-home-URL")

# Defined by caldav-pubsubdiscovery
xmpp_server                = QName(CSNamespace, "xmpp-server")
xmpp_uri                   = QName(CSNamespace, "xmpp-uri")


from xml.etree.ElementTree import QName

CSNamespace = "http://calendarserver.org/ns/"

calendar_proxy_read_for    = QName(CSNamespace, "calendar-proxy-read-for")
calendar_proxy_write_for   = QName(CSNamespace, "calendar-proxy-write-for")
getctag                    = QName(CSNamespace, "getctag")

notification               = QName(CSNamespace, "notification")
notification_URL           = QName(CSNamespace, "notification-URL")

# Are these really in this namespace?
dropbox_home               = QName(CSNamespace, "dropbox-home")
dropbox_home_URL           = QName(CSNamespace, "dropbox-home-URL")

# Defined by caldav-pubsubdiscovery
xmpp_server                = QName(CSNamespace, "xmpp-server")
xmpp_uri                   = QName(CSNamespace, "xmpp-uri")
pushkey                    = QName(CSNamespace, "pushkey")

Define the pushkey attribute for XMPP push
Define the pushkey attribute for XMPP push

git-svn-id: b8a2ed21f1aafe1ee9fc65e616c668cc51cd004a@7731 e27351fd-9f3e-4f54-a53b-843176b1656c

  
  from xml.etree.ElementTree import QName
  
  CSNamespace = "http://calendarserver.org/ns/"
  
  calendar_proxy_read_for    = QName(CSNamespace, "calendar-proxy-read-for")
  calendar_proxy_write_for   = QName(CSNamespace, "calendar-proxy-write-for")
  getctag                    = QName(CSNamespace, "getctag")
  
  notification               = QName(CSNamespace, "notification")
  notification_URL           = QName(CSNamespace, "notification-URL")
  
  # Are these really in this namespace?
  dropbox_home               = QName(CSNamespace, "dropbox-home")
  dropbox_home_URL           = QName(CSNamespace, "dropbox-home-URL")
  
  # Defined by caldav-pubsubdiscovery
  xmpp_server                = QName(CSNamespace, "xmpp-server")
  xmpp_uri                   = QName(CSNamespace, "xmpp-uri")
+ pushkey                    = QName(CSNamespace, "pushkey")
  
Define the pushkey attribute for XMPP push
## Code Before:

from xml.etree.ElementTree import QName

CSNamespace = "http://calendarserver.org/ns/"

calendar_proxy_read_for    = QName(CSNamespace, "calendar-proxy-read-for")
calendar_proxy_write_for   = QName(CSNamespace, "calendar-proxy-write-for")
getctag                    = QName(CSNamespace, "getctag")

notification               = QName(CSNamespace, "notification")
notification_URL           = QName(CSNamespace, "notification-URL")

# Are these really in this namespace?
dropbox_home               = QName(CSNamespace, "dropbox-home")
dropbox_home_URL           = QName(CSNamespace, "dropbox-home-URL")

# Defined by caldav-pubsubdiscovery
xmpp_server                = QName(CSNamespace, "xmpp-server")
xmpp_uri                   = QName(CSNamespace, "xmpp-uri")

## Instruction:
Define the pushkey attribute for XMPP push
## Code After:

from xml.etree.ElementTree import QName

CSNamespace = "http://calendarserver.org/ns/"

calendar_proxy_read_for    = QName(CSNamespace, "calendar-proxy-read-for")
calendar_proxy_write_for   = QName(CSNamespace, "calendar-proxy-write-for")
getctag                    = QName(CSNamespace, "getctag")

notification               = QName(CSNamespace, "notification")
notification_URL           = QName(CSNamespace, "notification-URL")

# Are these really in this namespace?
dropbox_home               = QName(CSNamespace, "dropbox-home")
dropbox_home_URL           = QName(CSNamespace, "dropbox-home-URL")

# Defined by caldav-pubsubdiscovery
xmpp_server                = QName(CSNamespace, "xmpp-server")
xmpp_uri                   = QName(CSNamespace, "xmpp-uri")
pushkey                    = QName(CSNamespace, "pushkey")
