How to set _xml_property for <readonly/> element ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am doing this, in details.py, but its not working...

    def _set_readonly(self, val):
       self._readonly = val
readonly = _xml_property(_get_readonly, _set_readonly, xpath="./readonly")

How to set the xpath for a standalone xml element like readonly ?


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux