Hi again,

I found where to change the text label, but I can't get it to work. Here is 
what I did. Perhaps you can tell me what I am doing incorrectly?

In my DITA task topic, I coded this after the <prereq> element and before the 
<steps> element:

<context> <!-- Fast path for advanced users -->
                                                <ol>
                                                                <li>Open the 
View Cash Control page.</li>
                                                                <li>Specify 
search criteria on the Search tab.</li>
                                                                <li>View JV 
transactions on the Details tab.</li>
                                                </ol>
                </context>


I added this line to the en.xml file:

<message name="context">Procedure summary </message>

When I use the XSL Utility (5.1.0) to convert the DITA source to DOCX, I get 
this fatal error:

fatal error reported by the XSLT engine: A sequence of more than one item is 
not allowed as the first argument of string() (<message/>, <message/>) ; 
SystemID: 
file:/C:/Program%20Files%20(x86)/XMLmind_XSL_UtilityPro5_1/addon/config/dita/xsl/common/commonUtil.xsl;
 Line#: 664; Column#: -1
cannot transform "S:\ITS\dita_galaxy\output\FinancialManuals\Test.ditac" to 
"S:\ITS\dita_galaxy\output\FinancialManuals\Test.fo" using 
file:/C:/Program%20Files%20(x86)/XMLmind_XSL_UtilityPro5_1/addon/config/dita/xsl/fo/its_custom_fo.xsl:
 A sequence of more than one item is not allowed as the first argument of 
string() (<message/>, <message/>)
java.lang.RuntimeException: Conversion "DitaToDocx_gweb" has failed with exit 
code 5.

The file converted properly and with no errors before I added the <message> 
element above to the en.xml file.  I don't understand what the fatal error 
message means. I attached a copy of the en.xml file so you could see the whole 
file.

Thank you,
Julie





From: Julie McHam
Sent: Friday, March 13, 2015 2:53 PM
To: [email protected]
Subject: Changing task labels

Hi Hussein.

How would I change the text of the labels that appear in a DITA task topic?  
Specifically, I want to change the <abstract> element label from "About this 
task" to "Procedure summary".

Thank you,
Julie

Julie McHam
Technical Writer
Riverside County Office of Education
Division of Administration and Business Services
Information Technology Services
951-826-6800
FAX: 951-826-6451

Attachment: en.xml
Description: en.xml

--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to