RE: [xsl] XMPSpy and Xalan

Subject: RE: [xsl] XMPSpy and Xalan
From: Maria Amuchastegui <mamuchastegui@xxxxxxxxxxx>
Date: Wed, 4 May 2005 14:19:50 -0400
I am able to invoke the transformation from the command line with the
following:

java org.apache.xalan.xslt.Process -IN C:\WEB-INF\xml\inbox.xml -XSL
C:\WEB-INF\xsl\en\0006\mail\current_activity.xsl -OUT
C:\Stylesheets\current_activity.html

However, when I configure XMLSpy with the following, I get an error message
that the syntax is incorrect 
(xalan -o %2 %1 %3, where %1 equals XML input, %2 equals output, and %3
equals XSL):

xalan -o C:\Stylesheets\current_activity.html C:\WEB-INF\xml\inbox.xml
C:\WEB-INF\xsl\en\0006\mail\current_activity.xsl

xalan -IN C:\WEB-INF\xml\inbox.xml -XSL
C:\WEB-INF\xsl\en\0006\mail\current_activity.xsl -OUT
C:\Stylesheets\current_activity.html

Maria



-----Original Message-----
From: Wendell Piez [mailto:wapiez@xxxxxxxxxxxxxxxx] 
Sent: Wednesday, May 04, 2005 12:27 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] XMPSpy and Xalan

At 09:37 AM 5/4/2005, it was written:
>Use the following menu: Tools -> Options and then the XSL tab. Check 
>the "External XSL Transformation program" and enter the following 
>command
>
>xalan -o %2 %1 %3
>
>This will work provided that xalan is in your PATH.

I'm not a regular Spy user, but to me this looks like the syntax for
invoking Saxon.

Wouldn't Xalan be invoked as

xalan -IN input.xml -XSL stylesheet.xsl -OUT output.file

?

(Unless "xalan" isn't just Xalan....)

It's worth checking if there's a problem.

Cheers,
Wendell


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
   Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Current Thread