This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: running msxml3 from command line


After a little investigation on the dirtoftp.xslt stylesheet the problem is
with the xml:space="preserve" on the template <xsl:template match="/"
xml:space="preserve">
I added this as the only way to get all 3 (xt,saxon,msxml) to output crlf
between

<xsl:template match="/">open <xsl:value-of select="$host" />
<xsl:value-of select="$username" />
<xsl:value-of select="$password" />

I tried this

<xsl:template match="/">open <xsl:value-of select="$host" />
<xsl:text>
</xsl:text>
<xsl:value-of select="$username" />
<xsl:text>
</xsl:text>
<xsl:value-of select="$password" />
<xsl:text>
</xsl:text>

but only xt and saxon honoured the crlf (ok lf). msxml STILL doesn't honour
the crlf.
Does anyone know I can solve this?

TIA Chris


>-----Original Message-----
>From: owner-xsl-list@mulberrytech.com
>[mailto:owner-xsl-list@mulberrytech.com]On Behalf Of Chris Bayes
>Sent: 31 July 2000 21:05
>To: xsl-list@mulberrytech.com
>Subject: RE: running msxml3 from command line
>
>
>I can't say without seeing your docs but that is an error from the parser
>itself not the script. I just installed the july release and am getting odd
>errors on stylesheets that did run on the last one. See
>dirtoftp.xslt. Works
>fine in xt and saxon and the last release but spits the dummy with
>Keyword xsl:apply-templates may not contain PCDATA nodes.
>ho hum
>
>>-----Original Message-----
>>From: owner-xsl-list@mulberrytech.com
>>[mailto:owner-xsl-list@mulberrytech.com]On Behalf Of Sebastian Rahtz
>>Sent: 31 July 2000 12:11
>>To: xsl-list@mulberrytech.com
>>Subject: running msxml3 from command line
>>
>>
>>Chris Bayes writes:
>> > sheesh i can't type
>> > oh well it is friday evening and i should be down the pub
>> > http://www.bayes.co.uk/xml/index.xml?/xml/utils/translate.xml
>> >
>>does this work for anyone? the Microsoft IE5.5 + July update which I
>>just installed says that its an invalid XML declaration
>>
>>sebastian
>>
>>
>> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]