Paul Z
October 27th, 2000, 05:56 AM
I want to create a XML file dynamically in VB.
I have a XMLDOMElement object called "manufacturer" and use the setAttribute method to insert the name attribute.
manufacturer name="Chevrolet"
make name="Corvette"
model 2000 Convertible /model
/make
/manufacturer
It's great. But I don't know how to add the name attribute for the make node becouse it's a XMLDOMNode object and it hasn't the setAttribute method.
Does anybody know how to do this?
Help me, please.
Paul V. Zorin
Lead programmer
zpv73@yahoo.com
I have a XMLDOMElement object called "manufacturer" and use the setAttribute method to insert the name attribute.
manufacturer name="Chevrolet"
make name="Corvette"
model 2000 Convertible /model
/make
/manufacturer
It's great. But I don't know how to add the name attribute for the make node becouse it's a XMLDOMNode object and it hasn't the setAttribute method.
Does anybody know how to do this?
Help me, please.
Paul V. Zorin
Lead programmer
zpv73@yahoo.com