Page 1 of 1

ID Pattern

Posted: Wed Jun 15, 2011 12:40 am
by sbodoff
What is supported in the ID Pattern field in the ID Generation dialog?

Re: ID Pattern

Posted: Wed Jun 22, 2011 2:32 pm
by Radu

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: ... horing_SDK
If you are interested in this approach I could provide you more details.