Unfortunately you can't copy static text in the Author mode. Even though the selection shows the static content as being selected, the copy action will skip the static content.
Possible ways to get the value of the xml:id attribute:
1. you can use the Attributes View to select the xml:id attribute and copy it
2. instead of showing the attribute's value as a static content use a form control:
Code: Select all
content: oxy_textfield(edit, '@xml:id');
This way you can select the value in the form control and copy it.
3. You could add an in-place author action next to the static content that when pressed it will copy the value. Unfortunately there isn't a built-in AuthorOperation to do this copy so if you want to go on this approach you will have to use our JAVA based API to create such an operation : Custom Operation
. Please let me know if you are interested so I can give you more details.