Creating xml in c#
I am creating an xml programatically.I am using namespace.In some places i dont need the namespace and so i am passing String.Empty.My element names contains colon ex gd:City.The problem is if i am passing null in the third parameter of createElement then in output i am getting City and not gd:city.How do i solve this problem.I need the o/p as gd:City at the same time i dont want to pass the namespace.

Regards
Sanchaita Chakraborty
Creating xml in c#
===

I am creating an xml programatically.I am using namespace.In some places i dont need the namespace and so i am passing String.Empty.My element names contains colon ex gd:City.The problem is if i am passing null in the third parameter of createElement then in output i am getting City and not gd:city.How do i solve this problem.I need the o/p as gd:City at the same time i dont want to pass the namespace.

Regards
Sanchaita Chakraborty