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: 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


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