An embedded expression may not be used here

An embedded expression has been included at an unsupported location in an XML literal. Note that embedded expressions cannot be used to specify an XML namespace value.

Error ID: BC31172

To correct this error

  • Remove the embedded expression from the unsupported location.

See Also

Concepts

Embedded Expressions in XML

Other Resources

XML Literals

XML in Visual Basic