I have been using this command to enclose attributes' values in double quotes in an xml document:
But I'm unable to modify this to switch to single quotes. I have tried a few things such as:
xmldocument.QuoteChar = "''"c
(error: Character constant must contain exactly one character)
or
xmldocument.QuoteChar('
(error: Expression expected)
But neither work. Any suggestion?
Code:
xmldocument.QuoteChar = """"c
But I'm unable to modify this to switch to single quotes. I have tried a few things such as:
xmldocument.QuoteChar = "''"c
(error: Character constant must contain exactly one character)
or
xmldocument.QuoteChar('
(error: Expression expected)
But neither work. Any suggestion?