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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to