Search found 6333 matches

by Radu
Wed Jun 19, 2019 6:52 am
Forum: Other Issues
Topic: German tag names in English user interface
Replies: 5
Views: 289

Re: German tag names in English user interface

Hi Susanne, Indeed in recent Oxygen versions we added this extra CSS stylesheet which shows static texts translated to the xml:lang used in the topic: OXYGEN_INSTALL_DIR\frameworks\dita\css\core\-i18n-de.css For example if you remove all its contents the selectors will no longer be applied. Of cours...
by Radu
Tue Jun 18, 2019 4:04 pm
Forum: Other Issues
Topic: German tag names in English user interface
Replies: 5
Views: 289

Re: German tag names in English user interface

Hi Susanne,

Is it possible that in the DITA topic XML content you have the xml:lang attribute set on the root element to "de-DE"?

Regards,
Radu
by Radu
Tue Jun 18, 2019 3:20 pm
Forum: Common Problems
Topic: Code template no longer working after update to 21.1
Replies: 3
Views: 283

Re: Code template no longer working after update to 21.1

Hi,

Just to update this thread, we fixed the problem in the latest minor bug fix release available on our web site.

Regards,
Radu
by Radu
Tue Jun 18, 2019 2:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA Map MS Office Word transformation scenario: resolving xref
Replies: 6
Views: 411

Re: DITA Map MS Office Word transformation scenario: resolving xref

Hi,

I'm sorry but it's hard to try and determine what changes took place between two versions of a third party plugin we are bundling. The changes I originally gave should work with the DITA OT 3.x bundled with Oxygen 21.1.

Regards,
Radu
by Radu
Tue Jun 18, 2019 1:28 pm
Forum: Other Issues
Topic: display code right to left look in text mode for xml
Replies: 1
Views: 106

Re: display code right to left look in text mode for xml

Hi,

What XML vocabulary are you using?
Are you editing in the Text or in the Author visual editing mode? The Author visual editing mode should be better for editing right to left content, for example you can try to open the file:

OXYGEN_INSTALL_DIR\samples\unicode\bidi\rice-he.dita

Regards,
Radu
by Radu
Tue Jun 18, 2019 9:01 am
Forum: Other Issues
Topic: xinclude pointing to other eXist collections
Replies: 1
Views: 113

Re: xinclude pointing to other eXist collections

Hi,

Usually in such cases you could try using relative references like "../common/common.xml". If this does not work, maybe you can ask around on the Exist Users mailing List, see how others are handling similar usecases.

Regards,
Radu
by Radu
Tue Jun 18, 2019 8:58 am
Forum: XSLT and FOP
Topic: Page-Break in a table
Replies: 5
Views: 297

Re: Page-Break in a table

Hi,

You can probably try to come up with a small XSL-FO sample document exemplifying the problem and post a question on the Apache FOP users list.

Regards,
Radu
by Radu
Fri Jun 14, 2019 11:42 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA-OT 3.3 and XSLT 3.0
Replies: 1
Views: 166

Re: DITA-OT 3.3 and XSLT 3.0

Hi John,

Yes, you should be able to use XSLT 3.0 constructs in your stylesheets.

Regards,
Radu
by Radu
Thu Jun 13, 2019 9:16 pm
Forum: XSLT and FOP
Topic: font-family not working when running XSL-FO via XProc
Replies: 3
Views: 424

Re: font-family not working when running XSL-FO via XProc

Hi Martin, We are not very familiar with using XProc to generate PDF. Are you using Apache FOP for this or the XEP formatter? How did you set this up? Can you also give us a sample XProc script to test on our side. For Apache FOP there usually can be specified a "fop.xconf" configuration file which ...
by Radu
Thu Jun 13, 2019 8:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA Map MS Office Word transformation scenario: resolving xref
Replies: 6
Views: 411

Re: DITA Map MS Office Word transformation scenario: resolving xref

Hi, Looking at the XSLT stylesheet: Oxygen XML Editor/frameworks/dita/DITA-OT2.x/plugins/com.elovirta.ooxml/docx/word/document.topic.xsl it seems to have that XSLT template I suggested you to change: <xsl:template match="*[contains(@class, ' topic/topic ')]/ *[contains(@class, ' topic/title ')]" nam...
by Radu
Thu Jun 13, 2019 8:14 pm
Forum: XSLT and FOP
Topic: Page-Break in a table
Replies: 5
Views: 297

Re: Page-Break in a table

Hi, Usually to add a page break inside XSL-FO I add a new fo:block looking something like this: <fo:block page-break-before="always"/> If this does not work inside table cells, maybe depending on the FO processor used to create the PDF from XSL-FO (Oxygen uses Apache FOP by default) you could regist...
by Radu
Thu Jun 13, 2019 8:05 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Bibliography.dita example / bibliolist result
Replies: 2
Views: 163

Re: Bibliography.dita example / bibliolist result

Hi David, As far as I know (but we are not using bibliographies in our user's docs) DITA does not special element names for creating bibliographies so you will need to use the DITA regular tags (bold, italic, underline, links, lists) to create the bibliographical topic. You can also try to register ...
by Radu
Thu Jun 13, 2019 7:25 pm
Forum: General XML Questions
Topic: Global XML Attribute Change Possible?
Replies: 5
Views: 280

Re: Global XML Attribute Change Possible?

Hi, These constructs are regular expressions implemented in Java based closely on PERL based expressions. They should work and can also be tested in the Oxygen Find/Replace dialog: https://www.oxygenxml.com/doc/versions/21.1/ug-editor/topics/regular-expressions.html In your case you should probably ...
by Radu
Thu Jun 13, 2019 6:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Use of <foreign> for embedding HTML content into topics
Replies: 5
Views: 210

Re: Use of <foreign> for embedding HTML content into topics

Hi David,

I also missed it a couple of times :) But once you said the HTML was not produced at all, it meant that somehow the fragment was not a well formed XHTML content so I took another close look at it.

Regards,
Radu
by Radu
Thu Jun 13, 2019 1:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Use of <foreign> for embedding HTML content into topics
Replies: 5
Views: 210

Re: Use of <foreign> for embedding HTML content into topics

Hi David,

Probably this occurs because instead of using "</span>" to end the tag you used "<span>".
So the XML should have looked like this:

Code: Select all

<foreign outputclass="html-embed"><![CDATA[<span class="span_test">test</span>]]></foreign>
Regards,
Radu
by Radu
Wed Jun 12, 2019 9:05 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Eclipse auto update
Replies: 1
Views: 118

Re: Eclipse auto update

Hi Wayne, A third party Eclipse plugin can add a dependency on the Oxygen plugin and impose a set of fixed options when our plugin starts. I think you should also ask Ixiasoft about this, from what I remember you are not the first company requesting this so they may have something in our own Eclipse...
by Radu
Wed Jun 12, 2019 9:00 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Use of <foreign> for embedding HTML content into topics
Replies: 5
Views: 210

Re: Use of <foreign> for embedding HTML content into topics

Hi David,

What specifically breaks in the topic rendering? Maybe you should open the equivalent generated HTML topic in Oxygen and see if there is anything fishy in there in the way in which the span inside the CDATA was preserved.

Regards,
Radu
by Radu
Fri Jun 07, 2019 8:08 am
Forum: SDK-API, Frameworks - Document Types
Topic: Unresolved Keyref
Replies: 1
Views: 216

Re: Unresolved Keyref

Hi Krishna, By adding your own Author extension state listener you inhibited the default Author extension state listener used in the DITA Map framework Java extensions. The workaround would be to extend directly the DITA Map extensions bundle (located in the dita.jar): public class DITAMapExtBundleE...
by Radu
Fri Jun 07, 2019 8:00 am
Forum: General XML Questions
Topic: Can OxygenXML batch relocate XML Blocks?
Replies: 8
Views: 336

Re: Can OxygenXML batch relocate XML Blocks?

Hi, For moving the "referencedApplicGroup" before "description" custom XML refactoring XSLT stylesheet would look like this: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0"> <xsl:template match="n...
by Radu
Fri Jun 07, 2019 7:50 am
Forum: General XML Questions
Topic: Can XML Refactoring convert an element to an attribute?
Replies: 2
Views: 125

Re: Can XML Refactoring convert an element to an attribute?

Hi, The XSLT stylesheet for a custom XML refactoring operation could look something like this: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0"> <xsl:template match="node() | @*"> <xsl:copy> <xsl:a...
by Radu
Fri Jun 07, 2019 7:44 am
Forum: General XML Questions
Topic: How to disable MSXML output escaping?
Replies: 1
Views: 89

Re: How to disable MSXML output escaping?

Hi, Maybe you could have given a small example with the characters which are escaped. XSLT processors need to produce valid XML content. So usually various characters like "<" and "&" are required to be escaped in the produced XML text otherwise the produced XML content would not be valid. Regards, ...
by Radu
Fri Jun 07, 2019 7:41 am
Forum: Common Problems
Topic: Updating read only file background color
Replies: 1
Views: 122

Re: Updating read only file background color

Hi, With that CMS are you using Oxygen? Oxygen has APIs which can be called by a CMS to make it read-only. Indeed if the editing area is made read-only this does not change by default the background of the opened XML documents. There is a small lock icon which appears on the editor tab and editing s...
by Radu
Fri Jun 07, 2019 7:28 am
Forum: Other Issues
Topic: Suppressing Certain Validation Errors
Replies: 1
Views: 128

Re: Suppressing Certain Validation Errors

Hi, There is a possibility to add an Oxygen plugin which filters out errors before they are presented but as the errors are reported by Oxygen because a Subject Scheme map has imposed a fixed set of values for that specific attribute, I think that it's best to talk to the maintainers of the Subject ...
by Radu
Thu Jun 06, 2019 2:15 pm
Forum: XSLT and FOP
Topic: Remove multiline comments
Replies: 8
Views: 419

Re: Remove multiline comments

Hi, Quoting from one of my previous replies: Also you should first check if your XML document is wellformed. On the Oxygen toolbar there is a "Validate" drop-down button which has a "Check Well-Formedness" action. If the action reports problems, then you will not be able to apply XSLT over the XML d...
by Radu
Thu Jun 06, 2019 11:22 am
Forum: General XML Questions
Topic: Adding Matching Tags using XML Refactoring
Replies: 4
Views: 207

Re: Adding Matching Tags using XML Refactoring

Hi, You should try to use the "Wrap element" pre-defined XML refactoring action. The target element should be "symbol" and the wrapper element should be "para" with empty namespace (if your XML does not specify a namespace). About these remarks: Additionally, how do I instruct OxygenXML to skip over...
by Radu
Thu Jun 06, 2019 11:09 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Integrating REST API Reference (OpenAPI) with DITA
Replies: 1
Views: 140

Re: Integrating REST API Reference (OpenAPI) with DITA

Hi, You have quite an interesting use case. The DITA Open Toolkit allows adding plugins, plugins which would pre-process referenced JSON files to DITA. For example if in a topicref in the DITA Map you would refer to a JSON file: <topicref href="test.json" format="json"/> a DITA Open Toolkit plugin c...
by Radu
Thu Jun 06, 2019 10:52 am
Forum: SDK-API, Frameworks - Document Types
Topic: JS Plugin causes java.lang.ClassCastException when Oxygen is closed.
Replies: 1
Views: 121

Re: JS Plugin causes java.lang.ClassCastException when Oxygen is closed.

Hi Andreas, Please add to your Javascript file also this function: function applicationClosing(pluginWorkspaceAccess) { } because Oxygen tries to call it when it is closing and as it is not there, it issues that error. I will make changes in our code so that we never throw that strange error when th...
by Radu
Thu Jun 06, 2019 10:48 am
Forum: General XML Questions
Topic: Can OxygenXML batch relocate XML Blocks?
Replies: 8
Views: 336

Re: Can OxygenXML batch relocate XML Blocks?

Hi, Looking at the refactor.xsl content I posted, I forgot to post the last line in the file, it should be like this: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0"> <!-- Copy anything unchanged ...
by Radu
Thu Jun 06, 2019 10:42 am
Forum: XSLT and FOP
Topic: Remove multiline comments
Replies: 8
Views: 419

Re: Remove multiline comments

Hi Samba, The regular expression example I gave you matches content multi line. About using an array like structure, you probably need to use a programming language like Java, apply the regexp in the Java code and keep the results in an array for further processing. Maybe you can ask around on Stack...
by Radu
Wed Jun 05, 2019 2:32 pm
Forum: Common Problems
Topic: Schematron rules for moving the position of an element
Replies: 2
Views: 125

Re: Schematron rules for moving the position of an element

Hi,

An example of an XML refactoring action which moves an element as a child of its preceding sibling can be found here:

viewtopic.php?p=54141#p54126

Regards,
Radu