[xsl] saxon 7.6.5 in SMLSpy 5 rel. 4 and xsl:result-document

Subject: [xsl] saxon 7.6.5 in SMLSpy 5 rel. 4 and xsl:result-document
From: "Kloeck, Erwin" <Erwin.Kloeck@xxxxxx>
Date: Thu, 18 Sep 2003 14:07:16 +0200

I am using XMLSpy 5 rel. 4 and saxon 7.6.5 as XSLT Processor.
I do this with the following instruction in Tools > Options... > XSL

	java -cp D:\Programme\net\sourceforge\saxon\7.6.5\saxon7.jar net.sf.saxon.Transform -o %2 %1 %3

I am using j2sdk1.4.2.

When I process the following xsl file from within XMLSpy, I get no error message but I also
don't get the file "concat.result.xml". Everything works as expected when I call saxon from the comand line.

Anybody know what I'd doing wrong?

Thanks a lot.


------------ concat.xsl ------------

<?xml version="1.0" encoding="UTF-8"?>
<?xmlspysamplexml D:\projects\ehecatl\web\xml\concat.xml?>
	<xsl:output name="xml-format" method="xml" indent="yes"/>
	<xsl:template match="/">
		<xsl:result-document href="concat.result.xml" format="xml-format" >
			<xsl:text disable-output-escaping="yes">
			<xsl:for-each select="/concat/file">
				<xsl:copy-of select="document(@source)"/>
			<xsl:text disable-output-escaping="yes">

------------ concat.xml ------------

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="D:\projects\ehecatl\web\xml\concat.xsl"?>
  <file source="file1.xml"/>
  <file source="file2.xml"/>
  <file source="file3.xml"/>


Erwin Kloeck

Oestreicher + Wagner 
Medientechnik GmbH
Frankenthaler Strasse 20
D-81539 Muenchen

Fon   +49 (0)89-68961 216 
Fax   +49 (0)89-68961 271

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread