How to set the DataType on DOMAttribute
My goal is to add a new attribute ( DataType = int) to an Element. I'm using
MSXML version2.0 . When i'm trying to add an attribute to element using
Dim oEle as IXMLDOMElement
Dim oAttr as IXMLDOMAttribute
'some code to create a Root
'some code to create an element as child element of the Root
Set oAttr = oDoc.createAttribute("Category")
oAttr.Value = 4
giving an Automation Error at oAttr.DataType ="int".
Can anyone help me with this. I would like to know how to add an attribute(
particular DataType) to an element.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center