我想使用enmlwriter创建以下代码:
<en-note>
<span style="font-weight:bold;color:red;">Here's some bold red text!</span>
</en-note>
但是下面的代码不起作用,我需要帮助。
Function NewNoteWriter() As ENMLWriter
Dim writer As New ENMLWriter
writer.WriteStartDocument()
writer.WriteStartElement("span")
writer.WriteAttributeString("style", "font-weight:bold;color:red;")
writer.WriteEndElement()
writer.WriteEndDocument()
Return writer
End Function