#NEWLINE# @ property #NEWLINE# def xml( self ) : #NEWLINE# #INDENT# "\n        Return pretty-printed XML (as unicode text) from this package item's\n        blob.\n        " #NEWLINE# xml_bytes = etree . tostring ( self . _pkg_item . element , encoding = 'UTF-8' , pretty_print = True , standalone = True ) . strip ( ) #NEWLINE# xml_text = xml_bytes . decode ( 'utf-8' ) #NEWLINE# return xml_text