Search found 909 matches

by chrispitude
Fri May 05, 2023 4:03 pm
Forum: Feature Request
Topic: Fast way to get total count of found items, resources, and sources
Replies: 3
Views: 614

Re: Fast way to get total count of found items, resources, and sources

If you save the results as XML as Radu suggested, here is a stylesheet that computes the total number of matches and the files with the most matches: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="h...
by chrispitude
Fri May 05, 2023 3:28 am
Forum: Feature Request
Topic: Accept/Reject all changes in map
Replies: 18
Views: 10091

Re: Accept/Reject all changes in map

Hi Adrian, I wonder if this could be implemented using a refactoring operation, which could then be run on DITA map hierarchy scopes, previewed, given options to control aspects of the operation (keep/remove comments, etc.)? We use @rev attributes (instead of "Track Changes"), and we have ...
by chrispitude
Wed May 03, 2023 3:10 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: chunk="to-content" used along with keyref doesn't resolve properly in the temp files.
Replies: 1
Views: 297

Re: chunk="to-content" used along with keyref doesn't resolve properly in the temp files.

Hi Koushik, This seems like more of a DITA-OT question than an Oxygen question. You could consider asking on the DITA-OT mailing list here: https://groups.google.com/g/dita-ot-users However, DITA-OT 1.8.5 is quite old and I think it will be difficult for others to spend time debugging this issue if ...
by chrispitude
Wed May 03, 2023 2:55 pm
Forum: Common Problems
Topic: Calling java method through schematron throwing error
Replies: 9
Views: 1036

Re: Calling java method through schematron throwing error

Hi Roopesh, Here is a testcase that calls the new keyref APIs introduced in Oxygen v25.1: api_testcase_for_roopesh.zip To try them out, 1. Open the OPENME1.xpr file in Oxygen v25.1. 2. Open the OPENME2.ditamap file in the DITA Maps Manager. 3. Open a topic in the Book A or Book B submap. 4. Hover yo...
by chrispitude
Wed May 03, 2023 1:43 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: xref with keyref in a Topic file is not resolving properly in the temp files.
Replies: 4
Views: 480

Re: xref with keyref in a Topic file is not resolving properly in the temp files.

HI Koushik,

Just curious - does the latest DITA-OT publish this properly? If so, then this is a bug with the older DITA-OT and there probably is not much you can do about it (other than modify the DITA-OT code yourself to fix it).

- Chris
by chrispitude
Wed May 03, 2023 12:35 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: HTML generated even for non referenced topic
Replies: 9
Views: 851

Re: HTML generated even for non referenced topic

Hi ML,

Great work figuring out your issue!

And Cosmin's suggestion for enabling the output directory cleanup parameter was also a good best practice for WebHelp.
by chrispitude
Tue May 02, 2023 2:50 pm
Forum: Common Problems
Topic: Calling java method through schematron throwing error
Replies: 9
Views: 1036

Re: Calling java method through schematron throwing error

Hi Roopesh,

If you want a small testcase that demonstrates the API that Radu mentioned, I can provide it.
by chrispitude
Tue May 02, 2023 1:25 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: audience filter behavior when ditaval file is not found during publishing
Replies: 6
Views: 583

Re: audience filter behavior when ditaval file is not found during publishing

Hi Radu,

Hopefully any such improvements would apply to the Oxygen Publishing Engine as well as to Oxygen itself!
by chrispitude
Tue May 02, 2023 1:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: HTML generated even for non referenced topic
Replies: 9
Views: 851

Re: HTML generated even for non referenced topic

Hi ML,

If this is reduced down to just a few files, can you post the testcase archive so we can take a look?
by chrispitude
Mon May 01, 2023 1:09 pm
Forum: Other Issues
Topic: validating large amounts of complex XML data in real-time
Replies: 2
Views: 581

Re: validating large amounts of complex XML data in real-time

Hi John,

I don't know the answers to your questions (it's an interesting task!), but you might also consider posting your question on the XSLT mailing list:

XSL-List – Open Forum on XSL

- Chris
by chrispitude
Sat Apr 29, 2023 3:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: audience filter behavior when ditaval file is not found during publishing
Replies: 6
Views: 583

Re: audience filter behavior when ditaval file is not found during publishing

Hi pclaeys, I also think that a missing DITAVAL file is serious enough that it should stop the transformation. I tried setting the processing-mode parameter to strict and I was surprised that this did not stop the transformation. Can you try it on your side and confirm? Perhaps it's a DITA-OT bug. T...
by chrispitude
Sat Apr 29, 2023 2:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Ensure https in WebHelp Responsive Output?
Replies: 2
Views: 362

Re: Ensure https in WebHelp Responsive Output?

Hi Katy, The navigation links in your WebHelp help collection should all be relative links. A guess is that maybe if your web browser defaults to opening links with "http://", then the browser keeps using that as the relative links are followed. How are you initially opening the help in yo...
by chrispitude
Sat Apr 29, 2023 2:44 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: HTML generated even for non referenced topic
Replies: 9
Views: 851

Re: HTML generated even for non referenced topic

Hi LASSE_MLE, This is sometimes not an easy issue to figure out. If you have an accidental <xref href="..."/> into an unwanted topic file, the DITA-OT will include that topic in the publishing output. It will also include any further topic files referenced by that one, and so on. This can ...
by chrispitude
Sat Apr 29, 2023 2:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Turning off collapsible sections in wehbelp
Replies: 24
Views: 3820

Re: Turning off collapsible sections in wehbelp

Hi doctissimus, CSS rules with more selectors have more "specificity" and thus take precedence: CSS - Specificity so if you set the display property back to its regular value for the desired objects, that should take precedence over the no-object rule. For CSS selectors of the same specifi...
by chrispitude
Wed Apr 26, 2023 2:27 pm
Forum: Feature Request
Topic: Feature/tutorial requests: WebHelp Responsive Output
Replies: 3
Views: 790

Re: Feature/tutorial requests: WebHelp Responsive Output

Hi Katy, The following site also contains a variety of WebHelp publishing template techniques: Oxygen Publishing Template Samples Inside the templates/ directory, there are many subdirectories, with each one describing a particular technique for customizing WebHelp. You can include one or more of th...
by chrispitude
Mon Apr 24, 2023 11:11 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Turning off collapsible sections in wehbelp
Replies: 24
Views: 3820

Re: Turning off collapsible sections in wehbelp

Would it be enough to hide the button via CSS in the undesired cases?

Code: Select all

/* hide the expand/collapse button for tables */
table > caption > .wh_expand_btn {
    display: none;
}
by chrispitude
Wed Apr 19, 2023 2:50 pm
Forum: Other Issues
Topic: How to create a new element in oxygen using xsd
Replies: 2
Views: 488

Re: How to create a new element in oxygen using xsd

Hi Shiney,

Is this a DITA document or some other type of XML document?
by chrispitude
Wed Apr 19, 2023 2:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Is there an Oxygen setting that automatically removes empty attributes from DITA topics?
Replies: 10
Views: 1060

Re: Is there an Oxygen setting that automatically removes empty attributes from DITA topics?

Hi gchale3rd, For each of these attributes, you should be able to use Oxygen's built-in Delete attribute refactoring operation as follows: image.png where attribute-name is the name of the attribute to process here: Element: *[@attribute-name = ' '] Attribute: attribute-name You can Preview the refa...
by chrispitude
Mon Apr 17, 2023 1:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Refactoring tool to apply table borders
Replies: 7
Views: 964

Re: Refactoring tool to apply table borders

Hi Sathya, If all your tables use the same border/separator format, and you are using a CSS-based PDF or HTML transformation, then it might be better to apply a default table formatting in CSS and not have to worry about the table attributes. If most of your tables have a common default format but s...
by chrispitude
Sun Apr 16, 2023 12:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Refactoring tool to apply table borders
Replies: 7
Views: 964

Re: Refactoring tool to apply table borders

Hi Sathya,

You can probably use the Add/Change attribute refactoring operation to set the @frame, @rowsep, and @colsep attributes as needed.

Can you describe specifically what separators you are looking for?

- Chris
by chrispitude
Sat Apr 15, 2023 8:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Is there an Oxygen setting that automatically removes empty attributes from DITA topics?
Replies: 10
Views: 1060

Re: Is there an Oxygen setting that automatically removes empty attributes from DITA topics?

Hi gchale3rd,

I haven't seen that "Choose the topic audience" before; it might be something custom configured in your environment.

What specific action do you perform in Oxygen to show this dialog?

- Chris
by chrispitude
Fri Apr 14, 2023 4:39 am
Forum: Feature Request
Topic: Feature Request: Have an Oxygen project obtain all profiling condition information from DITAVAL file
Replies: 11
Views: 2832

Re: Feature Request: Have an Oxygen project obtain all profiling condition information from DITAVAL file

There is a tricky aspect to EXM-47205 when DITA profiling attribute groups are used. Consider the following @product values: <p product="synthesis(A)">This is for synthesis product A.</p> <p product="synthesis(B)">This is for synthesis product B.</p> <p product="simulation(W...
by chrispitude
Thu Apr 13, 2023 4:40 pm
Forum: Common Problems
Topic: Searches for quoted phrases are matching topics with no such phrase
Replies: 8
Views: 1315

Re: Searches for quoted phrases are matching topics with no such phrase

Hi Beniamin,

Thanks on both counts! Those sneaky matches distributed across punctuation, line breaks, and stop words are indeed tricky to find. Thanks for filing the issue for the partial word match, and hopefully some improvements can be made with the unexpected distributed matches too.

- Chris
by chrispitude
Thu Apr 13, 2023 12:33 pm
Forum: Common Problems
Topic: Searches for quoted phrases are matching topics with no such phrase
Replies: 8
Views: 1315

Re: Searches for quoted phrases are matching topics with no such phrase

Hi again Beniamin, To apply the knowledge you gave me, I decided to make a more realistic testcase based on our production content. Given a quoted search for "layout new", I took the expected matching topic and five unexpected matching topics, then I ran an XML find-and-replace within elem...
by chrispitude
Thu Apr 13, 2023 10:32 am
Forum: Common Problems
Topic: Searches for quoted phrases are matching topics with no such phrase
Replies: 8
Views: 1315

Re: Searches for quoted phrases are matching topics with no such phrase

Hi Beniamin, Thank you for identifying the root cause of the search matches! I now understand that the search algorithm is working as designed. However, perhaps it could be improved. Recall that the user's expectation when searching for a quoted phrase is to return instances of that exact phrase. To...
by chrispitude
Thu Apr 13, 2023 4:05 am
Forum: Feature Request
Topic: Feature Request: Have an Oxygen project obtain all profiling condition information from DITAVAL file
Replies: 11
Views: 2832

Re: Feature Request: Have an Oxygen project obtain all profiling condition information from DITAVAL file

We currently have six Git repos (soon to be somewhere between 8-10 repos). In each repo, we store DITAVAL files in the following locations: dita/_common/_ditaval/ - identical DITAVAL files across repos (for @rev highlighting, @audience highlighting, etc.) dita/_warehouse/_ditaval/ - repo-specific DI...
by chrispitude
Tue Apr 11, 2023 4:59 pm
Forum: Common Problems
Topic: Searches for quoted phrases are matching topics with no such phrase
Replies: 8
Views: 1315

Searches for quoted phrases are matching topics with no such phrase

We have gotten feedback that sometimes WebHelp searches for quoted phrases will return topics that contain words in the phrase, but not that phrase in its entirety. For example, in the attached testcase, a search for "user function" returns the following results: image.png but only the sec...
by chrispitude
Mon Apr 10, 2023 2:07 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Flattening URL link for my online help
Replies: 5
Views: 654

Re: Flattening URL link for my online help

Hi Sitrakar,

What I was trying to say is that you can probably use rewrite rules with WebHelp to do what you want in the future when both of those items have been fixed, bu you can't do it today. Both items need to be fixed first - one in the DITA-OT itself, and one in WebHelp.

- Chris
by chrispitude
Fri Apr 07, 2023 2:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: New Chemistry error
Replies: 3
Views: 491

Re: New Chemistry error

You could also try opening the CSS file in the Oxygen editor to look for red validation errors for syntax issues.
by chrispitude
Fri Apr 07, 2023 2:37 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Flattening URL link for my online help
Replies: 5
Views: 654

Re: Flattening URL link for my online help

Hi Sitrakar, This is a characteristic of how the DITA Open Toolkit itself publishes DITA to HTML output. During the transformation, DITA input files are transformed to HTML output files. This behavior is pretty fundamental to how the transformation works. There is a rewrite rule feature in the DITA-...