Thursday, November 09, 2006

XMLDocument.CreateNode

1. NamespaceURI is default required. if no value, the new node will have a attribute xmlns=""

The way to get rid of it is to pass the root namespaceuri of xmldocument to the method of createnode;

2.samething happened on prefix of a node. a xmlns prefix namespaceuri must be passed to the method.

No comments: