Search found 832 matches

by alex_jitianu
Mon Dec 30, 2019 11:17 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Using XPath with bookmap metadata
Replies: 2
Views: 490

Re: Using XPath with bookmap metadata

Hi Dmitry, That's because both copyrlast and copyrfirst have a year element in them, and your XPath takes all the year elements from anywhere in the document. Just restrict the expression to the year from withing copyrlast , like this: //*[contains(@class, "bookmap/copyrlast")]/*[contains(@class, "b...
by alex_jitianu
Mon Dec 30, 2019 9:54 am
Forum: Feature Request
Topic: What about Git support?
Replies: 102
Views: 39461

Re: What about Git support?

Hi, Well, there is actually Git support for awhile now. It comes in the form af an add-on and to install it you need to: 1. Go to Help -> Install new add-ons... 2. If you are running Oxygen version 21.1 just select Default Update Site from the top combo. If not, paste this URL: https://raw.githubuse...
by alex_jitianu
Tue Dec 17, 2019 12:56 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Combo Box values depending on another Combox Box value selected
Replies: 4
Views: 1394

Re: Combo Box values depending on another Combox Box value selected

Hi, It is possible. From a CSS you would do it by writing selectors for all possible combinations. Depending on the combinations, it can be a bit cumbersome. Let's assume that both combos edit attribute values: element:before(20) { content: oxy_combobox( edit, '@vehicleType', editable, false, width,...
by alex_jitianu
Tue Dec 17, 2019 9:59 am
Forum: Common Problems
Topic: Custom action on CMIS plugin checkout file
Replies: 4
Views: 875

Re: Custom action on CMIS plugin checkout file

Hi Joseph, I gues that your extension, on the server is the one that receives the path like that, right? On the client side, you can enable logging on the http client. I did that myself and I didn't see anything being sent in an encrypted way. Here is what I did: 1. I've created the file {oxygenInst...
by alex_jitianu
Thu Dec 12, 2019 4:47 pm
Forum: Other Issues
Topic: [author mode][content completion] insert element with attribute value from controlled list
Replies: 3
Views: 634

Re: [author mode][content completion] insert element with attribute value from controlled list

Hi, I tried this in cc_config.xml, both with and without your match rule, reloaded the target XML, restarted the app, but somehow it is not triggered. I only get offered the completion for an integer element without @base (which I presume is generated from the DTD). Somehow the stuff in cc_config.xm...
by alex_jitianu
Wed Dec 11, 2019 4:51 pm
Forum: Other Issues
Topic: [author mode][content completion] insert element with attribute value from controlled list
Replies: 3
Views: 634

Re: [author mode][content completion] insert element with attribute value from controlled list

Hello, Content completion can be configured to specify the possible values, like this: <match elementName="integer" attributeName="base"> <items> <item value=""></item> <item value="2"></item> <item value="4"></item> <item value="6"></item> </items> </match> And you can control what fragment gets in...
by alex_jitianu
Wed Dec 11, 2019 10:31 am
Forum: Common Problems
Topic: Custom action on CMIS plugin checkout file
Replies: 4
Views: 875

Re: Custom action on CMIS plugin checkout file

Hi Joseph, Let's make sure I understand this correctly. You want to keep your documents in a SVN server and interact with them through a CMIS interface, like the sample OpenCMIS FileShare Repository does. You test this implementation through the CMIS Workbench . Did I understand it correctly? As far...
by alex_jitianu
Mon Nov 25, 2019 4:07 pm
Forum: Common Problems
Topic: Schematron and external functions
Replies: 6
Views: 1814

Re: Schematron and external functions

Hi,

I'll add your vote for that check box and I will increase its priority.

Best regards,
Alex
by alex_jitianu
Thu Nov 07, 2019 3:59 pm
Forum: Common Problems
Topic: Transformation Scenario ${xpath_eval} and regex
Replies: 2
Views: 646

Re: Transformation Scenario ${xpath_eval} and regex

Hello, Thank you for reporting this issue. We will send you a notification as soon as it gets fixed and a new build containing the fix is released. Until then, perhaps you can tweak the regular expression a bit, replacing that backslash with a different construction. If I understand it correctly, yo...
by alex_jitianu
Wed Nov 06, 2019 10:27 am
Forum: XSLT and FOP
Topic: Is it possible to register a "simple interface" Java extension function
Replies: 2
Views: 1600

Re: Is it possible to register a "simple interface" Java extension function

Hello, Yes, I managed to reproduce this issue myself. As far as I can tell, when wee create Saxon's transformer factories, we supply the configuration to the factory and, when doing so, Saxon's doesn't set the processor. Maybe it expects the configuration to be somehow already initialized... I don't...
by alex_jitianu
Mon Oct 21, 2019 12:27 pm
Forum: Other Issues
Topic: Get input values for $ask from another file
Replies: 2
Views: 590

Re: Get input values for $ask from another file

Hello, You can use an ${oxy_xpath()} in place of the value enumeration, something like this: ${ask( 'combobox with quotes', combobox, (${xpath_eval(string-join(for $e in doc('URL_MAPPED_IN_A_CATALOG')//entry return concat('"', $e/text(), '":"', $e/@label, '"'), ';'))})} In the example above I made t...
by alex_jitianu
Mon Oct 21, 2019 11:25 am
Forum: Other Issues
Topic: Creating $ask with answer from a previous $ask
Replies: 4
Views: 903

Re: Creating $ask with answer from a previous $ask

Hi, For version 20.1, you could create an Oxygen plugin for such an use case. You would have to define custom variables and use them inside the template. Afterwards, from the plugin, you can add an EditorVariablesResolver that looks in the content for the variables and knows what to ask the user and...
by alex_jitianu
Mon Oct 21, 2019 11:12 am
Forum: SDK-API, Frameworks - Document Types
Topic: How can I use Checkbox Form Control as Radio button ?
Replies: 4
Views: 2573

Re: How can I use Checkbox Form Control as Radio button ?

Hi Shabeer, The built-in check box form control can't be customized to work in such a fashion. Do you need to create this custom form control for the standalone version or for the Eclipse plugin? Also, please write an email on support@oxygenxml.com so that I can reply and attach the source code to i...
by alex_jitianu
Thu Oct 17, 2019 2:21 pm
Forum: Other Issues
Topic: Creating $ask with answer from a previous $ask
Replies: 4
Views: 903

Re: Creating $ask with answer from a previous $ask

Hello, What Oxygen version are you using? In version 21.1 we introduced an improved version of the engine that expands editor variables. In version 21.1, a document template content like this expands correctly: ${ask('message', generic, 'default_value', @name)} ====== ${ask('How is the product activ...
by alex_jitianu
Thu Oct 17, 2019 2:04 pm
Forum: Other Issues
Topic: Confirmation Popup on click of button
Replies: 2
Views: 625

Re: Confirmation Popup on click of button

Hello, The fastest way I can think of is with an XQuery Update script that uses a bit of Java reflection to present a dialog: declare namespace jop = "java:javax.swing.JOptionPane"; let $result := jop:showConfirmDialog(null, "Delete element", "Confirm", 0) return if ($result = 0) then ( delete node ...
by alex_jitianu
Thu Oct 10, 2019 8:38 am
Forum: Common Problems
Topic: tei:pb/@facs image not shown in author mode
Replies: 5
Views: 996

Re: tei:pb/@facs image not shown in author mode

Hi,

I'm glad to hear you found a solution. Perhaps it is worth sharing the CSS with the official framework so that others will benefit from it:

https://github.com/TEIC/oxygen-tei

You can add an issue on the project or send a pull request.

Best regards,
Alex
by alex_jitianu
Wed Oct 09, 2019 9:43 am
Forum: Common Problems
Topic: tei:pb/@facs image not shown in author mode
Replies: 5
Views: 996

Re: tei:pb/@facs image not shown in author mode

Hello,

The author layout is controlled through CSS so if you write the proper rule then it will render that image. If you can post a sample TEI then I can provide a possible CSS rule to render the image.

Best regards,
Alex
by alex_jitianu
Wed Oct 09, 2019 9:39 am
Forum: Other Issues
Topic: How to reference the oxy_combobox list by button
Replies: 5
Views: 1002

Re: How to reference the oxy_combobox list by button

Hello, You can chain 2 actions, one of which will delete the text content of the element: book:after(101){ content: oxy_button( color, #AAAAAA, action, oxy_compound_action( name, 'E', description, 'Insert an "element" and then rename it to "rename"', oxy_action( name, 'E', operation, 'SetPseudoClass...
by alex_jitianu
Tue Oct 01, 2019 3:11 pm
Forum: Other Issues
Topic: How to reference the oxy_combobox list by button
Replies: 5
Views: 1002

Re: How to reference the oxy_combobox list by button

Hello, If we have just two buttons involved, then we can do it with a pseudo class: book:after{ content: oxy_combobox(edit, '#text', values, oxy_xpath('string-join(doc("abc.xml")//*:v[not(matches(.,\'E$\'))],",")'),columns, 30) ; } book:-e-mode:after{ content: oxy_combobox(edit, '#text', values, oxy...
by alex_jitianu
Fri Sep 27, 2019 10:12 am
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_button transparent property
Replies: 1
Views: 610

Re: oxy_button transparent property

Hi Johann, I don't reproduce this behavior. I tested the 21.1.0.2 SDK with some simple samples: button { content: oxy_button(action, oxy_action( name, 'Insert', description, 'Insert an element after the current one', operation, 'InsertFragmentOperation', arg-fragment, '<element></element>', arg-inse...
by alex_jitianu
Thu Sep 26, 2019 8:35 am
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 19
Views: 4562

Re: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON

Dear Isabelle, Thank you for taking the time to send us all those resources. It turns out that the API URIResolver doesn't pass though the opened editors, like I initially expected. Sorry about that... Luckily there is enough API available so that you can extend this behavior. Something like this: p...
by alex_jitianu
Fri Sep 20, 2019 10:45 am
Forum: Feature Request
Topic: What about Git support?
Replies: 102
Views: 39461

Re: What about Git support?

Hello Chris, I've added an issue regarding this support: https://github.com/oxygenxml/oxygen-git-plugin/issues/73 Because we have quite a lot of features already in the pipeline, we will have to carefully analyze and decide which new features have a greater priority and schedule them accordingly. Th...
by alex_jitianu
Fri Sep 20, 2019 9:17 am
Forum: Other Issues
Topic: Referencing values in oxy_combobox from another combobox
Replies: 2
Views: 647

Re: Referencing values in oxy_combobox from another combobox

Hello, I can think of two ways to achieve this. The recommended one would be to make us of the content completion configuration and call an external XSLT script to compute the values for the second attribute. The values for the first attribute (or element content) are static while the second ones ar...
by alex_jitianu
Wed Sep 18, 2019 3:01 pm
Forum: Common Problems
Topic: how to install git plugin with offline mode?
Replies: 2
Views: 624

Re: how to install git plugin with offline mode?

Hello, When doing step4, we can't select Git Support and the Next button is not available . The window said "The add-on is not signed." The benefit of having a signed add-on is that you can verify the integrity of the add-on issuer. You can ignore the warning since you know where they came from. If ...
by alex_jitianu
Fri Aug 30, 2019 10:03 am
Forum: Feature Request
Topic: What about Git support?
Replies: 102
Views: 39461

Re: What about Git support?

Hello, You can use two-factor authentication to log into your GitHub/GitLab/Bitbucket account. Afterwards, you need to configure a Personal Access token (BitBucket calls it app password). When prompted for credentials by Oxygen's Git plugin, use the previously generated token instead of your passwor...
by alex_jitianu
Fri Aug 09, 2019 4:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 19
Views: 4562

Re: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON

Hello Isabelle, To make sure I understand the situation correctly, the XSLT file processes the saved version of the file, instead of the unsaved snapshot from the editor, right? The code looks O.K. Can you send me the zipped plugin on support@oxygenxml.com so I can reproduce the issue myself and loo...
by alex_jitianu
Fri Aug 09, 2019 3:16 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 19
Views: 4562

Re: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON

Hello Isabelle, If I understand it correctly, the XSLT file processes the saved version of the file, instead of the unsaved snapshot from the editor, right? If that's the case, then the fix is to set an URIResolver that will get the content from the editor, like this: URIResolver uriResolver = Plugi...
by alex_jitianu
Fri Aug 09, 2019 2:46 pm
Forum: Feature Request
Topic: some enhancement requests for Git plugin
Replies: 1
Views: 636

Re: some enhancement requests for Git plugin

Hi Chris,

We have filed new issues for points 1-3.

For point 4 we answered on post54853.html#p54853.

Best regards,
Alex
by alex_jitianu
Fri Aug 09, 2019 2:24 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Resolving conflicts in the Git plugin?
Replies: 3
Views: 971

Re: Resolving conflicts in the Git plugin?

Hi Chris, 1. According to the User's Manual (https://www.oxygenxml.com/doc/versions/21.1/ug-editor/topics/file-comparison.html): Append left change to right and Append right change to left Copies the content of the selected change from one side and appends it on the other, according to the content o...
by alex_jitianu
Tue Aug 06, 2019 1:14 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 19
Views: 4562

Re: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON

Dear Isabelle, You should remove this block from within the content completion configuration file: <match elementName="property" attributeName="value"> <xslt href="get_values.xsl" useCache="false" action="replace"/> </match> No matter what you do, this XSLT will be executed with the built-in Saxon H...