cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

PE says "composer 'XSL' not installed on PE server

naglists
1-Newbie

PE says "composer 'XSL' not installed on PE server

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
5 REPLIES 5

Hi Paul--

Set type to "xsl" instead of "XSL" and see if that makes a difference. Maybe PE is being moody because it thinks you're shouting at it. 🙂

--Clay

I tried that. PE returned a syntax error.


If I run it peservices=off, I can use "XSL" or "xsl". If I use a "bad"
stylesheet, it errors (this is peservices=off) and mentions the path to the
XSL.ccf in Editor's ..composer folder. PE has that file and folder too
albeit in a slightly different path.


Maybe try calling compose::compose_using_xsl(doc, params) instead of compose::compose_for_type()?

That's what I'm talking about ...

Thanks, Clay.


Top Tags