Search found 110 matches
- by kirkilj
- Wed Feb 22, 2023 1:59 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Determine if opened file was just created from a custom template
- Replies: 2
- Views: 750
Re: Determine if opened file was just created from a custom template
Thanks so much Cosmin. We'll give it a try.
- by kirkilj
- Mon Feb 20, 2023 8:59 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Determine if opened file was just created from a custom template
- Replies: 2
- Views: 750
Determine if opened file was just created from a custom template
We'd like to know if the current editor document in Author mode was just created from one of our custom DITA templates and hasn't been touched by anyone so we can apply some custom logic to generate some initial content based on a live lookup that cannot be accomplished with a custom editor variable...
- by kirkilj
- Thu Jul 07, 2022 4:40 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Named destination to an object in the PDF output
- Replies: 24
- Views: 7306
Re: Named destination to an object in the PDF output
Hi Marvin, I looked more into this and you are right, sorry about my confusion, somehow besides generating an XSL-FO element with a certain ID, you also need to add a fox:destination element to defined that ID as a named anchor. So from my tests the XSL-FO output would need to look something like t...
- by kirkilj
- Thu May 06, 2021 10:04 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Showing javadocs to Oxygen SDK-API in an IDE
- Replies: 3
- Views: 1528
Re: Showing javadocs to Oxygen SDK-API in an IDE
Does anyone know if VS-Code supports this capability, either built-in or through an extension?
- by kirkilj
- Fri Nov 20, 2020 6:31 pm
- Forum: Other Issues
- Topic: Custom Editor Variable using xpath_eval and doc function
- Replies: 12
- Views: 4295
Re: Custom Editor Variable using xpath_eval and doc function
Thanks for the circling back and letting us know. It's one of the small things Syncrosoft does that shows a level of follow-through and closure that is rare in the industry.
We'll leave the work-around in until everyone is on v23.
We'll leave the work-around in until everyone is on v23.
- by kirkilj
- Tue Oct 27, 2020 1:42 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Conditionalizing Markdown
- Replies: 1
- Views: 783
Conditionalizing Markdown
We know we can conditionalize Markdown in a DITA map by specifying a filtering attribute on the md topicref, but is there a way to conditionalize content within a markdown file so that @audience="internal", for example, winds up in the corresponding DITA element? Is there a way to pass thr...
- by kirkilj
- Tue Sep 08, 2020 3:42 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Editor Variable to ExecuteCommandLineOperation return
- Replies: 5
- Views: 2546
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: 1425
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
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: 1425
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: 12
- Views: 4295
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,"'",':...
- by kirkilj
- Sun May 24, 2020 9:05 pm
- Forum: Other Issues
- Topic: Custom Editor Variable using xpath_eval and doc function
- Replies: 12
- Views: 4295
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
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: 2859
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: 2859
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: 2546
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: 2859
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?
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: 2546
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: 2859
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: 2092
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 ...
- by kirkilj
- Fri May 15, 2020 2:38 am
- Forum: Feature Request
- Topic: Generate a dependency hierarchy for FO attribute sets
- Replies: 1
- Views: 1122
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: 2092
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: 1567
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: 12
- Views: 4295
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: 12
- Views: 4295
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: 12
- Views: 4295
Re: Custom Editor Variable using xpath_eval and doc function
Thanks Radu.
That did the trick!
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: 12
- Views: 4295
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/...
- by kirkilj
- Tue Mar 10, 2020 8:13 pm
- Forum: Other Issues
- Topic: Using doc function in an xpath_eval "variable"
- Replies: 1
- Views: 1077
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: 3893
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: 1743
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: 1743
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: 1150
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...
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service