Search found 9018 matches

by Radu
Tue Feb 06, 2024 8:59 am
Forum: Other Issues
Topic: xpath eval in Transformation Scenario
Replies: 2
Views: 187

Re: xpath eval in Transformation Scenario

Hi Garrett, So according to our docs: https://www.oxygenxml.com/doc/versions/26.0/ug-editor/topics/editor-variables.html ${cf} - Current file as file path, that is the absolute file path of the currently edited document. meaning that it expands to a file path like: D:\path\to\abc.xml But the XSLT do...
by Radu
Tue Feb 06, 2024 8:53 am
Forum: Common Problems
Topic: Preserve Whitespace For Elements with Specific Text
Replies: 7
Views: 372

Re: Preserve Whitespace For Elements with Specific Text

Hi Daniel, I added an internal issue based on your request, pasting the issue ID for future reference: EXM-54178 Improve xpath evaluation for preserve space elements to check in elements text I'm skeptical the issue will get implement, we are not running the XPath expressions with the XSLT processor...
by Radu
Tue Feb 06, 2024 8:31 am
Forum: Common Problems
Topic: PC user who doesn't have admin permissions on her computer cannot create a webdav connection
Replies: 3
Views: 205

Re: PC user who doesn't have admin permissions on her computer cannot create a webdav connection

Hello Jean,
Great, thanks for updating the post with the solution!
Regards,
Radu
by Radu
Mon Feb 05, 2024 8:46 am
Forum: Common Problems
Topic: Preserve Whitespace For Elements with Specific Text
Replies: 7
Views: 372

Re: Preserve Whitespace For Elements with Specific Text

Hi, In the Oxygen Preferences->"Editor / Format / XML / Elements Spacing" there is this message on top of the list of defined elements: Screenshot 2024-02-05 at 07.43.31.png So the XPath expressions need to be simple (name and attribute tests). We do not support pattern matching on the tex...
by Radu
Mon Feb 05, 2024 8:16 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: othermeta/@content input area
Replies: 2
Views: 423

Re: othermeta/@content input area

Hi Toshihiko, If you right click in Oxygen inside the othermeta element and choose "Inspect Styles", you will find a "before" selector in this CSS stylesheet: OXYGEN_INSTALL_DIR/frameworks/dita/css/core/-topic-metadata-prolog.css which looks like this: *[class~="topic/otherm...
by Radu
Fri Feb 02, 2024 2:12 pm
Forum: Common Problems
Topic: Clicking titles containing Chinese characters in topic toc cannot position correctly
Replies: 15
Views: 834

Re: Clicking titles containing Chinese characters in topic toc cannot position correctly

Hi Galano,
Oh, the preview is only for opened Markdown files.
Regards,
Radu
by Radu
Fri Feb 02, 2024 2:00 pm
Forum: Common Problems
Topic: Clicking titles containing Chinese characters in topic toc cannot position correctly
Replies: 15
Views: 834

Re: Clicking titles containing Chinese characters in topic toc cannot position correctly

Hi Galano, So you open a Markdown file in an Oxygen 26.1 beta kit and the Preview is no longer showing? Strange, we did not change anything related to this. Can you send me a screenshot from your side? If you right click inside the Markdown file is there a "Show preview" action in the cont...
by Radu
Fri Feb 02, 2024 12:24 pm
Forum: General XML Questions
Topic: How to improve XML with the Oxygen AI Positron Assistant plugin
Replies: 1
Views: 257

Re: How to improve XML with the Oxygen AI Positron Assistant plugin

Hi, There is this topic in our user's guide with a small video and details about how the add-on can be used: https://www.oxygenxml.com/doc/versions/26.0/ug-editor/topics/ai_positron.html also at the end of the topic you have links to previously recorded webinars: https://www.oxygenxml.com/doc/versio...
by Radu
Thu Feb 01, 2024 5:53 pm
Forum: Common Problems
Topic: Terminology Checker - How to search for a string that is from a reuse file
Replies: 1
Views: 144

Re: Terminology Checker - How to search for a string that is from a reuse file

Hi,
So this question is about the Terminology Checker Oxygen add-on, right?
Do your ph element have conrefs on them so that they reuse content from another topic?
Regards,
Radu
by Radu
Thu Feb 01, 2024 8:59 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Prepending text to title in template
Replies: 1
Views: 284

Re: Prepending text to title in template

Hi Scott, Off topic, if you are not using the @task-title variable in multiple places in the new file template this: ${ask('General guidelines for?', String, '', @task-title)}${answer(@task-title)} can be simplified to this: ${ask('General guidelines for?')} The title set by the end user in the New ...
by Radu
Wed Jan 31, 2024 4:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Ditamaps Manager Context Menu Customisation
Replies: 5
Views: 482

Re: Ditamaps Manager Context Menu Customisation

Hi, Looking at your code, you already have access to the "WSDITAMapEditorPage": https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/exml/workspace/api/editor/page/ditamap/WSDITAMapEditorPage.html You can get the selected AuthorNode's: https://www.oxygenxml.com/InstData/Editor/SDK...
by Radu
Wed Jan 31, 2024 11:30 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translation of text in othertype attribute of note element.
Replies: 7
Views: 483

Re: Translation of text in othertype attribute of note element.

Hello Jan, I fully agree with the translators usually skipping attribute values. This is why in general the DITA XML standard has moved away from using translatable text in attribute values. For example an older DITA standard allowed setting the "alternate" text on an image using the "...
by Radu
Wed Jan 31, 2024 9:05 am
Forum: Common Problems
Topic: PC user who doesn't have admin permissions on her computer cannot create a webdav connection
Replies: 3
Views: 205

Re: PC user who doesn't have admin permissions on her computer cannot create a webdav connection

Hi Jean, So this user has a desktop on-premise installation of Oxygen 25, right? And they attempt to login to a Componize CMS/server using the Oxygen Webdav support, right? Did they install any specific plugin from Componize for integrating Oxygen with Componize? What error does Oxygen show them whe...
by Radu
Tue Jan 30, 2024 7:09 pm
Forum: Common Problems
Topic: Hide specific element attribute from editor view
Replies: 3
Views: 193

Re: Hide specific element attribute from editor view

Hi Vitor,
Great, also thanks for posting the end solution!
Regards,
Radu
by Radu
Tue Jan 30, 2024 4:46 pm
Forum: Common Problems
Topic: Hide specific element attribute from editor view
Replies: 3
Views: 193

Re: Hide specific element attribute from editor view

Hi Vitor,
How about if you use our oxy_replace over the value returned by oxy_attributes to apply a regexp which removes part of the displayed attributes string?
https://www.oxygenxml.com/doc/ug-editor ... ction.html
Regards,
Radu
by Radu
Tue Jan 30, 2024 3:59 pm
Forum: Common Problems
Topic: Author Options: Add independent sets of tags before and after a marked passage
Replies: 4
Views: 204

Re: Author Options: Add independent sets of tags before and after a marked passage

Hi, We have a bunch of Author operations which use Javascript here, maybe these will help as samples: https://github.com/oxygenxml/javascript-sample-operations Other than that, the AuthorAccess API has Javadoc: https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/ecss/extensions/api/AuthorA...
by Radu
Tue Jan 30, 2024 3:52 pm
Forum: Common Problems
Topic: include currently selected text in external tool command
Replies: 8
Views: 371

Re: include currently selected text in external tool command

Hi Wolfhart, Maybe this would be a good getting started for developing Oxygen plugins: https://www.oxygenxml.com/doc/ug-editor/dev_guide/plugins.html But let's first try to install an existing sample plugin which would get you close to what you want: 1) So there is this Github project with lots of s...
by Radu
Tue Jan 30, 2024 2:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translation of text in othertype attribute of note element.
Replies: 7
Views: 483

Re: Translation of text in othertype attribute of note element.

Hi Jan, So in general a company which translates their DITA XML content has a separate folder for each translation language: https://blog.oxygenxml.com/topics/translating_your_dita_project.html#translating_your_dita_project__section_hlq_cmp_rdb You have the original "en" folder containing ...
by Radu
Tue Jan 30, 2024 2:27 pm
Forum: Common Problems
Topic: Author Options: Add independent sets of tags before and after a marked passage
Replies: 4
Views: 204

Re: Author Options: Add independent sets of tags before and after a marked passage

Hi, So what happens when you invoke the action? Does Oxygen show an error? Does an incorrect piece of content get inserted? Looking a bit over your Javascript code, maybe you can extract it initially to a separate Javascript file, I would probably replace this line: documentController.insertXMLFragm...
by Radu
Tue Jan 30, 2024 1:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translation of text in othertype attribute of note element.
Replies: 7
Views: 483

Re: Translation of text in othertype attribute of note element.

Hello Jan, About this remark: The biggest advantage of this method is that the text that will appear in the output is the same as the text in the source document. There is nothing stopping you from using the "othertype" text and asking the translator to also translate its value when you tr...
by Radu
Tue Jan 30, 2024 9:58 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translation of text in othertype attribute of note element.
Replies: 7
Views: 483

Re: Translation of text in othertype attribute of note element.

Hi Jan, I added some feedback based on your use case here: https://github.com/dita-ot/dita-ot/issues/4136 As a workaround I would probably avoid using "othertype", I would set an @outputclass attribute value: <note outputclass="myNote">hello</note> which generates in the HTML som...
by Radu
Tue Jan 30, 2024 8:25 am
Forum: Common Problems
Topic: Internal error while extracting Schematron rules from RNG
Replies: 4
Views: 401

Re: Internal error while extracting Schematron rules from RNG

Hi Michaël,
We made a minor bug fix release of Oxygen 26 which should have this problem fixed:
https://www.oxygenxml.com/build_history ... 2024012406
Maybe you can uninstall Oxygen 26, then re-download and re-install Oxygen 26 from our web site.
Regards,
Radu
by Radu
Mon Jan 29, 2024 3:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Configure project file to include validation using Schematron
Replies: 5
Views: 520

Re: Configure project file to include validation using Schematron

Hello Ann,
Great, I'm glad this works for you!
Regards,
Radu
by Radu
Mon Jan 29, 2024 3:25 pm
Forum: Common Problems
Topic: include currently selected text in external tool command
Replies: 8
Views: 371

Re: include currently selected text in external tool command

Hi Wolfhart, Before diving into how Oxygen plugins work, maybe you can try to install and use our free Translation Helper add-on which supports Google Translate and DeepL, although it works with the XML opened in the Author visual editing mode: https://www.oxygenxml.com/doc/ug-editor/topics/translat...
by Radu
Mon Jan 29, 2024 3:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Ditamaps Manager Context Menu Customisation
Replies: 5
Views: 482

Re: Ditamaps Manager Context Menu Customisation

Hi, So you have a "JPopupMenu mainPopUp" which is a Java Swing JPopUpMenu. A JPopupMenu has plenty of API methods to obtain its child components, to iterate them, to find a specific JMenu with a specific name and then to add JMenuItems to it. https://docs.oracle.com/javase/8/docs/api/javax...
by Radu
Mon Jan 29, 2024 11:17 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Updating attribute based on element content
Replies: 5
Views: 574

Re: Updating attribute based on element content

Hi Konrad,
Great, I'm glad the XML refactoring samples helped!
Regards,
Radu
by Radu
Mon Jan 29, 2024 10:13 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Word to DITA conversion failed to insert the resulting map as children of the root map
Replies: 5
Views: 469

Re: Word to DITA conversion failed to insert the resulting map as children of the root map

Hi Estelle,
This seems to be working for me. Do you get any error reported by Oxygen?
If after the import in the DITA Maps Manager you right click "Append child->Reference" and manually add a reference to that imported DITA Map does it work like that?
Regards,
Radu
by Radu
Mon Jan 29, 2024 9:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Word to DITA conversion failed to insert the resulting map as children of the root map
Replies: 5
Views: 469

Re: Word to DITA conversion failed to insert the resulting map as children of the root map

Hi, Can you give us more details about the steps you tried? https://www.oxygenxml.com/doc/ug-editor/topics/batch-converter-addon.html Did you successfully install the Oxygen Batch Documents Converter add-on? If you go to the Oxygen main menu "Tools->Batch Documents Converter" can you use t...
by Radu
Mon Jan 29, 2024 8:57 am
Forum: Common Problems
Topic: include currently selected text in external tool command
Replies: 8
Views: 371

Re: include currently selected text in external tool command

Hi Wolfhart, We expand the ${selection} editor variable only in code templates and in custom Author operations. Are you editing the XML document in the Text or in the Author visual editing mode? As the selection may contain spaces which need to be escaped maybe you could somehow add your own editor ...
by Radu
Mon Jan 29, 2024 8:52 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Creating Custom Spellcheck
Replies: 3
Views: 446

Re: Creating Custom Spellcheck

Hi, Great, I hope you'll find it useful for your team. The terminology checker can work both with rules described in our own specific XML format or in Vale (for which there are already rules available with styleguides like the Microsoft Style guide). If you start from zero I would suggest using our ...