Search found 100 matches
- Thu Jul 09, 2020 7:06 pm
- Forum: XSLT and FOP
- Topic: Schematron validation by using multiple documents
- Replies: 2
- Views: 422
Re: Schematron validation by using multiple documents
Sure, I've forgotten that function. This has helped. Thank you, Radu.
- Thu Jul 09, 2020 11:36 am
- Forum: XSLT and FOP
- Topic: Schematron validation by using multiple documents
- Replies: 2
- Views: 422
Schematron validation by using multiple documents
Hi, is it possible in a DITA environment to use data from other topics when validating a topic? map +- topic-a +- topic-b When validating topic-b, I'd like to look in topic-a if a certain element with a certain value exists, if yes, do something. If this does not work, could you give me a hint how y...
- Sat Nov 10, 2018 11:55 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Usage of high resolution images in PDF
- Replies: 4
- Views: 1512
Re: Usage of high resolution images in PDF
Hi Ben, please try, if the following attribute set fixes the scaling issues: <xsl:attribute-set name="blockImage"> <xsl:attribute name="content-width">scale-to-fit</xsl:attribute> <xsl:attribute name="content-height">100%</xsl:attribute> <xsl:attribute name="width">100%</xsl:attribute> <xsl:attribut...
- Sat Nov 10, 2018 11:30 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Publishing Swagger Spec in DITA
- Replies: 4
- Views: 1382
Re: Publishing Swagger Spec in DITA
Hi Janette, what Radu probably means is that the forum ist primarily Reader by oXygen employees. If you want to get in contact with the users, the mailing list may be the better communication channel. What might be interesting for you is the DITA glass project to convert the Swagger stuff on the fly...
- Wed Mar 21, 2018 10:36 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: XML to XML transformation with Feature Differentiation (ditaval)
- Replies: 10
- Views: 2898
Re: XML to XML transformation with Feature Differentiation (ditaval)
Hi B-E-N , you should give Maxprograms Fluenta DITA Translation Manager a try. It creates an XLIFF file for you, which you can send to the translator. You pass a DITA Map and a DITAVAL file to Fluenta, so it performs some kind of publishing for you. When you receive the translated XLIFF file, Fluent...
- Fri Oct 20, 2017 8:27 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Hot links in schematron error messages
- Replies: 4
- Views: 2269
Re: Hot links in schematron error messages
The right way is to use the "see" attribute on the rule element.
- Thu Oct 19, 2017 1:21 pm
- Forum: Other Issues
- Topic: Author action to search and replace in file using regex
- Replies: 1
- Views: 1309
Author action to search and replace in file using regex
Hi,
I'd like to format my document by applying multiple regular expressions, preferably in text mode (not in author mode). (How) is this possible?
Greetings,
Stefan
I'd like to format my document by applying multiple regular expressions, preferably in text mode (not in author mode). (How) is this possible?
Greetings,
Stefan
- Fri Sep 22, 2017 9:26 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: PDF creation /scalefit issue
- Replies: 2
- Views: 1344
- Sat Sep 09, 2017 5:21 pm
- Forum: General XML Questions
- Topic: Tesing number of decimal digits in schematron
- Replies: 2
- Views: 2019
Re: Tesing number of decimal digits in schematron
Hi Ewa, this should work The test counts the chars after the '.'. <?xml version="1.0" encoding="UTF-8"?> <sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2" xmlns:sqf="http://www.schematron-quickfix.com/validator/process"> <sch:pattern> <sch:rule context="measurement"> ...
- Fri Jun 23, 2017 7:06 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Can you confirm my reuse strategy?
- Replies: 5
- Views: 1732
Re: Can you confirm my reuse strategy?
Hi Ann, it's our solution to work around DITA-OT issues. For example, if you mix your reuse mechanisms with keyrefs and conkeyrefs, the DITA-OT might break at some point. As I said, this procedure clutters the root directories of our projects, but it simplifies the processing. / ├── ProductA │ ├── C...
- Fri Jun 23, 2017 9:44 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Can you confirm my reuse strategy?
- Replies: 5
- Views: 1732
Re: Can you confirm my reuse strategy?
Hi, your strategy looks good so far. You might get problems when reusing maps and go up and down the file hierarchy too often. You will probably break the Toolkit at some point. You should always keep an eye on the log, whether there are any warnings. We now keep all publication maps and container m...
- Thu Mar 09, 2017 9:11 am
- Forum: General XML Questions
- Topic: Need workaround for lookarounds in XPATH regex
- Replies: 3
- Views: 2080
Re: Need workaround for lookarounds in XPATH regex
It works perfectly.
You made my day, thanks a lot.
You made my day, thanks a lot.

- Wed Mar 08, 2017 7:44 pm
- Forum: General XML Questions
- Topic: Need workaround for lookarounds in XPATH regex
- Replies: 3
- Views: 2080
Re: Need workaround for lookarounds in XPATH regex
When I feel lost, you always pull a rabbit out of a hat. 

- Wed Mar 08, 2017 2:15 pm
- Forum: General XML Questions
- Topic: Need workaround for lookarounds in XPATH regex
- Replies: 3
- Views: 2080
Need workaround for lookarounds in XPATH regex
Hi, it seems, that the <sqf:stringReplace/> regular expressions (in XSLT/Schematron) do not support lookarounds. I need to find a solution for matching words, that are not part of another string. Without lookarounds (e.g. foo(?=\s) ), this seems to get very ugly. e.g., when trying to match 'foo', th...
- Fri Feb 03, 2017 1:35 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Embed Impress.js in DITA topic
- Replies: 4
- Views: 2316
Re: Embed Impress.js in DITA topic
Hi @mhGLEIF,
I'm developing the plugin. Please follow the instructions on Github and read the documentation in Confluence. If you need support, please ask a question here or create a Github issue.
Hope you'll enjoy it,
Greetings,
Stefan
I'm developing the plugin. Please follow the instructions on Github and read the documentation in Confluence. If you need support, please ask a question here or create a Github issue.
Hope you'll enjoy it,
Greetings,
Stefan
- Mon Dec 19, 2016 1:35 am
- Forum: XSLT and FOP
- Topic: Schematron to comment out a set of nodes
- Replies: 4
- Views: 2582
Re: Schematron to comment out a set of nodes
Hey Scott, try this: <sch:pattern id="comment"> <sch:rule context="*[contains(@class, ' topic/p ')]"> <sch:report test="contains(text(), 'foo')" sqf:fix="comment"> Don't use paragraphs </sch:report> <sqf:fix id="comment"> <sqf:description> <sqf:title>Comment</sqf:title> </sqf:description> <sqf:repla...
- Wed Dec 14, 2016 11:36 am
- Forum: XSLT and FOP
- Topic: Schematron to find plural keywords
- Replies: 4
- Views: 2189
Re: Schematron to find plural keywords
I'd search for a single 's'. Is this only related to plural 's'?
- Thu Nov 24, 2016 3:52 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Customizing the PDF file name on output
- Replies: 3
- Views: 1446
Re: Customizing the PDF file name on output
You can use the outputFile.base parameter to do this, see http://www.dita-ot.org/2.4/parameters/p ... s-pdf.html. To be more flexible, you maybe should simply rename the file with your build target. If you parse your map metadata, you can define your own patterns.
- Wed Nov 02, 2016 6:37 pm
- Forum: General XML Questions
- Topic: Bypassing missing images without being visible in output
- Replies: 5
- Views: 3453
Re: Bypassing missing images without being visible in output
Hi John,
maybe you could use a Schematron rule to check the href value and force the user by error message/quickfix to set the required filter attributes on that element. Would that help?
Greetings,
Stefan
maybe you could use a Schematron rule to check the href value and force the user by error message/quickfix to set the required filter attributes on that element. Would that help?
Greetings,
Stefan
- Thu Oct 27, 2016 10:39 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Inconsistency in the oXygen XML Editor UI
- Replies: 4
- Views: 1562
Re: Inconsistency in the oXygen XML Editor UI
Hi, I'm no native speaker, but I'd suggest to keep Insert After for the reasons Radu explained. Remember where the action occurs and in that context, Insert After makes more sense. If you think of XPath axes, Append Sibling is too unspecific. You then have to say Append Following Sibling . But then,...
- Thu Oct 20, 2016 10:35 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Implement a button to open a keyref
- Replies: 2
- Views: 1145
Re: Implement a button to open a keyref
Wow, again the JSOperation-Swiss-Knife
Works awesome, thanks Alex!

Works awesome, thanks Alex!
- Wed Oct 19, 2016 10:33 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Implement a button to open a keyref
- Replies: 2
- Views: 1145
Implement a button to open a keyref
Hi, it is possible to simulate a button to open a DITA keyref with plain CSS: *[keyref]:before { link : oxy_concat("" , attr(keyref , keyref)) ; content : uri(../../img/link.png) "[" attr(keyref) "]" ; text-decoration-line : underline ; } Is it possible to do the same thing with a oxy_button ? Greet...
- Fri Sep 23, 2016 12:11 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Predefined values in "ask" variable
- Replies: 2
- Views: 1113
Re: Predefined values in "ask" variable
Hi Radu,
damn
Thanks anyway
Greetings,
Stefan
damn

Thanks anyway
Greetings,
Stefan
- Thu Sep 22, 2016 10:08 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Predefined values in "ask" variable
- Replies: 2
- Views: 1113
Predefined values in "ask" variable
Hi, I have a custom parameter in the plugin.xml of my plugin: <transtype name="termchecker-dita" extends="html5" desc="Termchecker for DITA"> <param name="args.language" desc="Language of the terminology check rules" type="enum"> <val>af</val> <val>ar-AE</val> <val>ar-BH</val> <val>ar-DZ</val> <val>...
- Wed Sep 14, 2016 5:19 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: XSLTOperation should not expand @class
- Replies: 3
- Views: 1499
Re: XSLTOperation should not expand @class
Hi Radu, thanks for your reply. While reading more about modes, I figured out, that I could simply avoid the processing of the attribute by using match="@class" . So I came up with: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http...
- Wed Sep 14, 2016 12:23 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: XSLTOperation should not expand @class
- Replies: 3
- Views: 1499
XSLTOperation should not expand @class
Hi, I have a simple ro.sync.ecss.extensions.commons.operations.XSLTOperation for sorting DITA elements. After applying the XSL transformation, the @class attributes are expanded. Because we use DITA, we cannot deactivate the Saxon -expand parameter, because otherwise, elements cannot be selected wit...
- Tue Sep 13, 2016 10:04 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Compare map and topic values
- Replies: 3
- Views: 1083
Re: Compare map and topic values
Hi Radu,
alright, thanks. So, there is no option to get the DITA Map that is opened in the DITA Maps Manager?
Greetings,
Stefan
alright, thanks. So, there is no option to get the DITA Map that is opened in the DITA Maps Manager?
Greetings,
Stefan
- Mon Sep 12, 2016 9:03 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Compare map and topic values
- Replies: 3
- Views: 1083
Compare map and topic values
Hi, I have a DITA Map with a topic reference, that has a filter attribute, for example @foo : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"> <map id="map"> <title>DITA Topic Map</title> <topicref href="topic.dita" foo="bar"/> </map> The topic has ...
- Thu Sep 08, 2016 11:03 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: author action for executing commands/scripts
- Replies: 5
- Views: 3658
Re: author action for executing commands/scripts
Hi Radu,
for the new author operation, it would be nice, if you also could pass some variables, like ${pd} to call a command in a specific directory.
Greetings,
Stefan
for the new author operation, it would be nice, if you also could pass some variables, like ${pd} to call a command in a specific directory.
Greetings,
Stefan
- Tue Sep 06, 2016 6:37 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: author action for executing commands/scripts
- Replies: 5
- Views: 3658
Re: author action for executing commands/scripts
Hi Radu,
awesome
This is a cool workaround, thanks a lot!
Glad to head, that <oXygen/> again evolves as I expect it to be.
Greetings,
Stefan
awesome


Glad to head, that <oXygen/> again evolves as I expect it to be.

Greetings,
Stefan