[#BloombergLP-balxml-Encoder_SequenceFirstPass-addAttributeImp-02f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Encoder_SequenceFirstPass.adoc[Encoder_SequenceFirstPass]::addAttributeImp :relfileprefix: ../../../ :mrdocs: Add an attribute with the specified `name`, `object` value, and `formattingMode` for a dynamic‐type category. == Synopsis Declared in `<balxml_encoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int addAttributeImp( TYPE const& object, std::string_view const& name, int formattingMode, xref:BloombergLP/bdlat_TypeCategory/DynamicType.adoc[bdlat_TypeCategory::DynamicType]); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#