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 » Wed Jun 15, 2011 12:40 am

What is supported in the ID Pattern field in the ID Generation dialog?

Radu
Posts: 6539
Joined: Fri Jul 09, 2004 5:18 pm

Re: ID Pattern

Post by Radu » Wed Jun 22, 2011 2:32 pm

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