1# -*- coding: utf-8 -*- 2# cython: language_level=3, always_allow_keywords=True 3 4## Copyright 1999-2018 by LivingLogic AG, Bayreuth/Germany 5## Copyright 1999-2018 by Walter Dörwald 6## 7## All Rights Reserved 8## 9## See ll/xist/__init__.py for the license 10 11 12""" 13Contains the global attributes for the xlink namespace 14(``http://www.w3.org/1999/xlink``). 15""" 16 17 18from ll.xist import xsc 19 20 21__docformat__ = "reStructuredText" 22 23 24xmlns = "http://www.w3.org/1999/xlink" 25 26 27class Attrs(xsc.Attrs): 28 xmlns = xmlns 29 30 class type(xsc.TextAttr): 31 xmlns = xmlns 32 values = ("simple", "extended", "locator", "arc", "resource", "title") 33 34 class href(xsc.URLAttr): 35 xmlns = xmlns 36 37 class role(xsc.URLAttr): 38 xmlns = xmlns 39 40 class arcrole(xsc.URLAttr): 41 xmlns = xmlns 42 43 class title(xsc.TextAttr): 44 xmlns = xmlns 45 46 class show(xsc.TextAttr): 47 xmlns = xmlns 48 values = ("new", "replace", "embed", "other", "none") 49 50 class label(xsc.TextAttr): 51 xmlns = xmlns 52 53 class actuate(xsc.TextAttr): 54 xmlns = xmlns 55 values = ("onLoad", "onRequest", "other", "none") 56 57 class from_(xsc.TextAttr): 58 xmlns = xmlns 59 xmlname = "from" 60 61 class to(xsc.TextAttr): 62 xmlns = xmlns 63