Subject: msxsl command line transformation trouble
From: bill french <bill@xxxxxxxxxxxxxxxx>
Date: Wed, 18 Apr 2001 13:05:32 -0400
|
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
|