### ----------------------------------------------------
### -- LibXML
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: lib/LibXML/Raw/DOM/Attr.rakumod
### ----------------------------------------------------
#| low level DOM. Works directly on Native XML Nodes
unit role LibXML::Raw::DOM::Attr;
my constant Attr = LibXML::Raw::DOM::Attr;
use LibXML::Enums;
use LibXML::Types :NCName, :QName;
use NativeCall;

method domAttrSerializeContent { ... }
method doc { ... }
method parent { ... }

method isId {
    do with self.parent -> $parent {
        .IsID($parent, self)
            with self.doc;
    } // False;
}

method serializeContent {
    self.domAttrSerializeContent.Str;
}



