Search found 8 matches

by aaron
Mon Feb 01, 2021 6:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA filtering with default content
Replies: 1
Views: 223

DITA filtering with default content

Say I have the sets of paragraphs: <p audience="ANSI">According to ANSI legislation ... </p> <p>Refer to local legislation.</p> <p audience="OSHA">According to OSHA legislation ... </p> <p audience="ISO">According to ISO legislation ... </p> <p>Refer to local legislation.</p> If published for use in...
by aaron
Mon Dec 07, 2020 12:55 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Unable to find target for conref in map - conrefImpl.xsl, line 296
Replies: 6
Views: 572

Re: Unable to find target for conref in map - conrefImpl.xsl, line 296

Thanks Chris,

I didn't know this was available - Unfortunately the application my company uses (which has Oxygen embedded) doesn't use "pure" DITA and doesn't support conkeyrefs. :(
by aaron
Mon Nov 30, 2020 7:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Unable to find target for conref in map - conrefImpl.xsl, line 296
Replies: 6
Views: 572

Re: Unable to find target for conref in map - conrefImpl.xsl, line 296

Excellent, thanks Radu.

I put in the conref values. I'll see if I can use a ph inside the mainbook title but I dont think the CMS system we use allows it.

BR,
Aaron
by aaron
Thu Nov 26, 2020 9:36 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Unable to find target for conref in map - conrefImpl.xsl, line 296
Replies: 6
Views: 572

Re: Unable to find target for conref in map - conrefImpl.xsl, line 296

Hi Radu, Conref (in a topic): <title><ph conref="001-1X00376012.ditamap#X00376012/main_book_title"/></title> Target (in a bookmap): <mainbooktitle id="main_book_title" class="- topic/ph bookmap/mainbooktitle ">Testing SS3 on SS2 bookmap</mainbooktitle> In the Oxygen author window, the conref resolve...
by aaron
Wed Nov 25, 2020 2:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Unable to find target for conref in map - conrefImpl.xsl, line 296
Replies: 6
Views: 572

Unable to find target for conref in map - conrefImpl.xsl, line 296

Hi, I have had an issue trying to conref to a mainbooktitle. Searching through the OT files, I have found the problem occurs on line 296 of conrefImpl.xsl (OT :3.5.4) <xsl:when test="exists($elemid)"> <xsl:sequence select="key('id', $elemid)[contains(@class, $lastClassToken)][ancestor::*[contains(@c...
by aaron
Tue Nov 10, 2020 3:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: project files param to PATH environment variable
Replies: 4
Views: 642

Re: project files param to PATH environment variable

Hello Julien, In the DITA OT I can use several types of file for configuring an output; properties (.properties), project (.xml, not .xpr) and publishing template (.opt) In a properties file I can simply use "AHFCmd.exe" as the OT checks the PATH environment variable. But this wasn't working with OT...
by aaron
Wed Oct 28, 2020 4:44 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: project files param to PATH environment variable
Replies: 4
Views: 642

project files param to PATH environment variable

In a properties file, if I want to reference an .exe in the PATH environment variable all I need to do give the exe file name, e.g.: css.processor.path.antenna-house = AHFcmd.exe But how do I do this with a parameter in an XML project file? Using AHFcmd.exe with both href and path tries to find the ...
by aaron
Fri May 22, 2020 7:19 pm
Forum: Common Problems
Topic: Error with fn:collection() returning xs:base64Binary instead of nodes after updating Oxygen
Replies: 2
Views: 533

Error with fn:collection() returning xs:base64Binary instead of nodes after updating Oxygen

The code below was working fine yesterday - prior to updating my Oxygen version from 22.0 to 22.1 . <xsl:for-each select="collection('DITA/?select=*.dita*')"> <data filename="{tokenize(document-uri(.), '/')[last()]}"> </xsl:for-each> Now I am getting the error XPTY0004; "The required item type of th...