Partilhar via


Value of XMLName, XMLNamespace or XMLPrefix property should be a Unicode string. (Error 2134)

Non-Unicode strings cannot be assigned as values to the XMLAdapter objects, XMLName, XMLNamespace, and XMLPrefix properties.

  • Use the STRCONV( ) function to convert a string to Unicode. The following code converts a string to Unicode.

    oXMLTable = CREATEOBJECT("XMLTABLE")
    oXMLTable.XMLName = STRCONV("MyTable",12)