Search found 140 matches

by xephon
Sat Mar 12, 2022 4:43 pm
Forum: Feature Request
Topic: Find Direction
Replies: 4
Views: 1062

Re: Find Direction

+1
by xephon
Tue Mar 01, 2022 5:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Determining Elements that Exceed a Given Word Count
Replies: 3
Views: 645

Re: Determining Elements that Exceed a Given Word Count

Hi,

You should create a Schematron rule and validate your map. The Schematron rule should use the document() function to step into all topics and validate the <shortdesc> elements.

Best regards
by xephon
Thu Dec 09, 2021 3:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Fetching subject scheme description to CSS/LESS author view
Replies: 1
Views: 622

Fetching subject scheme description to CSS/LESS author view

Hi, is it possible to fetch the <navtitle> via author view CSS/LESS? In this example, I'd like to show the full document type name "Installation Manual" as defined in the assigned subject scheme map in the author view. image.png <subjectdef keys="installation-manual"> <topicmeta>...
by xephon
Mon Sep 27, 2021 2:51 pm
Forum: Feature Request
Topic: Add new menu
Replies: 1
Views: 815

Add new menu

Hi,

I'd like to create a new menu, which is not tied to a specific framework, like "Help". This menu should always appear and not only when I'm editing a file of a specific type.

Thanks a lot
Stefan
by xephon
Mon Sep 27, 2021 2:44 pm
Forum: Other Issues
Topic: Line breaks in
Replies: 1
Views: 977

Line breaks in

Hi, I have a very long command line with various $ask editor variables to model an Apache Ant based document wizard. The code works fine, but it is not very pretty formatted. Is there a trick to have line breaks and indentations in this window without creating an invalid command line? Thanks image.p...
by xephon
Sat Sep 04, 2021 8:45 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Git Branch Manager
Replies: 14
Views: 3745

Re: Git Branch Manager

This is an interesting discussion. We’ll implement a similar setup with technical writers who are neither familiar with XML nor with Git. Because the Git addon is so limited in functionality, we’ll define a specific role, something like “release manager”, who is good in Git. A technical writer will ...
by xephon
Wed Jul 07, 2021 7:38 am
Forum: General XML Questions
Topic: Concat 2 element's values and revise them
Replies: 5
Views: 1706

Re: Concat 2 element's values and revise them

You match on category/@name. Maybe this is not what you want to do. Probably you need an <xsl:apply-templates/> somewhere. Difficult to say without seeing your full code.
by xephon
Fri Jul 02, 2021 10:25 pm
Forum: General XML Questions
Topic: Concat 2 element's values and revise them
Replies: 5
Views: 1706

Re: Concat 2 element's values and revise them

Hi s0n1k, you can use this snippet: <?xml version="1.0" encoding="UTF-8"?> <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:templat...
by xephon
Mon Jun 28, 2021 7:38 am
Forum: SDK-API, Frameworks - Document Types
Topic: How best to distribute custom DITA-OT plugins to team of content writers
Replies: 3
Views: 1373

Re: How best to distribute custom DITA-OT plugins to team of content writers

Hi, I usually provide the whole customized DITA-OT as a ZIP file and not each plugin separately. This toolkit is available on SharePoint. With a button the technical writer can download it on demand and extract it. This is done via an ant script. In this script I check the timestamp of the toolkit f...
by xephon
Tue May 11, 2021 7:50 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Integrate oXygen content with Salesforce Knowledge
Replies: 11
Views: 4073

Re: Integrate oXygen content with Salesforce Knowledge

Salesforce integration is a must for us as well. I've read the API docs and felt that this should be doable as an Ant target. If you are investigating this, Oxygen team, please add my vote. I need this as a DITA transformation target endpoint in a few months. If you don't have a Salesforce environme...
by xephon
Thu Jul 09, 2020 7:06 pm
Forum: XSLT and FOP
Topic: Schematron validation by using multiple documents
Replies: 2
Views: 1501

Re: Schematron validation by using multiple documents

Sure, I've forgotten that function. This has helped. Thank you, Radu.
by xephon
Thu Jul 09, 2020 11:36 am
Forum: XSLT and FOP
Topic: Schematron validation by using multiple documents
Replies: 2
Views: 1501

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...
by xephon
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: 2812

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&...
by xephon
Sat Nov 10, 2018 11:30 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Publishing Swagger Spec in DITA
Replies: 4
Views: 2425

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...
by xephon
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: 4796

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...
by xephon
Fri Oct 20, 2017 8:27 am
Forum: SDK-API, Frameworks - Document Types
Topic: Hot links in schematron error messages
Replies: 20
Views: 7928

Re: Hot links in schematron error messages

The right way is to use the "see" attribute on the rule element.
by xephon
Thu Oct 19, 2017 1:21 pm
Forum: Other Issues
Topic: Author action to search and replace in file using regex
Replies: 1
Views: 1862

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
by xephon
Sat Sep 09, 2017 5:21 pm
Forum: General XML Questions
Topic: Tesing number of decimal digits in schematron
Replies: 2
Views: 2982

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"...
by xephon
Fri Jun 23, 2017 7:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Can you confirm my reuse strategy?
Replies: 5
Views: 2857

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...
by xephon
Fri Jun 23, 2017 9:44 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Can you confirm my reuse strategy?
Replies: 5
Views: 2857

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...
by xephon
Thu Mar 09, 2017 9:11 am
Forum: General XML Questions
Topic: Need workaround for lookarounds in XPATH regex
Replies: 3
Views: 3094

Re: Need workaround for lookarounds in XPATH regex

It works perfectly.

You made my day, thanks a lot. :D
by xephon
Wed Mar 08, 2017 7:44 pm
Forum: General XML Questions
Topic: Need workaround for lookarounds in XPATH regex
Replies: 3
Views: 3094

Re: Need workaround for lookarounds in XPATH regex

When I feel lost, you always pull a rabbit out of a hat. :wink:
by xephon
Wed Mar 08, 2017 2:15 pm
Forum: General XML Questions
Topic: Need workaround for lookarounds in XPATH regex
Replies: 3
Views: 3094

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...
by xephon
Fri Feb 03, 2017 1:35 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Embed Impress.js in DITA topic
Replies: 4
Views: 3258

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
by xephon
Mon Dec 19, 2016 1:35 am
Forum: XSLT and FOP
Topic: Schematron to comment out a set of nodes
Replies: 4
Views: 3828

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...
by xephon
Wed Dec 14, 2016 11:36 am
Forum: XSLT and FOP
Topic: Schematron to find plural keywords
Replies: 4
Views: 3261

Re: Schematron to find plural keywords

I'd search for a single 's'. Is this only related to plural 's'?
by xephon
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: 2273

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.
by xephon
Wed Nov 02, 2016 6:37 pm
Forum: General XML Questions
Topic: Bypassing missing images without being visible in output
Replies: 5
Views: 4447

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
by xephon
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: 2485

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,...