When I submit the job non interactively. If I choose File > Publish > Using
XSL it works fine.
The compose::compose_for_type() works if peservices=off.
What am I forgetting?
Here's the actual code:
# $myparams["stylesheet"]="C:/custom/doctypes/mytype/createlinkbase.xsl";
$myparams["stylesheet"]="E:/Program Files/PTC/Arbortext
PE/custom/doctypes/mytype/createlinkbase.xsl";
$myparams["outputFile"]= "C:/linkbases/linkbase.xml";;
type = "XSL";
interactive = 0;linkbase_success = compose::compose_for_type(current_doc(),
$type, $interactive, $myparams)
The commented stylesheet line works when peservices=off. The uncommented
stylesheet line fails when peservices=on. The error:
ERROR Error: composer 'XSL' not installed on PE server
--
Paul Nagai