xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiang lei" <jiang-...@8107.co.jp>
Subject How to add namspace mapping to DOM node?
Date Mon, 03 Feb 2003 01:41:56 GMT
My application requires that I use arbitrary namespace mappings like


in my tags. So I use DOMDocument::createAttributeNS() to create them and
DOMElement::setAttributeNode() to add them to certain elements. But after I
serialized the documents to local files, the prefix part("xmlns") were all
gone. The all became


I searched the mail archieve. There seemed to be a lot of discussions over
this topic, but none of them answers my question. Is there any way to do

Thanks a lot.


To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org

View raw message