Frank,

This is more than you asked for, but here: https://github.com/wendellpiez/XMLNamespaceFixup

No you don't need that namespace. Getting rid of it isn't hard if you know what it is, exactly. (The topic of what is a namespace I think I'll leave aside, however.)

And XSLT instructions such as xsl:copy and xsl:copy-of frequently permit copy-namespaces="no" to avoid unwanted namespace proliferation.

Good luck, Wendell

On Wed, Mar 22, 2023 at 10:38 AM Frank Dissinger <frank.dissinger@cgs-oris.com> 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

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
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


--
...Wendell Piez... ...wendell -at- nist -dot- gov...
...wendellpiez.com... ...pellucidliterature.org... ...pausepress.org...
...github.com/wendellpiez... ...gitlab.coko.foundation/wendell...