[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
FW: [xsl] multiple output files in xslt 1.0
Subject: FW: [xsl] multiple output files in xslt 1.0 From: Bas Alberts <bas.alberts@xxxxxxxxxxxx> Date: Thu, 16 Aug 2001 14:01:58 +0200 |
Oops! My apologies everybody. I used <xsl:apply XSL="source.xml" xsl="transform.xsl"/> instead of <xsl:apply XML="source.xml" xsl="transform.xsl"/>. Won't happen again. Greetings, bas.alberts@xxxxxxxxxxxx -----Original Message----- From: Bas Alberts [mailto:bas.alberts@xxxxxxxxxxxx] Sent: Thursday, August 16, 2001 12:27 To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' Subject: RE: [xsl] multiple output files in xslt 1.0 Importance: High Hi Jay I'm afraid your version doesn't work either. It would have supprised me too, because I don't really use the content of the source XML document. Are you using the same environment I am? If you are, the problem is more likely to be my configuration settings. Greetings, bas.alberts@xxxxxxxxxxxx -----Original Message----- From: jay@xxxxxxx [mailto:jay@xxxxxxx] Sent: Thursday, August 16, 2001 12:19 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] multiple output files in xslt 1.0 I tried your example like this: <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:redirect="org.apache.xalan.xslt.extensions.Redirec t" extension-element-prefixes ="redirect" > <xsl:output method="text" omit-xml-declaration="yes" /> <xsl:template match="/dummy"> <xsl:text>Before redirect.</xsl:text> <redirect:write file="redirecteds.txt" method="text"> <xsl:text>Inside redirected.txt</xsl:text> </redirect:write> <xsl:text>After redirect.</xsl:text> </xsl:template> </xsl:stylesheet> with the xml doc you gave and it worked just fine. It looks like you are one node too high in your call. Hope it helps, Jay Hebert XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] multiple output files in , Bas Alberts | Thread | [xsl] Question about MSXML3 and tra, Ulf Carlsson |
Re: [xsl] getting XSL to output XSL, Gary Frederick | Date | Re: [xsl] Evaluating XPath expressi, Jeni Tennison |
Month |