ID Pattern

Having trouble installing Oxygen? Got a bug to report? Post it all here.
sbodoff
Posts: 20
Joined: Tue Jun 14, 2011 10:42 pm

ID Pattern

Post by sbodoff »

What is supported in the ID Pattern field in the ID Generation dialog?
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: ID Pattern

Post by Radu »

Hi,

Sorry for the delay.

If you hover the text field which lets you change the pattern there is a tooltip explaining the allowed editor variables.
In Oxygen 12.2 only the following patterns are allowed:

1)${localName} expands to the local name of the current tag
2)${uuid} expands to an universally unique identifier
3)${id} expands to a smaller custom generated identifier which uses mostly characters.

In the next version of Oxygen you will also be able to use more editor variables which are expanded in other places in Oxygen like ${timeStamp}.

Of course if you know Java you could customize the Author extensions for the DITA document type and insert your own pattern.
We provide an SDK for such customizations:
http://www.oxygenxml.com/developer.html ... horing_SDK
If you are interested in this approach I could provide you more details.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply