8000 How can you add an Attribute with NULL-Value · Issue #1 · Stenway/SML-CS · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
How can you add an Attribute with NULL-Value #1
Open
@cptOneEye

Description

@cptOneEye

Hello,

i want to add an Attribute which has a NULL-Value. How can you do that with the library?

SmlDocument doc = new SmlDocument("Message");  
doc.Root.AddAttribute("From", "-");

This code will add the hyphen to the document but of course with quotationmarks included. I get this:

MESSAGE
      FROM "-"
END

But i want this:

MESSAGE
      FROM -
END

Thank You!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0