[#BloombergLP-bdlat_TypeName-xsdName]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_TypeName.adoc[bdlat&lowbar;TypeName]::xsdName
:relfileprefix: ../../
:mrdocs:

Return a null&hyphen;terminated text string containing the name of the specified `TYPE` with the specified `format` as it would appear in an XML Schema (XSD) element declaration&period; The `format` is interpreted as the bit&hyphen;wise OR of one or more of the values defined in the `bdlat&lowbar;formattingmode` component&period; Formatting mode bits outside of `bdlat&lowbar;FormattingMode&colon;&colon;TYPE&lowbar;MASK` are ignored&period; If the specified `object` corresponds to one of the XSD built&hyphen;in types, then return the XSD type&apos;s name&period; Otherwise, if `className(object)` returns a non&hyphen;null value, then return that value&period; Otherwise, return &quot;anyType&quot;&period; The behavior is undefined unless the `format` is valid for the specified `TYPE`&period;

== Synopsis

Declared in `&lt;bdlat&lowbar;typename&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
static
char const*
xsdName(
    TYPE const& object,
    int format);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
