[#BloombergLP-balxml-ElementAttribute-2constructor-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/ElementAttribute.adoc[ElementAttribute]::ElementAttribute :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balxml_elementattribute.h>` Construct a null attribute object: Set all string facets to zero, the namespace ID to `INT_MIN`, and flags to zero. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/ElementAttribute/2constructor-0b.adoc[ElementAttribute](); ---- [.small]#xref:BloombergLP/balxml/ElementAttribute/2constructor-0b.adoc[_» more..._]# Construct an attribute object with the specified facets. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/ElementAttribute/2constructor-0c.adoc[ElementAttribute]( xref:BloombergLP/balxml/PrefixStack.adoc[PrefixStack] const* prefixStack, char const* qualifiedName, char const* value, char const* prefix = 0, char const* localName = 0, int namespaceId = INT_MIN, char const* namespaceUri = 0, unsigned int flags = 0); ---- [.small]#xref:BloombergLP/balxml/ElementAttribute/2constructor-0c.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *prefixStack* | prefix stack used to resolve namespace facets | *qualifiedName* | qualified attribute name | *value* | attribute value | *prefix* | optional namespace prefix | *localName* | optional local name | *namespaceId* | optional namespace ID | *namespaceUri* | optional namespace URI | *flags* | optional attribute flags |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#