Help - how to create element with proper namespace 2003-03-05 - By Peter Len
Hello,
I am simply trying to create a Element that will look like the following:
<requestSummary xmlns="urn:expertmgmt">
I run into problems when using createElementNS or createAttributeNS. Here is an exmaple of one of my attempts:
Element root = doc.createElement("requestSummary"); Attr att = doc.createAttributeNS("urn:expertmgmt", "xxx"); root.setAttributeNode(att); RETURNS: <requestSummary xxx=""/>
Does anyone know how to create the element I need?
Thanks - Peter
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|