![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - RE: Attributes problem [Thread Next] Re: Attributes problemTo: NULL Date: 4/2/2004 10:35:00 AM Perry wrote: > I read some earlier posts which indicated using createNode instead of createElement, but this has not worked. When I enter a value in a parent node it sets an empty string in its child nodes. > > My question is still how to set a parent node, without generating empty strings in its child nodes. The simple answer is: do NOT attempt to set "xmlns" attributes using setAttribute. The only reliable way to work with them is by specifying the namespace at node creation time (createNode()). There is NO way to change the namespace later on. If this doesn't work for you, please post a complete code example with error description. | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||
|
