Search found 104 matches

by kirkilj
Tue Sep 08, 2020 3:42 am
Forum: SDK-API, Frameworks - Document Types
Topic: Editor Variable to ExecuteCommandLineOperation return
Replies: 5
Views: 507

Re: Editor Variable to ExecuteCommandLineOperation return

Hi Sorin, Sorry for not getting back to you on this request. Besides the example of getting the name of the current Git branch or Git repo, we were also trying to retrieve the latest modification date and creation date of the current file, so we could apply some conditional exposure of custom Oxygen...
by kirkilj
Thu Aug 13, 2020 11:00 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Reuse Actions across frameworks
Replies: 2
Views: 190

Re: Reuse Actions across frameworks

Hi Alex,

Yes, we're using Oxygen 22.1, and your answer was music to my ears.

Thanks so much,

John
by kirkilj
Wed Aug 12, 2020 8:41 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Reuse Actions across frameworks
Replies: 2
Views: 190

Reuse Actions across frameworks

We've extended the DITA, DITAMap, Maven, and Ant frameworks and have a set of custom toolbars/actions that we want to reuse across all 4. The only workable method we've been able to determine thus far is duplicating all of them in every framework, which is not sustainable. Is there a way we can writ...
by kirkilj
Tue May 26, 2020 1:24 am
Forum: Other Issues
Topic: Custom Editor Variable using xpath_eval and doc function
Replies: 10
Views: 708

Re: Custom Editor Variable using xpath_eval and doc function

Actually, what's now broken in 22.1 vs. 22.0 is that this External Tool command errors out: cmd /C mvn compile -Dt=${ask('Choose a target:', combobox,( ${xpath_eval(string-join(fn:for-each (doc('${pdu}/build.xml')/project/target/@name, function($target) {concat("'",$target,"'",':',"'",$target,"'") }...
by kirkilj
Sun May 24, 2020 9:05 pm
Forum: Other Issues
Topic: Custom Editor Variable using xpath_eval and doc function
Replies: 10
Views: 708

Re: Custom Editor Variable using xpath_eval and doc function

Hi Alex,

Thanks for updating me. I did notice that the same expression that surfaced this issue for me is now failing after the update. I didn't have time to investigate on Friday, but I'll check tomorrow at the latest.

John Kirkilis
Nokia
by kirkilj
Tue May 19, 2020 11:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: java vs javascript with Oxygen SDK
Replies: 8
Views: 524

Re: java vs javascript with Oxygen SDK

Hi Radu, It looks like Rhino has a compiler and debugger: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino/JavaScript_Compiler From the above page: The JavaScript compiler translates JavaScript source into Java class files. The resulting Java class files can then be loaded and execute...
by kirkilj
Tue May 19, 2020 8:18 pm
Forum: SDK-API, Frameworks - Document Types
Topic: java vs javascript with Oxygen SDK
Replies: 8
Views: 524

Re: java vs javascript with Oxygen SDK

Hi Radu, But I do not have all the details figured out for this one. What!!! Not yet??? ;) Btw, we had one of our student interns write our first instances of Java extensions, which still need some work before including it in our framework. Support multiple ID generation patterns , each having their...
by kirkilj
Tue May 19, 2020 7:43 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Editor Variable to ExecuteCommandLineOperation return
Replies: 5
Views: 507

Re: Editor Variable to ExecuteCommandLineOperation return

Hi Sorin, Apologies. My feature request evolved while I was typing it, and I forgot to delete the first paragraph! My initial though was to add a parameter to the ExecuteCommandLineOperation, before the idea of os_eval came along. However, as long as we're talking about OS shell integration points.....
by kirkilj
Tue May 19, 2020 4:05 am
Forum: SDK-API, Frameworks - Document Types
Topic: java vs javascript with Oxygen SDK
Replies: 8
Views: 524

Re: java vs javascript with Oxygen SDK

I understand.

Are you thinking that one option might be to have a wrapper jar that can pick up a directory of Javascript assets in the framework directory?
by kirkilj
Sat May 16, 2020 11:51 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Editor Variable to ExecuteCommandLineOperation return
Replies: 5
Views: 507

Editor Variable to ExecuteCommandLineOperation return

The ExecuteCommandLineOperation has an option to show the results in an Oxygen console table. It would be useful if there was another parameter that would signal that the result should instead be returned as a string that could be used elsewhere. One way to leverage this capability would be for Oxyg...
by kirkilj
Sat May 16, 2020 11:20 pm
Forum: SDK-API, Frameworks - Document Types
Topic: java vs javascript with Oxygen SDK
Replies: 8
Views: 524

Re: java vs javascript with Oxygen SDK

Hi Radu, I'm having trouble reconciling the two statements below: Javascript is an alternative when it comes to creating small Oxygen plugins. A Javascript-based plugin can call our Java API: But there is no option to use Javascript to developer framework customizations, it's only available for plug...
by kirkilj
Fri May 15, 2020 10:05 pm
Forum: Feature Request
Topic: Batch rename all the topics in a project
Replies: 5
Views: 380

Re: Batch rename all the topics in a project

Besides constructing filenames based on a file's <title> element, we also had issues where many image filenames had both a numeric portion and a human-readable portion, like "XHAU-D1847-LG634-alert_configuration_diagram.png", the script had to strip the numeric portion based on a regex to parse the ...
by kirkilj
Fri May 15, 2020 2:38 am
Forum: Feature Request
Topic: Generate a dependency hierarchy for FO attribute sets
Replies: 1
Views: 163

Generate a dependency hierarchy for FO attribute sets

We need to audit all of our attribute sets that have become cluttered with explicit attributes added to fo: elements in addition to their attribute sets. Many attributes are defined at a deeper level that could have relied entirely on the cascading behavior. This can cause bugs if a higher level att...
by kirkilj
Fri May 15, 2020 2:26 am
Forum: Feature Request
Topic: Batch rename all the topics in a project
Replies: 5
Views: 380

Re: Batch rename all the topics in a project

I had to write a script to do this very thing a few weeks ago to deal with thousands of numeric filenames exported out of a CMS. I hacked something together using a combination of Bash shell scripts and the xmlstarlet command line tool to grab the title element value of each such file. It extracted ...
by kirkilj
Thu May 07, 2020 12:22 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Paragraphs in table cells in PDF via XSL-FO output
Replies: 1
Views: 340

Paragraphs in table cells in PDF via XSL-FO output

I've noticed that any time a table cell's content is wrapped in a paragraph, it shifts the text down unconditionally in the rendered output beyond the padding of 3pt. The shift is I just rendered a simple test with Oxygen 22's DITA to PDF via XSL-FO. If a table cell just has text in it, there are 3p...
by kirkilj
Wed May 06, 2020 9:26 pm
Forum: Other Issues
Topic: Custom Editor Variable using xpath_eval and doc function
Replies: 10
Views: 708

Re: Custom Editor Variable using xpath_eval and doc function

First, I need to wipe away the puddle of drool on my desk. Those features would be glorious to have. :D The driving force in wanting to increase the use of xpath_eval in many different Oxygen customizations is that we're planning on moving from Ant/Java style properties files for build options and m...
by kirkilj
Mon Apr 13, 2020 7:27 pm
Forum: Other Issues
Topic: Custom Editor Variable using xpath_eval and doc function
Replies: 10
Views: 708

Re: Custom Editor Variable using xpath_eval and doc function

In general, it looks like I may want to use the doc-available function first to fail gracefully if a file isn't present. Perhaps something like: ${xpath_eval( if (doc-available('${pdu}/pom.xml')) then doc('${pdu}/pom.xml')/*:project/*:artifactId/text() else 'INVALID_ARTIFACT_ID' ) } but Oxygen repor...
by kirkilj
Mon Apr 13, 2020 1:14 am
Forum: Other Issues
Topic: Custom Editor Variable using xpath_eval and doc function
Replies: 10
Views: 708

Re: Custom Editor Variable using xpath_eval and doc function

Thanks Radu.

That did the trick!
by kirkilj
Fri Apr 10, 2020 1:42 am
Forum: Other Issues
Topic: Custom Editor Variable using xpath_eval and doc function
Replies: 10
Views: 708

Custom Editor Variable using xpath_eval and doc function

I created an external tool that would open a specific web page on an internal server for the maven artifact specified in a pom.xml file at the root of an Oxygen project. Here's an excerpt of the pom: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta...
by kirkilj
Tue Mar 10, 2020 8:13 pm
Forum: Other Issues
Topic: Using doc function in an xpath_eval "variable"
Replies: 1
Views: 354

Using doc function in an xpath_eval "variable"

I created an external tool that presents a pull-down menu of all targets in an ant build.xml file for execution. I set the working directory to ${pd}. cmd /C mvn compile -Dt=${ask('Choose a target:', combobox,( ${xpath_eval(string-join(fn:for-each (doc('build.xml')/project/target/@name, function($ta...
by kirkilj
Fri Feb 28, 2020 8:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Transformation scenario with multiple ditavals
Replies: 8
Views: 1384

Re: Transformation scenario with multiple ditavals

Hi Radu, The OT docs say that the path separator is a semi-colon on Windows and a colon on *nix. We use our own Ant build scripts and decided to let the writers provide a comma-separated list and we transparently replace the comma with the ${path.separator} property value before invoking the dita co...
by kirkilj
Fri Feb 28, 2020 7:50 pm
Forum: Feature Request
Topic: When Opening a Map.. do both options
Replies: 4
Views: 401

Re: When Opening a Map.. do both options

Everyone's workflow and content is different. I will render resolved maps on an exception basis only, when I have time to wait for hundreds of pages to render. It all depends on the size of our docs.This was especially an issue at a prior job a few years ago when my custom CSS styles were not yet be...
by kirkilj
Fri Feb 28, 2020 2:03 am
Forum: Feature Request
Topic: When Opening a Map.. do both options
Replies: 4
Views: 401

When Opening a Map.. do both options

In the DITA Preferences section, there's an area for selecting what to do when opening a DITA Map. The options provided are: Always open in the DITA Maps Manager Always open as XML Always ask I usually like to work in both at the same time, so I always open in XML by default and then have to right-c...
by kirkilj
Wed Feb 05, 2020 12:15 am
Forum: SDK-API, Frameworks - Document Types
Topic: Customized ID Generation
Replies: 1
Views: 323

Customized ID Generation

Oxygen's UI allows us to configure a single pattern to use for all the listed elements in the ID Options dialog. According to the API docs, there's a generateUniqueIDFor method in the DefaultUniqueAttributesRecognizer class, which can be extended to override behavior. Since it's not available in the...
by kirkilj
Tue Dec 10, 2019 8:12 pm
Forum: Other Issues
Topic: Mixed Oxygen environment versions 19.1 and 21.1
Replies: 1
Views: 242

Mixed Oxygen environment versions 19.1 and 21.1

Are they any issues with using both v19.1 and 21.1 if they both use the same project files and custom network-accessible frameworks. Version 21 has more features and hence preferences (project file differences). If a 21.1 user creates an XPR file, will the 19.1 users be able to use it? Does 19.1 mer...
by kirkilj
Thu Oct 03, 2019 8:43 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Searching for Text in Reused Components in Current Dita Map Hierarchy
Replies: 6
Views: 547

Re: Searching for Text in Reused Components in Current Dita Map Hierarchy

+1 on this enhancement request. In the mean time, would it be sufficient to invoke the "Open Map in Editor with resolved topics" in Author mode and then invoke Find All on the combined content? It's not ideal for replacements; however, since you'd have to invoke the "Edit Reference" function to get ...
by kirkilj
Mon Sep 16, 2019 5:18 am
Forum: Other Issues
Topic: Configure different terminal shell on Windows
Replies: 2
Views: 368

Re: Configure different terminal shell on Windows

I would also like to know what it would take to embed a true terminal view into Oxygen rather than just an output console.
by kirkilj
Mon Sep 16, 2019 1:57 am
Forum: Other Issues
Topic: Configure different terminal shell on Windows
Replies: 2
Views: 368

Configure different terminal shell on Windows

We've standardized on using Git-Bash for all interactive shell sessions for our technical writers, who are all on either Win7 or Win10. Is it possible to configure a different terminal in Oxygen wherever a command line request is being made, such as: Project View: Show In: Terminal CSS ExecuteComman...
by kirkilj
Thu Jun 13, 2019 11:10 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA-OT 3.3 and XSLT 3.0
Replies: 1
Views: 494

DITA-OT 3.3 and XSLT 3.0

Is DITA-OT 3.3 and XSLT 3.0 an accepted combination when developing plugins. I see Saxon9.8HE in dita/lib, and Saxonica's site says it supports basic XSLT 3.0 capability.
by kirkilj
Fri Mar 29, 2019 7:29 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: critdates not validating in Oxygen
Replies: 4
Views: 791

Re: critdates not validating in Oxygen

Thanks Radu, I should've picked up on the sequencing requirement in the model representation.