[oXygen-user] Generating IDs on DITA maps

Oxygen XML Editor Support (Radu Coravu)
Tue Apr 14 04:19:32 CDT 2015

Hi Mark,

You could try to edit the new file template used to create DTD-based 
DITA Maps:

> OXYGEN_INSTALL_DIR\frameworks\dita\templates\map\Map.ditamap

and set the ID attribute to use the Oxygen-specific "${id}" editor 
variable which is expanded when the new file template is used, something 

> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
> <map id="map_${id}">
>  <title>DITA Topic Map</title>
> </map>

We do not have a way for batch generation of IDs. What is your use case? 
IDs set on a map root element are not that useful in general.


Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger

On 4/14/2015 9:07 AM, Mark Giffin wrote:
> Is there a way to get Oxygen to generate an ID for a new DITA map? It
> already does this for topics.
> Also, is there a way to batch generate IDs for a whole group of XML
> files, like those in a DITA map? I see info on things like "Managing
> ID/IDREFS" in the help, but that seems to apply to something else.
> Thanks,
> Mark
> _______________________________________________
> oXygen-user mailing list
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user

More information about the oXygen-user mailing list