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.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL