Problem generating ELement in XML

wxdqz

New Member
hello,i'm trying to get a value from db and create an element for this value.i do the following:Open recordsetGet Value from DB:Et= cstr(RsRt.Fields.Item(1).Value)Create Element in xml file:Set root = dom.createElement(Et) <----- Errorwhen i run this it says, "One or more arguments are invalid"if i change the Et="didi" for example, then it creates the element "didi"without any problem.the value exist in the db and when i use response.write to view value, itssuccessful. What is the correct syntax to use when sending value from DBto the CreateElment. Suggestions? Samples would be greatRegards,Gia
 
Back
Top