DocumentCreateAttributeNS Method |
The Document.createAttribute() method creates a new attribute node, and returns it. The object created a node implementing the Attr interface. The DOM does not enforce what sort of attributes can be added to a particular element in this manner.
Namespace: Aspose.Html.DomAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 22.4
Syntaxpublic Attr CreateAttributeNS(
string namespaceURI,
string qualifiedName
)
Public Function CreateAttributeNS (
namespaceURI As String,
qualifiedName As String
) As Attr
public:
Attr^ CreateAttributeNS(
String^ namespaceURI,
String^ qualifiedName
)
member CreateAttributeNS :
namespaceURI : string *
qualifiedName : string -> Attr
Parameters
- namespaceURI
- Type: SystemString
The namespace URI of the attribute.
- qualifiedName
- Type: SystemString
name is a string containing the name of the attribute.
Return Value
Type:
AttrThe
Attr.
See Also