Search found 51 matches

by Oleksii
Tue Nov 26, 2019 7:30 pm
Forum: Other Issues
Topic: Refactor only a portion of a file?
Replies: 11
Views: 646

Re: Refactor only a portion of a file?

Hi Radu,

the first thing I did was copy+paste of your code examples. :) As it didn't work for me (still getting empty string) I tried to play around.
I also noticed that you use xpath_eval() twice. It is strange it doesn't work for me.
oXygen 20.1

Regards,
Oleksii
by Oleksii
Thu Nov 21, 2019 12:15 pm
Forum: Other Issues
Topic: Refactor only a portion of a file?
Replies: 11
Views: 646

Re: Refactor only a portion of a file?

Hi Radu, I solved my particular problem for now as I needed the following value: ${xpath_eval( (parse-xml('${selection}')//*[@xml:id])[1]/@xml:id/substring-after(., '_') )} But the example with replace() didn't work for me. I played around, also checking maybe the problem is something with a sequenc...
by Oleksii
Tue Nov 19, 2019 6:50 pm
Forum: Other Issues
Topic: Refactor only a portion of a file?
Replies: 11
Views: 646

Re: Refactor only a portion of a file?

Hi Radu, thank you, I'll take a closer look then. As an even shorter workaround could be also to use a code template (options >> templates >> code templates) with ${selection} but especially if it could be evaluated through ${xpath_eval()} . I tried to do ${xpath_eval( ${selection}//* )} or ${xpath_...
by Oleksii
Mon Nov 18, 2019 1:04 pm
Forum: Other Issues
Topic: Define/add new entities in Entities window
Replies: 6
Views: 2696

Re: Define/add new entities in Entities window

Also I noticed a bug: when I update the .dtd file the are problems with updating the entities references in the xml
by Oleksii
Mon Nov 18, 2019 12:59 pm
Forum: Other Issues
Topic: Define/add new entities in Entities window
Replies: 6
Views: 2696

Re: Define/add new entities in Entities window

We use RelaxNG to validate our XML files and I wanted to add a DTD just to use it for the entities references. When I define the following combination DTD and Relax NG coexist fine, so there is access to the defined entities and the file is not validated against DTD: The validation scenario uses det...
by Oleksii
Mon Nov 11, 2019 12:40 pm
Forum: Other Issues
Topic: Refactor only a portion of a file?
Replies: 11
Views: 646

Re: Refactor only a portion of a file?

Hi Radu, yes, I know about this possibility in Author mode and it would be an alternative. The point is that we are working with XML in MEI ( https://dme.mozarteum.at/movi/navigator/525/001/01 ) namespace. Currently, we do not have an appropriate CSS for displaying it which could be also a bit trick...
by Oleksii
Mon Nov 11, 2019 12:28 pm
Forum: XSLT and FOP
Topic: How to validate XSLT 3.0 stylesheet with xsl:use-package?
Replies: 22
Views: 4776

Re: How to validate XSLT 3.0 stylesheet with xsl:use-package?

Hi, what is the state of the art for oXygen 20.1? I tried to validate the packages with the built-in Saxon EE/PE/HE 9.8.0.12 it throws an error Cannot find the package ... I have one main stylesheet: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet exclude-result-prefixes="xs" version="3.0" xm...
by Oleksii
Tue Nov 05, 2019 7:10 pm
Forum: Other Issues
Topic: Refactor only a portion of a file?
Replies: 11
Views: 646

Re: Refactor only a portion of a file?

Are there any news on this topic in the meantime? This kind of feature would be extremely useful.
It would be nice to be able to customize something like currently available Surround with tags which you can invoke with a shortcut.
by Oleksii
Tue Oct 29, 2019 8:49 pm
Forum: Other Issues
Topic: Validating HTML5 non-XML syntax
Replies: 4
Views: 1313

Re: Validating HTML5 non-XML syntax

Hi, have been added a validation option in the meantime?
(oXygen version 20.1)
by Oleksii
Mon Sep 23, 2019 3:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Prevent format copying into a DITA-table (Author view)
Replies: 2
Views: 138

Re: Prevent format copying into a DITA-table (Author view)

Ok, thanks. The preferences option is Ok in my case.
by Oleksii
Mon Sep 23, 2019 12:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Prevent format copying into a DITA-table (Author view)
Replies: 2
Views: 138

Prevent format copying into a DITA-table (Author view)

Hi, when copying code from our web-interface (click on a musical element) and paste it into a DITA-table Author view, an element <pre> is added automatically. It would be basically OK, but also an ID is added which is same for all <pre>-Elements and causes a validation error. Is it possible to manag...
by Oleksii
Thu Aug 29, 2019 11:21 am
Forum: General XML Questions
Topic: How do I add conditions to xslt?
Replies: 1
Views: 478

Re: How do I add conditions to xslt?

Hi! i.e. \Integration\Case\CaseEvent\TimeStampChange@Op='E' and CompDate does not exist If you want to test if child nodes of CaseEvent not exist you might use this test: not(TimestampChange[@Op='E'] and CompDate) But here How do I check CompDate has an @Op of E or A? OR TimeStampChange is the only ...
by Oleksii
Fri Aug 16, 2019 11:37 am
Forum: Other Issues
Topic: JS dependencies
Replies: 1
Views: 168

JS dependencies

Hi,
does oXygen has any tools for it, similar to dependencies tracking implemented for XSLT?
by Oleksii
Mon Jul 29, 2019 5:37 pm
Forum: XSLT and FOP
Topic: Add more functions to the XPath builder
Replies: 4
Views: 462

Re: Add more functions to the XPath builder

Hello Martin, thank you for the examples. I saved the code for the xPath "load-xquery-module" as favorite in the builder, so I can recall it when I need. Originally, the question appeared when I was writing an XSLT and wanted to use a functx:function and to check in the builder if the concept will w...
by Oleksii
Wed Jul 24, 2019 5:44 pm
Forum: XSLT and FOP
Topic: Add more functions to the XPath builder
Replies: 4
Views: 462

Add more functions to the XPath builder

Is it possible? For instance, I'd like to ads this one : http://www.xsltfunctions.com/xsl/functx_substring-before-match.html or any own function. I checked out the options of the XPath builder and the documentation: https://www.oxygenxml.com/doc/versions/21.1/ug-editor/topics/xpath-toolbar.html but ...
by Oleksii
Wed Jul 24, 2019 10:05 am
Forum: Common Problems
Topic: oXygen installation folder (Win10)
Replies: 3
Views: 223

Re: oXygen installation folder (Win10)

Thanks, it was C:\Users\*\AppData\Local\Oxygen XML Editor 20
by Oleksii
Tue Jul 23, 2019 9:22 am
Forum: Common Problems
Topic: oXygen installation folder (Win10)
Replies: 3
Views: 223

oXygen installation folder (Win10)

Sorry, cannot find where Oxygen (v20.1) is installed :) (?)
by Oleksii
Fri Jul 19, 2019 6:43 pm
Forum: General XML Questions
Topic: link in form-controls
Replies: 1
Views: 233

link in form-controls

Hi, I use form-controls. In my .xml I have the following element: <a href="file:///K:/PROJEKTE/DMEDME/workflows/utils-documentation_files/ref_docs/DOXconvX/description/DOXconvX.html"/> which I style with following CSS: a:hover{ color:blue; border:1px dotted silver; padding:0; } a:before{ content:url...
by Oleksii
Tue Jul 16, 2019 2:35 pm
Forum: XSLT and FOP
Topic: reference a variable from the main stylesheet
Replies: 1
Views: 281

reference a variable from the main stylesheet

Hi,

I want to use a variable from the main stylesheet in the included stylesheet. Getting the error:
Variable processedFile has not been declared (or its declaration is not in scope
Vice-versa works well.
Is it a violation of the XSLT or an oxygen issue?
I'm using Master Files.
by Oleksii
Thu Jun 27, 2019 6:48 pm
Forum: Other Issues
Topic: CSS float in author
Replies: 4
Views: 1968

Re: CSS float in author

So it seems still not to be implemented :)
Are there any other ways to place multiple divs next toe ach other?
by Oleksii
Wed Jun 26, 2019 11:04 am
Forum: Other Issues
Topic: Connect oxy_actions and transformations scenario for XSLT
Replies: 6
Views: 518

Re: Connect oxy_actions and transformations scenario for XSLT

I solved the problem by specifying the in the Output >> Save as of the XSLT transformation dialog box :

Code: Select all

${xpath_eval(
doc('${currentFileURL}')//Q{http://www.mozarteum.at/ns/dme}div[@id = 'mergeStaves']//@file
)}
So the same as in the input.
by Oleksii
Mon Jun 24, 2019 7:13 pm
Forum: Other Issues
Topic: Connect oxy_actions and transformations scenario for XSLT
Replies: 6
Views: 518

Re: Connect oxy_actions and transformations scenario for XSLT

Hi Sorin, The adding of the Q before the Clark notation works well! Currently I can specify the XMLURL as relative path. by: ${xpath_eval( doc('${currentFileURL}')//Q{http://www.mozarteum.at/ns/dme}div[@id = 'mergeStaves']//@file )} The next problem I faced is to specify the output URL. I tried to s...
by Oleksii
Mon Jun 17, 2019 7:30 pm
Forum: Other Issues
Topic: Connect oxy_actions and transformations scenario for XSLT
Replies: 6
Views: 518

Re: Connect oxy_actions and transformations scenario for XSLT

Hi Alex, I already use the action ...ExecuteTransformationScenariosOperation The button which fires the action is placed in another xml file which is a kind of GUI from which I want to run all the transformations. The file which should be processed is defined in a @file attribute as relative path. S...
by Oleksii
Fri Jun 07, 2019 3:13 pm
Forum: Other Issues
Topic: Connect oxy_actions and transformations scenario for XSLT
Replies: 6
Views: 518

Connect oxy_actions and transformations scenario for XSLT

Hi! I'm building a simple GUI for convenient XSLT-transformations in oXygen. The GUI is am xml file and I use form-controls to inset the parameters and oxygen actions to run the transformations. For instance, there is the following button in the CSS: button[name = "mergeStaves"]:before { content: ox...
by Oleksii
Mon Apr 15, 2019 11:58 am
Forum: Common Problems
Topic: text alignment
Replies: 1
Views: 295

text alignment

I changed un-deliberately the direction of the text to left-to-right and cannot figure out how to reverse it.
I found this article
https://www.oxygenxml.com/xml_author/un ... ation.html
but it does not say how to make changes.
by Oleksii
Thu Apr 11, 2019 4:01 pm
Forum: XSLT and FOP
Topic: Create XSLT Documentation ERROR
Replies: 2
Views: 455

Create XSLT Documentation ERROR

Hi, I'm getting the following error while trying to create documentation from a master XSLT-stylesheet which includes few others: -E Am empty sequence is not allowed as the value of parameter $refText Note that when choosing settings >> Documentation only (in the dialog box) I can create it for the ...
by Oleksii
Wed Apr 10, 2019 11:44 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Embed form-controls into DITA
Replies: 5
Views: 596

Re: Embed form-controls into DITA

I had just CSS per default; now it's OK.
I use <oXygen/> XML Editor 20.1, build 2018122403
Thank you.
by Oleksii
Mon Apr 08, 2019 5:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Embed form-controls into DITA
Replies: 5
Views: 596

Re: Embed form-controls into DITA

Hi Radu, It works fine in DITA. However, adding ' -oxy-collapse-text ' to visibility property in CSS causes an error in oXygen: Context : tbody entry:nth-child(6) in property : visibility “-oxy-collapse-text” is not a “visibility” value : -oxy-collapse-text Is it possible to define the exceptions so...
by Oleksii
Fri Mar 29, 2019 4:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Embed form-controls into DITA
Replies: 5
Views: 596

Embed form-controls into DITA

Is it possible? For instance, I'd like just to add a checkbox into a table.
https://www.oxygenxml.com/doc/versions/ ... trols.html
by Oleksii
Fri Mar 29, 2019 12:20 pm
Forum: Common Problems
Topic: Sharing Oxygen settings with co-workers
Replies: 4
Views: 1494

Re: Sharing Oxygen settings with co-workers

Hi Radu, as the topic was discussed in 2011 I'd like to ask if the approach of sharing an .xpr via SVN is still the best option? (I need to share at least transformation/validation scenarios and formatting settings for xml.) The inconvenience could be that the colleagues should revert their local ch...