Hi Maria and Wendell,
I am using Xalan from XMLSpy too, and it works fine as I explained in my
email (xalan -o %2 %1 %3)
Maybe the point is that I am using Xalan-C++ (32-bit Windows build, version
1.4.0), but not Xalan-J, as it seems to be your case. In that case, it would
be mainly an XMLSpy problem (it seems it cannot execute an XSLT engine
having the Java mahine in the middle!)
I do not know whether are there differences between them or not, whether it
is better to use one or the other, ... Nevertheless Xalan-C++ is by far much
efficient than Altova's XSLT engine and it works fine for the kind of
"situations" I use to tackle. If you have problems to set-up Xalan-J in
XMLSpy, maybe you can give Xalan-C++ a try.
I hope this helps,
Regards / Saludos,
Ángel
-----Original Message-----
From: Maria Amuchastegui [mailto:mamuchastegui(_at_)to(_dot_)epost(_dot_)ca]
Sent: 04 May 2005 20:20
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] XMPSpy and Xalan
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>
--~--
______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial
en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando
prohibida su divulgacion copia o distribucion a terceros sin la
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential
information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed.
Any unauthorised copy, disclosure or distribution of this message
is strictly forbidden. If you have received this transmission in error,
please notify the sender immediately and delete it.
______________________
--~------------------------------------------------------------------
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>
--~--