Re: [oXygen-user] Do I need a namespace declaration in dita root elements?

2023-03-22 Thread Oxygen XML Editor Support (Radu Coravu)
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 tag, then remove the attribute, look in the "Attribut

Re: [oXygen-user] Do I need a namespace declaration in dita root elements?

2023-03-22 Thread Wendell Piez
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 x

[oXygen-user] Do I need a namespace declaration in dita root elements?

2023-03-22 Thread Frank Dissinger
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: *xmlns:ditaarch="http://di