
Hi Frank, One way to check if an attribute is necessary is to see if it's already defined with that certain value in the associated DTDs. If you open the DITA concept for example in Oxygen in the Text mode and place the caret inside the <concept...> tag, then remove the attribute, look in the "Attributes" view, if that specific attribute still appears there with the value grayed out, this means that it's already defined with that value in the associated DTDs and it's not necessary to define it in the XML instance. In your case with "xmlns:ditaarch" which is a prefix namespace mapping declaration it is useless if: 1) It's already declared in the DTDs (which it is). 2) It's not used anywhere in the XML document (and it isn't, there is no "ditaarch:abc='def'" attribute in the XML document). So in your case the prefix namespace declaration is useless in both cases. Regards, Radu Radu Coravu Oxygen XML Editor On 3/22/23 16:38, Frank Dissinger wrote:
Hi all,
I am cleaning up DITA files created with FrameMaker. FrameMaker has added a lot of unnecessary attributes, for example.
Among others, FM has added an *xmlns:ditaarch* attribute to every top-level dita element such as concept, task or reference. Example:
<concept id="id187JBI00EHS" xml:lang="en-US" *xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"*>
Can I safely remove this attribute or is it required?
Regards,
Frank
--
*Frank Dissinger*
Documentation Manager
....................................................................
*CGS Publishing Technologies International GmbH*
*Email *frank.dissinger@cgs-oris.com | *Web* www.cgs-oris.com <http://www.cgs-oris.com/>
*Address* Kettelerstr. 24 | D-63512 Hainburg | Germany
*Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99
*Commercial register* Offenbach, HRB no. 21495
*Managing directors* Bernd Rückert, Christoph Thommessen
https://www.cgs-oris.com/Signatur.png <https://www.cgs-oris.com/signatur>
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user