Hi,
the XML specification declares the sequence of attributes belonging to the same
element as non-significant. This also holds for attributes representing namespace nodes. This means to say that it is still the same element though the attribute
sequence is different.
JDOM should not have a problem here, but since it does, as you say, perhaps it
would help to enclose the element into another element also declaring the word
namespace and thus make JDOM familiar with this before it encounters the
prefixed attribute:
<w:out xmlns:w=“http://schemas.microsoft.com/office/word/2003/wordml”> {
<w:wordDocument w:embeddedObjPresents=“no” …
} </w:out>
Regards,
Juliane.
#API-Management#webMethods#Tamino