Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Attributes problem

From: "Julian F. Reschke" <julian.reschke@-----------------.-->
To: 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.


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent