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(_at_)mulberrytech(_dot_)com]
Sent: Wednesday, May 04, 2005 12:27 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_at_)mulberrytech(_dot_)com
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
======================================================================
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--