This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: msxsl command line transformation trouble
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] msxsl command line transformation trouble
- From: "David Schach" <davidsch at microsoft dot com>
- Date: Wed, 18 Apr 2001 10:48:04 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
- Thread-Index: AcDIK8rm1wML0S34T+aNKH7LV3Jk6wAAy5Ow
- Thread-Topic: [xsl] msxsl command line transformation trouble
It's not a control character. The output is unicode.
-----Original Message-----
From: bill french [mailto:bill@nascentstate.com]
Sent: Wednesday, April 18, 2001 10:06 AM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] msxsl command line transformation trouble
hello,
using the msxsl command line transformation tool seems to be working ok,
with the exception of one thing. the output (both to standard out and to
a file) contains a control character between every other character. i'd
appreciate any help at all. see below:
oh yeah - i'm using msxml3 as my parser.
my xml doc:
<?xml version="1.0" standalone="no"?>
<?xml-stylesheet href="display-stuff.xsl" rel="stylesheet"
type="text/xsl"?>
<staff>
<employee>
<first-name>xxx</first-name>
<last-name>yyy</last-name>
<mobile-phone>xxx-yyy-zzzz</mobile-phone>
</employee>
<employee>
<first-name>xxx</first-name>
<last-name>yyy</last-name>
<mobile-phone>xxx-yyy-zzzz</mobile-phone>
</employee>
<employee>
<first-name>xxx</first-name>
<last-name>yyy</last-name>
<mobile-phone>xxx-yyy-zzzz</mobile-phone>
</employee>
</staff>
my xsl doc:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/staff">
<html>
<head><title>employees</title></head>
<body bgcolor="#ffffff">
<xsl:for-each select="employee">
<h3><xsl:value-of select="first-name" /><xsl:text>
</xsl:text><xsl:value-of select="last-name" /></h3>
phone number: <xsl:value-of select="mobile-phone" /><br />
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list