Search found 10 matches

by aaron
Mon Oct 24, 2022 7:26 pm
Forum: XSLT and FOP
Topic: Local variables/parameters in XSpec
Replies: 2
Views: 1017

Re: Local variables/parameters in XSpec

Brilliant, thanks Adrian! :D
by aaron
Sat Oct 22, 2022 2:03 am
Forum: XSLT and FOP
Topic: Local variables/parameters in XSpec
Replies: 2
Views: 1017

Local variables/parameters in XSpec

I'm trying to better understand local variables/parameters in XSpec. My XSL adds 'chunk="to-content"' to a bookmap element if the global parameter 'output-format' has value "pdf". I thought the below would pass testing for both scenarios, by having the output-format parameter ins...
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: 714

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 legislatio...
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: 1808

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: 1808

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: 1808

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 aut...
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: 1808

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...
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: 1483

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 worki...
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: 1483

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: 1294

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