Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
I'm in the process of writing an ACL script that will compose using XSL. The script is working as expected except for the stylesheet selection. I need to be able to set the stylesheet using relative paths but it's not working. Is there a trick to relative paths in Arbortext's ACL?
Here a snippet of the code:
require comp_usingxsl;
require compose;
readvar -TITLE 'IMM Translation'\
-prompt 'Select the Section to Translate:'\
-choice 'Maintenance'\
maint\
-choice 'Illustrated Parts Breakdown'\
ipb\
-choice 'Wiring Diagrams'\
wire\
if ($ipb)
{
$myparams["stylesheet"]="../doctypes/imm/" . "tr_ipc.xsl";
$myparams["outputFile"]="ipc.xml";
}
compose::compose_using_xsl(current_doc(),$myparams);
response("Translation complete.")
Any help would be greatly appreciated. I'm a rookie when it comes to ACL.
Sarah